Description

A low-effort mod for learning basic modding adding a nice treat to the game.

Preview
[DLTX] Scho-Ka-Kola (UPDATE 1)
Post comment Comments
TheWorstDude
TheWorstDude - - 81 comments

More damn chocolate to strengthen up my character's morale while stuck in an anomaly field...
Perfect!

Reply Good karma Bad karma+7 votes
AVEismaschine
AVEismaschine - - 264 comments

Not only that, but chocolate with so much caffeine in it that one piece is on par with a cup of coffee if I recall correctly. Like if you ate a whole tin you'd actually be in physical danger.

Reply Good karma Bad karma+1 vote
BadaBoom_0325
BadaBoom_0325 - - 583 comments

Just like small medkit pack in Call of Duty 1! (I know it was this chocolate, but with white cross)

Reply Good karma Bad karma+3 votes
supra107 Author
supra107 - - 78 comments

I have tried to make a basic in-game model for the item in Blender, but after trying to load the item with the changed .ogf the game crashes. If anyone knows how to make a new item model and properly add it to the game, please let me know how to do it, since that's the one thing that this mod really misses from being a complete package. :)

Reply Good karma+2 votes
mp5lng
mp5lng - - 7,996 comments

might still be a helpful reply.

Export bone skeleton from any vanilla item with a similar design, do that using GUI converter or any tool that allows such a thing, than load said file through sdk onto your new object.

Reply Good karma Bad karma+2 votes
Vovka35
Vovka35 - - 97 comments

Dear author) Tell me how to create dltx mods. Do you have videos/screenshots?

Reply Good karma Bad karma+2 votes
supra107 Author
supra107 - - 78 comments

The way I do it is that I make a standard LTX mod using extracted files and then run it through DLTXify, which is a tool given by the creator of DLTX to convert standard LTX mods into DLTX ones. I have set up a simple PowerShell script that resides in the Mod Organizer 2 folder, which takes a name of a standard mod, finds the folder with that name, and turns that mod into a DLTX one. This can also be used to turn existing mods into DLTX ones, or at least their LTX part.

This is the script and the tool with all the default 1.5.1 configs. Extract the .LTXDiff folder into your Mod Organizer 2 mods folder, the one in which MO2 actually installs the mods. Then you run the ltxdiff.ps1 script and enter the name of the mod you want to DLTXify. Dropbox.com

Reply Good karma+1 vote
Vovka35
Vovka35 - - 97 comments

Thank you, friend, for clarifying and providing your tool.
But I got a problem:
C:\Users\tvova> .\ltxdiff.exe dltxify $root "..\$str" "$str2"
.\ltxdiff.exe :The name '.ltxdiff.exe' is not recognized as the name of a cmdlet, function, script file, or executable program
. Check the spelling of the name and the presence and correctness of the path, then try again.
string:1 character:1
+ .\ltxdiff.exe dltxify $root "..\$str" "$str2"
+ ~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (.\ltxdiff.exe:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException

Reply Good karma Bad karma+1 vote
supra107 Author
supra107 - - 78 comments

Sounds like the script isn't finding the file that's supposed to be in the same directory as the script. Check if everything is extracted, if it matches the following tree hierarchy, and also check if the script's working directory is the same as the folder in which you're running the script. The folder "Anomaly" is the Base directory as stated in Mod Organizer 2.
Dl.dropboxusercontent.com

Reply Good karma+1 vote
Vovka35
Vovka35 - - 97 comments

Is there any difference where MO2 should be installed? Maybe there is a special version for Anomaly MO2? I have MO2 2.4.4 installed in C: directory but mods folder in E:Game

The script worked, I just ran it in the wrong place. Only question now - where does the dltx mod data appear after running the script?

PS E:GameAnomaly 1.5.1mod.LTXDiff> $root = 'Anomaly Configs'
PS E:GameAnomaly 1.5.1mod.LTXDiff> Write-Host ' LTXDiff DLTXify ' -ForegroundColor Green -BackgroundColor DarkGreen
LTX Diff DLTXify
PS E:GameAnomaly 1.5.1mod.LTXDiff>Write-Host

PS E:GameAnomaly 1.5.1mod.LTXDiff> $str = read-host 'Artefact_renovation_1_5_1_v2_1'
Artefact_renovation_1_5_1_v2_1: $str2 = $str.ToLower()
PS E:GameAnomaly 1.5.1mod.LTXDiff> $str2 = $str2 -replace ' ', '_'
PS E:GameAnomaly 1.5.1mod.LTXDiff> $str2 = $str2 -replace '-', '_'
PS E:GameAnomaly 1.5.1mod.LTXDiff> $str2 = $str2 -replace '', '
PS E:GameAnomaly 1.5.1mod.LTXDiff> .ltxdiff.exe dltxify $root '..$str' '$str2'
LTXDiff diff [base directory] [mod directory] [relative path to root file] [options]
Prints a list of differences between the base and the mod directory, formatted to be ready to be used by DLTX

LTXDiff findroot [base directory] [mod directory] [relative path to file]
Determines the root ltx file that a given file belongs to

LTXDiff dltxify [base directory] [mod directory] [mod name] [options]
Writes a fully usable DLTX-usable version of a mod

LTXDiff parse [directory] [options]
Checks the formatting of every LTX file in the directory and prints errors when mistakes are found

options:
[dltxify] --force-overwrite, -f: If files that need to be written are already present, overwrite them without warning.
[dltxify] --copy-all, -c: Copies Non-LTX files into the output mod folder aswell.
[diff, dltxify, parse] --no-typo-tolerance, -t: Typos in LTX files will not be corrected
PS E:GameAnomaly 1.5.1mod.LTXDiff> Write-Host -NoNewLine 'Press any key to exit...';
Press any key to exit...
PS E:GameAnomaly 1.5.1mod.LTXDiff> $null = $Host.UI.RawUI.ReadKey('NoEcho,IncludeKeyDown');

Reply Good karma Bad karma+1 vote
supra107 Author
supra107 - - 78 comments

I only showed a relative example of how my MO2 instance is set up. The base directory in MO2 in my case is D:/Games/Utilities/Mod Organizer 2/Anomaly. You'll have to navigate to the one which you've specified yourself, and in it you should have folders like downloads, mods, overwrite. Extract the .LTXDiff folder to the mods folder, as the script is designed to run from that directory and operate on folders in that directory. Basically extract the .LTXDiff folder as if it was an addon folder. After you run the script and it ends up running properly, the DLTXified mod should show up in a folder with the same name, but with "_DLTX" added to the end of it. Oh yeah, and don't turn the .LTXDiff folder on in MO2, it's not meant to be used in MO2. Drop it at the very end of the list and ignore it.

Reply Good karma+1 vote
Vovka35
Vovka35 - - 97 comments

Finally, I got off the brakes and realized what I was doing wrong))) Thank you very much for the wonderful script

Reply Good karma Bad karma+2 votes
Guest
Guest - - 693,752 comments

Russian please?

Reply Good karma Bad karma0 votes
supra107 Author
supra107 - - 78 comments

Извините, я из Польши и мой российский очень плохой.

Reply Good karma+1 vote
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account: