Clear Sky Modding - General Observations -1 reply

Please wait...

khemeher

S.T.A.L.K.E.R. Addict

50 XP

17th September 2008

0 Uploads

117 Posts

0 Threads

#1 10 years ago

Hiya! I've been coming here to get information & downloads for S.TA.L.K.E.R. for over a year now, but this is my very first post. So let me start off by thanking everyone who has worked so hard to post such great mods & useful information. I would specifically like to thank Niphty & Atrocious for their awesome threads on the basics of modding - both of these totally saved my butt & made the whole process of customizing the game ever so much easier. Second of all, I'm not a good programmer. I am an engineer by trade, with some computer programming background, but I never learned C++, JAVA, or even Visual Basic. Everything I know about modding & file management has been learned from trial & error - and from you guys. So if I say something N00bish, please forgive me. With that all said, I've been trying to make some basic changes to Clear Sky to take some of the suck out of the game. The first things I did were to patch the game up to the latest version, install the mod for better accuracy, the mod for less grenade spamming, and the mod to give you some better equipment at the beginning of the game. The mods work great with the 1.5.04 patch. The starting equipment mod also works - all it does is modify a script, so it's an excellent way of giving your character equipment & trying out new gear. I was also able to modify the system.ltx & actor.ltx files in the same way as SoC - thanks again to Niphty for his awesome post, which helped me understand how these files work ALOT better. The third thing I tried to do was to add in some customized armor & weapons. I had alot of success doing this in SoC - and I was a little confused why no one had released any weapon or armor mods in Clear Skies yet - until I tried doing it. Every time I followed the old procedures for altering the unique.ltx file, making text string additions to the in-game text files, etc - every time it crashed my game. And every time it crashed my game the error log said the same thing: Cannot find file for {insert item here} So finally I tried an experiment & used that script I mentioned before to give myself a pre-loaded piece of customized armor at the beginning of the game. This wasn't a modded armor - but one of the unique armors that came with the game, and was listed in the unique.ltx file. I got another error!!! WTF!?!?! So this quickly lead me to the realization that for whatever reason, Clear Skies doesn't reference the unique.ltx file in the gamedata/config/misc folder any more. I have to assume that like so many other things, the developers left this file in the system as an artifact & never bothered to remove it when they added their new stuff. Either that, or because the focus of Clear Skies is on upgrading basic equipment, the need for unique & special gear is gone. Either way...in order to add new equipment to the game, it's necessary to change the way we've been doing it. I'm not sure that this is the best approach....but I found a way that works. I direct you back to Niphty's thread in the SoC forum about modding weapons. He shows us how to create this example: [wpn_niphty_m1]:wpn_gauss $spawn = "weapons\wpn-gauss" description = enc_weapons1_wpn-niphty_m1 inv_name = wpn-niphty_m1 inv_name_short = wpn-niphty_m1 cost = 25 fire_modes = 1 ammo_limit = 1000 ammo_current = 500 ammo_mag_size = 1000 ammo_class = ammo_gauss sprint_allowed = true misfire_probability = 0.0 condition_shot_dec = 0.0 hit_power = 10.10, 10.10, 10.10, 16.60 hit_impulse = 6000 fire_distance = 10000 bullet_speed = 150000 rpm = 500 scope_zoom_factor = 7.5 In that thread, he was directing us to add this listing to the unique.ltx file. As I mentioned before, that won't work anymore - the game simply won't look for it there. Instead, I recommend you add augmented equipment to the original weapon file. So in this case, since this is a modified version of the gauss rifle, you should cut & paste it right to the bottom of the "gamedata/config/weapons: w_gauss.ltx" file. If you do this, then the game will be able to find it, and you'll be back in business!! Likewise for armor, you should cut & paste your modified listings to the bottom of the "gamedata/config/misc: outfit.ltx" file. I'd like to point out that as far as I can tell....that's the only change to adding modified equipment to the game. You still add the descriptive text strings to the appropriate .xml file. If you've re-skinned equipment or developed new sounds & animation - you can simply drop the necessary files into the proper reference folders & they should be called upon by the game when referenced. The only thing that I'm not sure about is whether or not Clear Skies will allow you to recyle the old animation changes. For instance, you can certainly add in the modified armor types from "Lexx's Antigas Mod" but I'm not sure if all the graphical changes will convert over or not. I'm sure I'm not the first person to figure this out....but I know alot of ppl have been asking about this & I haven't located any information anyplace. For those that have been struggling with this problem..I hope this helps!!




khemeher

S.T.A.L.K.E.R. Addict

50 XP

17th September 2008

0 Uploads

117 Posts

0 Threads

#2 10 years ago

Ummm...okay....maybe I am a total idiot afterall.....:eek: I'm sitting here looking at the "system.ltx" file..... If I just add the line: #include "misc\unique.ltx" would that recognize that file & therefore allow me to add weapons into the game? *smacks forehead* I gotta try that when I get home...




Jarvis

Dread pwns me!

50 XP

18th July 2006

0 Uploads

519 Posts

0 Threads

#3 10 years ago

It should do, yeah.

When I first started playing around with weapons and stuff I had SO much trouble trying to figure out why none of my items appeared in game.

Turned out I didn't add an #include for them =p

khemeher;4591949The only thing that I'm not sure about is whether or not Clear Skies will allow you to recyle the old animation changes. For instance, you can certainly add in the modified armor types from "Lexx's Antigas Mod" but I'm not sure if all the graphical changes will convert over or not.

By graphical changes do you mean the meshes? textures? Or the different gas mask hud you get with the different suits?

Oh, and welcome to our little corner :cya:




khemeher

S.T.A.L.K.E.R. Addict

50 XP

17th September 2008

0 Uploads

117 Posts

0 Threads

#4 10 years ago

Thanks for the welcome!! I find that I'm learning alot more just by virtue of reading the forum & participating in the discussion. Even if I sound like an idiot...at least I gain wisdom from the person who corrects me. Seems like every day I get a new idea...makes playing all that much more exciting.