Notices

Go Back   FileFront Forums > The Games! > S.T.A.L.K.E.R. > S.T.A.L.K.E.R. Clear Sky > S.T.A.L.K.E.R. CS Modding, Mapping and Editing

Remember Me?

S.T.A.L.K.E.R. CS 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 Display Modes
Old October 12th, 2008   #1
I'm too cool to Post
 
Join Date: October 12th, 2008
Status: Available
2 posts, 0 likes.
Rep Power: 0
jdude is a n00b
Default Adding new items?

Hello everyone

I want to make a mini-mod which adds a ton of basic items, maybe even ammo. Unfortunately I'm unfamiliar with how Stalker works. I tried looking at the 'basic modding with playable examples' thread which makes everything on the property aspect of a mod clear, however it doesn't state how to add an item.

Basically this is what I want to do first:
I want to create a second bandage that heals your wounds completely. First what I did was unpacked the entire game.

Now I have the file: gamedata/configs/misc/items.ltx

I open it with notepad and I see this near the bottom:

Code:
[bandage]:identity_immunities
GroupControlSection    = spawn_group
discovery_dependency =
$spawn                 = "food and drugs\bandage"
$prefetch             = 8
class                = II_BANDG
cform                = skeleton
visual                = dynamics\devices\dev_bandage\dev_bandage.ogf
description            = st_bandage_descr

inv_name            = st_bandage
inv_name_short        = st_bandage
inv_weight            = 0.05    ;0.2
cost                = 200

inv_grid_width        = 1
inv_grid_height        = 1
inv_grid_x            = 3
inv_grid_y            = 18

; eatable item
eat_health =     0.0
eat_satiety =     0
eat_power =     0.0
eat_radiation = 0.0
wounds_heal_perc = 0.5
eat_portions_num = 1    ;100

; food item
animation_slot        = 4

;hud item
hud = wpn_vodka_hud
Now to make a new bandage, do I just copy and paste the entire thing?

After I finish the above, I want to make the bandage have a green skin, as well as make the inventory icon green. Where would I find the files to do this, and where is the description file located?
jdude is offline   Reply With Quote
Old October 12th, 2008   #2
I'm too cool to Post
 
Join Date: October 12th, 2008
Status: Available
2 posts, 0 likes.
Rep Power: 0
jdude is a n00b
Default Re: Adding new items?

Okay, so this is what I understand so far:

In-game physical model:
Found in \meshes\dynamics\devices\dev_bandage\dev_bandage.o gf

In-game physical skin:
There's two things:
item_medkit.dds
and
item_medkit.thm
I don't know what item_medkit.thm is, but the item_medkit.dds has the skin on the lower right portion.
Both these are found in \textures\item

The definitions/properties for the bandages are found here:
configs/misc/items.ltx

The description and name for the items in-game are found here:

\configs\text\eng\st_items_equipment.xml

In reference to the above post, the bolded and underlined will be modified in accordance to the one of the four parts described above:

Code:
[bandage]:identity_immunities
GroupControlSection    = spawn_group
discovery_dependency =
$spawn                 = "food and drugs\bandage"
$prefetch             = 8
class                = II_BANDG
cform                = skeleton
visual                = dynamics\devices\dev_bandage\dev_bandage.ogf
description            = st_bandage_descr

inv_name            = st_bandage
inv_name_short        = st_bandage
inv_weight            = 0.05    ;0.2
cost                = 200

inv_grid_width        = 1
inv_grid_height        = 1
inv_grid_x            = 3
inv_grid_y            = 18

; eatable item
eat_health =     0.0
eat_satiety =     0
eat_power =     0.0
eat_radiation = 0.0
wounds_heal_perc = 0.5
eat_portions_num = 1    ;100

; food item
animation_slot        = 4

;hud item
hud = wpn_vodka_hud
However I don't know what $spawn is in reference to, but I'm fairly certain it will have to be different. Perhaps it's just anything you want it to be.

I also don't know if there's anyway to get the .ogf file to target a different skin without having to use an actual model editing tool to go in there and change the skin.

Lastly, how does one change the icon image? Where is it located?
jdude is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not 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
[Help] Adding more items to traders Sgt.Kanyo S.T.A.L.K.E.R. CS Modding, Mapping and Editing 4 August 12th, 2009 08:13 PM
Adding items to workbench? Play4ever SW:KOTOR2 Modding, Mapping and Editing 4 August 19th, 2008 07:17 AM
Adding items to map editor starwart ST:A2 Modding, Mapping and Editing 0 July 8th, 2003 03:43 PM
adding items to weapons aussieboy SoF Modding and Editing 1 June 1st, 2003 08:10 PM


All times are GMT -7.







   
 





This site is part of the Defy Media Gaming network

The best serving of video game culture, since 2001. Whether you're looking for news, reviews, walkthroughs, or the biggest collection of PC gaming files on the planet, Game Front has you covered. We also make no illusions about gaming: it's supposed to be fun. Browse gaming galleries, humor lists, and honest, short-form reporting. Game on!

FileFront Forums - Terms of Service - Top
Theme Selection
Copyright © 2002-2016 Game Front. All rights reserved. Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Forum Theme by Danny King (FileTrekker), Sheepeep & Graeme(rs)
RSS Feed Widget by FeedWind