Basic Modding with Playable Examples

This is a discussion on Basic Modding with Playable Examples within the S.T.A.L.K.E.R. SoC Modding, Mapping and Editing forums, part of the S.T.A.L.K.E.R. Shadow of Chernobyl category; Haven't been on the forum for some time. The unique_items.ltx is in gamedata\config\misc any text editor will do. @rspeed thanks....

S.T.A.L.K.E.R. SoC Modding, Mapping and Editing Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot!

Reply
 
LinkBack Thread Tools Rating: Thread Rating: 9 votes, 5.00 average. Display Modes
  #291  
Old October 5th, 2007
Usul_85's Avatar
Zone Recce
 
Join Date: August 6th, 2007
Location: Cape Town
Posts: 12
Rep Power: 0
Usul_85 is a n00b
Default

Haven't been on the forum for some time. The unique_items.ltx is in gamedata\config\misc any text editor will do.

@rspeed thanks.

Last edited by Usul_85; October 5th, 2007 at 07:19 AM..
Reply With Quote
  #292  
Old October 10th, 2007
I'm too cool to Post
 
Join Date: October 10th, 2007
Posts: 2
Rep Power: 0
der_gevater is a n00b
Default [INFO/QUEST] Changing textures for meshes

I just started modding Stalker and would like to know if there is an alternative to hexediting the .ogf mesh files to change the texture?
It's not really a bother, just the names of the original and the new texture have to be the exactly same length it seems. You can even create your own subfolder in /textures, but still... it's a rather crude way imo.

Appreciate any suggestions
Reply With Quote
  #293  
Old October 10th, 2007
rspeed's Avatar
I want to be like the Admins
 
Join Date: May 10th, 2007
Posts: 211
Rep Power: 0
rspeed is a n00b
Default

1. Where is "unique_items itx"?
A: gamedata\config\misc
2. How do I get into it?
A: notepad
@der_gevater, no though its very easy, all you have to do is to replace the original name with a new name and keeping the same number of strings.

i.e. if original meshe is "wpn_mp5" then you new meshe should be "new_mp5"
"new_mp5" would be the name of your new texture "new_mp5.dds" for your unique weapon.
Reply With Quote
  #294  
Old October 11th, 2007
I'm too cool to Post
 
Join Date: October 10th, 2007
Posts: 2
Rep Power: 0
der_gevater is a n00b
Default

thanks. had a look at some meshes this night, but couldn't find a pattern that would allow a little prog to do it.
but hey, it works and oldschool lowtech editing rules anyway, regardless of game
Reply With Quote
  #295  
Old October 11th, 2007
I'm too cool to Post
 
Join Date: October 11th, 2007
Posts: 1
Rep Power: 0
dzadzey is a n00b
Default

One question I have seen, neither asked, nor answered is, "What text editor do you use to open the "gamedata" folder in an unmodded game?" "Notepad" fails because the file is too large and "Wordpad" simply crashes.
Reply With Quote
  #296  
Old October 12th, 2007
I don't spend enough time here
 
Join Date: July 16th, 2007
Posts: 21
Rep Power: 0
Hippy777 is a n00b
Default

you need an unpacker to see and edit the code. you can get it from stalker.filefront.com
Reply With Quote
  #297  
Old October 12th, 2007
I'm too cool to Post
 
Join Date: November 2nd, 2003
Posts: 13
Rep Power: 0
Bungus has disabled reputation
Default

3 Questions

1. SPRINTING SPEED: Is there some value that controls this? I've found run, walk and limp speed, but nothing for sprinting

2. NPC and ITEM DECAY: Bodies remain on the map 36 hours, I've heard. How do you change this?

3. FOOD: What file and lines control how often your character has to eat and how quickly he starves?
Reply With Quote
  #298  
Old November 13th, 2007
I'm too cool to Post
 
Join Date: November 12th, 2007
Posts: 7
Rep Power: 0
kormath is a n00b
Default

Just downloaded patch 1.0005, and it killed all the mods, instant crash when game started. So i moved the game data folder out, extracted a new gamedata folder and am in the process of making my own adjustments to the existing files. I know i've seen this mentioned somehwere in this thread (or thought i did) but what do the numbers in the trade_trader file signify?

For example:
Code:
ammo_11.43x23_hydro   = 1, 3
Does the 1,3 mean 1 box, 3 weight, or?
Reply With Quote
  #299  
Old November 14th, 2007
I'm too cool to Post
 
Join Date: November 12th, 2007
Posts: 7
Rep Power: 0
kormath is a n00b
Question

okay i think i got it figured out why the game is crashing, but i dunno how to fix it. So hopefull someone here can show me where i messed up. After a fresh install of the game and patched with 1.0004, the only files i've edited at this time is the unique_items.ltx file, and the trade_trader.ltx where i added outfit_kormath_m1 = 1, 3 and wpn_kormath_m1 in each section.

suit of armor:
Quote:
[outfit_kormath_m1]:exo_outfit
$spawn = "outfit\uniq\outfit_exo_m1
inv_name = outfit_kormath_m1
inv_name_short = outfit_kormath_m1
description = outfit_kormath_m1
inv_grid_x = 14
inv_grid_y = 24
nightvision_sect = effector_nightvision_good
cost = 5
additional_inventory_weight = 500
power_loss = 0.0
sprint_allowed = true
immunities_sect = sect_outfit_kormath_m1_immunities
burn_protection = 1.0
strike_protection = 1.0
shock_protection = 1.0
wound_protection = 1.0
radiation_protection = 1.0
telepatic_protection = 1.0
chemical_burn_protection = 1.0
explosion_protection = 1.0
fire_wound_protection = 1.0
[sect_outfit_kormath_m1_immunities]
burn_immunity = -1.0
strike_immunity = -1.0
shock_immunity = -1.0
wound_immunity = -1.0
radiation_immunity = -1.0
telepatic_immunity = -1.0
chemical_burn_immunity = -1.0
explosion_immunity = -1.0
fire_wound_immunity = -1.0
Description i just put some junk in to test with but i'll put it here just in case i goofed there too.
Code:
<string id="outfit_kormath_m1">
<text>Test testing testing test</text>
</string>
<string id="kormath_outfit_m1">
<text>Exo-Kormath</text>
</string>
weapon:
Quote:
[wpn_kormath_m1]:wpn_gauss
$spawn = "weapons\wpn-gauss"
description = enc_weapons1_wpn-gauss
inv_name = wpn-kormath_m1
inv_name_short = wpn-kormath_m1
cost = 5
fire_modes = 1, 3
ammo_limit = 1000
ammo_current = 500
ammo_mag_size = 750
ammo_class = ammo_7.62x54_7h14, ammo_7.62x54_ap
sprint_allowed = true
misfire_probability = 0.0
condition_shot_dec = 0.0
hit_power = 12.0, 13.0, 14.0, 15.0
hit_impulse = 6000
fire_distance = 10000
bullet_speed = 15000
rpm = 400
scope_status = 1
scope_zoom_factor = 6
scope_texture = wpn\wpn_crosshair
fire_dispersion_base = 0.005
control_inertion_factor = 1.0f
cam_relax_speed = 0.65
cam_dispersion = 0.002
cam_dispersion_inc = 0.0005
cam_dispertion_frac = 0.004
cam_max_angle = 0.06
cam_max_angle_horz = 0.09
cam_step_angle_horz = 0.005
startup_ammo = 1000
scope_name = wpn_addon_scope_susat
I didn't add a description, mainly because i couldn't find the:
Quote:
string_table_enc_weapons.xml" in the text/eng folder
My text folder only has a map_desc subfolder and the string_table_xxxx.xml files go in order
  1. string_table_enc_equipment
  2. string_table_enc_mutants
  3. string_table_enc_social
  4. string_table_enc_vehicles
  5. string_table_enc_zone
I don't have a weapons.xml in the text folder at all, could that be why it's crashing? i'm not putting in the description for it to look up?

Edit:
almost forgot. My game is crashing while it's loading. I get the THQ grafics at first, then it runs around the gray tunnels/letters and shows that logo, then my screen flickers and i get a small "please wait" window and then the error window. i hit ctrl+c to copy the error, this is what i got:

Expression : xml_doc.NavigateToNode(path,index)
Function : CUIXmlInit::InitStatic
File : E:\stalker\patch_1_0004\xr_3da\xrGame\ui\UIXmlInit .cpp
Line : 172
Description : XML node not found
Arguments : static_version

Last edited by kormath; November 14th, 2007 at 12:27 AM.. Reason: crash info
Reply With Quote
  #300  
Old November 17th, 2007
I'm too cool to Post
 
Join Date: November 17th, 2007
Posts: 1
Rep Power: 0
Mr x is a n00b
Talking Nifty you are a ******* LEDGEND Thx Bro

[quote=niphty;3600151]Well, this should give people a basic start on a weapon by example.



Nifty you really r the man! ,i signed up just to say thank you!!!!!!

i will send you some of my creations as soon as i explore some

decent guns and dicoveries, once again man CHEERS.

easy to understand , and very effective teaching

10 star! later
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
basic modding kathmondar91 DoW Modding and Editing 18 January 21st, 2007 06:39 AM
Basic Modding [Sonic]uk ST:A2 Modding, Mapping and Editing 6 May 31st, 2006 04:50 AM
basic modding utilities/tutorials... Grover ST:SC3 Modding, Mapping and Editing 3 September 23rd, 2004 07:54 PM
Possible Examples McCleod SW:JK3 Modding, Mapping and Editing 0 October 15th, 2003 03:12 PM


All times are GMT -7.