OK, since most of the game is moddable through LTX files, I've figured we could all use a one-stop place for finding variables that change certain things. If I remember it right, SoC had something like this.. In short, I'd ask all modders to post the files/variables that they've found to be usefull and verified that these work. I'll start it, but success of this "library" of variables depends on all of you. If noone posts - there won't be any use from it. Btw, I'm no hardcore modder, and I've just made minor modifications to SoC and few even smaller (so far) in CS. LEGEND: bold text - original text inside ltx files italic text - modding comments and instructions Here is what I've found and verified: # adjusting health and bleeding values for health packs/bandages/food # # should be only applied to items which have these variables in original files # \gamedata\configs\misc\items.ltx [INDENT]; eatable item[/INDENT][INDENT]eat_health = x.xx -> change x.xx to a number for example "0.5" for recovering health by using this item; 1.0 seems to be max value that gets you 100% health and 0.0 gives you no health[/INDENT][INDENT]wounds_heal_perc = x.xx -> change x.xx to a number for example "0.5" for lower the amount of bleeding by using this item; 1.0 seems to be max value that stops all bleeding and 0.0 does nothing[/INDENT] # adjusting range in which detectors find artifacts # # should be only applied to detector items which have this variable in original files # \gamedata\configs\misc\devices.ltx[INDENT]af_vis_radius = x -> change x to a number for example "5" to adjust radius in which artifacts become visible when using artifact detector[/INDENT]OK, that's a start, will be adding some more when I get home, since I need to look into files :) I hope I won't be only one posting..
You can make a weight mod by using only one file.
Find the line max_item_mass and add inv_max_weight =xxx under it.
Make this new line fit your needs, and don't forget to edit the max_walk_weight value a bit further down the file.
The file actor.ltx is read after the system.ltx. The conflicting values are taken from the last file read. Just to keep mods tidy.
Hmm ive never seen that way of editing carry weight, ill try that. Thanks blaktek.
I really like the format you chose for this little guide, its really clear and understandable. Keep them coming :)
Blaktek - thanks for a tip! I had problems with game crashing with the old mods, so I've listened to your advice and made it a one-file modification. It worked! So here is a link to the working mod.. RapidShare: Easy Filehosting Thanks for that tip, I think it had something in it as well :) Though I've changed max_item_mass as well, I think that's how it was in old STALKER
Well, thanks. I came to this because I didn't know how to make a weight mod anymore. :( I opened an npc file, saw the line, and wondered how in hell I didn't have this too.:mad:
Anyway, it works, so it's fine by me.:cool:
Blaktek, that's a nice find :D I'm happy with my 5000kg limit... works juuust fine :) Here are some no-degrade mods from me.. For weapons, open this folder: \gamedata\configs\weapons All weapon files are in here. If you don't know which file is for which weapon, take a look inside this file (also in Notepad): \gamedata\configs\text\eng\st_items_weapons.xml (for example: TRs 301 this means TRs 301 which is a name you can see inside game, is reffered to as lr300 in scripts) So now when you know which file to open, again open in Notepad, and look for these: misfire_probability = 0.xxxxx misfire_condition_k = 0.xxxxx condition_shot_dec = 0.xxxxx ## Some weapons won't have second line - just ignore that ## To make them stop degrading and not jamming - just put all values to "0.0" (no quote marks ofcourse ;) ), save, and that's it! To do the same for outfits, open this file: \gamedata\configs\misc\outfit.ltx Again, all "real" names can be checked in this file here: \gamedata\configs\text\eng\st_items_outfit.xml (just like the weapons have) For example: "Berill-5M" armored suit Meaning Berill5 (which is name shown in te game) is referred to as "specops_outfit" in scripts. Now open the outfit.ltx in Notepad, and look for your suites name, and after you find it, look for these lines (example on Berill-5M which is called specops in scripts: [sect_specops_outfit_immunities] burn_immunity = 0.xx ;ęîýôôčöčĺíňű čěěóíčňĺňŕ ńŕěîăî ęîńňţěŕ strike_immunity = 0.xx shock_immunity = 0.xx wound_immunity = 0.xx radiation_immunity = 0.xx telepatic_immunity = 0.xx chemical_burn_immunity = 0.xx explosion_immunity = 0.xx fire_wound_immunity = 0.xx Ok, now just change all the 0.xx to 0.0 and that's it. Your outfit will always be new! Ofcourse, save the file :) Also, almost all suites have multiple "sets" of these immunities. They are probably used when upgrading. So just set them all to 0.0 and be done with it .. for example, Berill-5M has these sets: [sect_specops_outfit_immunities] ... [sect_specops_outfit_immunities_1] ... [sect_specops_outfit_immunities_2] Hope you'll like it! Btw, I had no crashes or any problems with these mods, if you have any problems write here pls!
I'm pretty sure if you dont edit the system.ltx file also then you will get ctd when changing area's.
blaktek;4600873You can make a weight mod by using only one file. \gamedata\configs\creatures\actor.ltx Find the line max_item_mass and add inv_max_weight =xxx under it. Make this new line fit your needs, and don't forget to edit the max_walk_weight value a bit further down the file. The file actor.ltx is read after the system.ltx. The conflicting values are taken from the last file read. Just to keep mods tidy.
You should change all of this to avoid any crash problems. max_walk_weight in actor.ltx max_weight in system.ltx max_ruck in system.ltx Have all 3 be the same value and you should have NO crash issues, regarding weight mod. Changing all 3 will void any changes made by suits in the game. Also no need to buy a weight upgrade for suits :D
I thought I've described the way to do it (without having crashes) in post #5 You have a link there to mirror with the complete file, and also it's posted on STALKER files: Extra weight mod by Lux (5000kg), Stalker Downloads, Stalker Singleplayer Yes, it's 5000kg mod, but you can lower it to your likings, everything you need to know is in the description/readme.. But to make it quick and easy: changed these lines in actor.ltx: max_item_mass = 5000 ;50.0 inv_max_weight = 5000 max_walk_weight = 5000
That's it. No crashes and I've changed Garbage <->Cordon dozens of times since making this modification, and been to Dark Valley as well. And been doing it with few hundered kilos of guns and ammo and no problems at all... And you're still in only one file. Like blaktek said - it makes mods nice and tidy.