Notices

Go Back   FileFront Forums > The Games! > S.T.A.L.K.E.R. > S.T.A.L.K.E.R. Shadow of Chernobyl > S.T.A.L.K.E.R. SoC Modding, Mapping and Editing

Remember Me?

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 Display Modes
Old June 14th, 2007   #1
Uh Yeah...
 
psybunny's Avatar
 
Join Date: April 18th, 2007
Status: Available
31 posts, 0 likes.
Rep Power: 0
psybunny has disabled reputation
Default unique_items.ltx is kickig my a$$

so i have tried another rifle an loaded the game up....it ran fine..but i forgot to add this to my unique_items file.......and when i did it now crashes .....oh goodly modding sheppards show me the ways of my errors!!!!


[wpn_valkerie_m1]:wpn-valkerie
$spawn = "weapons\wpn-val"
description = enc_weapons1_wpn-valkerie_m1
inv_name = wpn-valkerie_m1
inv_name_short = wpn-valkerie_m1
cost = 1
fire_modes = 1,2,3,-1
ammo_limit = 210
ammo_current = 40
ammo_mag_size = 40
ammo_class = ammo_11.43x23_fmj, ammo_11.43x23_hydro
sprint_allowed = true
misfire_probability = 0.0
condition_shot_dec = 0.0
hit_power = 1.10, 1.15, 1.20, 1.30
hit_impulse = 165
fire_distance = 800
bullet_speed = 380
rpm = 800
scope_zoom_factor = 9


Last edited by psybunny; June 14th, 2007 at 12:32 PM.
psybunny is offline   Reply With Quote
Old June 14th, 2007   #2
Uh Yeah...
 
psybunny's Avatar
 
Join Date: April 18th, 2007
Status: Available
31 posts, 0 likes.
Rep Power: 0
psybunny has disabled reputation
Default

additionally i receive this error message when i do
Expression : fatal error
Function : CInifile::r_section
File : D:\xray-svn\xrCore\Xr_ini.cpp
Line : 341
Description : <no expression>
Arguments : Can't open section 'wpn_valkerie'

psybunny is offline   Reply With Quote
Old June 14th, 2007   #3
Ya got mah Cheeze Whiz, Boy?
 
waldo913's Avatar
 
Join Date: May 6th, 2007
Location: Phoenix, AZ
Status: Available
82 posts, 0 likes.
Rep Power: 0
waldo913 is a n00b
Default

First, I don't think you can start it off with wpn_valkerie_m1 since unless I'm mistaken, there's no wpn_valkerie to begin with. If you're basing it off the Val, you'd have to start with [wpn_val_m(#)]:wpn-valkerie replacing (#) with the next number in line for unique val-type weapons.

Then you have to have wpn-valkerie defined inside your weapons.ltx(I think that's its name, I can't check since I'm at work).

Then, instead of

inv_name = wpn-valkerie_m1
inv_name_short = wpn-valkerie_m1

You'd need

inv_name = wpn-val_m(#)
inv_name_short = wpn-val_m(#)

You'll also need to put it in your text definitions file so it correctly references wpn_val_m(#) for its.. I totally forget the name of that one, but you probably know what I'm talking about.

Other than that, what you have there appears correct...

I hope this at least gets you moving in the right direction. Once I get home from work, I'll open up my gamedata folders and doublecheck the filenames and references for you.
waldo913 is offline   Reply With Quote
Old June 14th, 2007   #4
Slightly cooler than a n00b
 
Join Date: March 2nd, 2006
41 posts, 0 likes.
Rep Power: 0
FearDaBurner has disabled reputation
Default

this might sound stupid but did you forget to add your wpn.dds file in to the folder? I kept getting an error because I forgot to do so
FearDaBurner is offline   Reply With Quote
Old June 14th, 2007   #5
The Internet ends at GF
 
Join Date: April 19th, 2007
Status: Available
144 posts, 0 likes.
Rep Power: 0
Brusher has disabled reputation
Default

I think your first line is wrong, "[wpn_valkerie_m1]:wpn-valkerie", should look like this I believe, "[wpn_valkerie_m1]:wpn_val". I didn't see a prob with the rest. You inv. names are right. That's the way it should be.
Brusher is offline   Reply With Quote
Old June 14th, 2007   #6
GANGSTER : Shadow of Compton
 
TheBestCZE's Avatar
 
Join Date: May 23rd, 2007
Status: Available
104 posts, 0 likes.
Rep Power: 0
TheBestCZE is a n00b
Default

Quote:
Originally Posted by psybunny View Post
so i have tried another rifle an loaded the game up....it ran fine..but i forgot to add this to my unique_items file.......and when i did it now crashes .....oh goodly modding sheppards show me the ways of my errors!!!!


[wpn_valkerie_m1]:wpn-valkerie
$spawn = "weapons\wpn-val"
description = enc_weapons1_wpn-valkerie_m1
inv_name = wpn-valkerie_m1
inv_name_short = wpn-valkerie_m1
cost = 1
fire_modes = 1,2,3,-1
ammo_limit = 210
ammo_current = 40
ammo_mag_size = 40
ammo_class = ammo_11.43x23_fmj, ammo_11.43x23_hydro
sprint_allowed = true
misfire_probability = 0.0
condition_shot_dec = 0.0
hit_power = 1.10, 1.15, 1.20, 1.30
hit_impulse = 165
fire_distance = 800
bullet_speed = 380
rpm = 800
scope_zoom_factor = 9
Just like the others said, you must base you should call the wepon "val", i think that could be the problem.

I fact call all ur uniques "wpn_(name)_m(number)"
it doesnt affect what the weapon description or name will be, so it's better.

Also as Brusher said, ur line is really wrong> it has to say wpn_val not wpn-wal
TheBestCZE is offline   Reply With Quote
Old June 14th, 2007   #7
Uh Yeah...
 
psybunny's Avatar
 
Join Date: April 18th, 2007
Status: Available
31 posts, 0 likes.
Rep Power: 0
psybunny has disabled reputation
Default

my new file im starting
[wpn_valkerie_m1]:wpn_val
$spawn = "weapons\wpn_val"
description = enc_weapons1_wpn-valkerie_m1
inv_name = wpn-valkerie_m1
inv_name_short = wpn-valkerie_m1
ammo_mag_size = 40
ammo_class = ammo_11.43x23_fmj, ammo_11.43x23_hydro
condition_shot_dec = 0.0
cost = 50
fire_modes = 1, 2, 3, -1
sprint_allowed = true
misfire_probability = 0.0
control_inertion_factor = 1.0f
hit_power = 1.10, 1.15, 1.20, 1.30
hit_impulse = 10000
fire_distance = 900
fire_dispersion_base = 0.00
bullet_speed = 450
rpm = 800
scope_zoom_factor = 9


Last edited by psybunny; June 14th, 2007 at 10:41 PM. Reason: i suk
psybunny is offline   Reply With Quote
Old June 14th, 2007   #8
The Internet ends at GF
 
Join Date: April 19th, 2007
Status: Available
144 posts, 0 likes.
Rep Power: 0
Brusher has disabled reputation
Default

I tried it out and it works great. Good job!
Brusher is offline   Reply With Quote
Old June 15th, 2007   #9
Uh Yeah...
 
psybunny's Avatar
 
Join Date: April 18th, 2007
Status: Available
31 posts, 0 likes.
Rep Power: 0
psybunny has disabled reputation
Default

yep im sorry fer having an episode trying to figure this out on my night with my 5 month old baby on my lap is ..well impossible(@ least difficult)....hehehehehe...yep the Valkerie is smooth,yet needs some tweakin but its mean.cant wait to release it when its done......now on to the texies.......thanks everyone

psybunny is offline   Reply With Quote
Old June 15th, 2007   #10
Uh Yeah...
 
psybunny's Avatar
 
Join Date: April 18th, 2007
Status: Available
31 posts, 0 likes.
Rep Power: 0
psybunny has disabled reputation
Default

i posted up on stalkerfiles the completed and tested on a fresh install of faiakes 2.2 and it runs great altho im not sure if a new game is needed.... anyhoo i hope yall enjoy,and thanks for the support

psybunny 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] Problems with unique_items.ltx and Mosin Nagant. Tempast S.T.A.L.K.E.R. SoC Modding, Mapping and Editing 4 October 8th, 2009 05:50 PM
Custom food in unique_items.ltx possible? G1N0G4M3 S.T.A.L.K.E.R. SoC Modding, Mapping and Editing 4 October 3rd, 2009 07:33 PM
Help with .ltx Cespenar S.T.A.L.K.E.R. CS Modding, Mapping and Editing 3 July 21st, 2009 05:04 AM
m_person.ltx and immunities.ltx insanelazarez S.T.A.L.K.E.R. CS Modding, Mapping and Editing 2 December 13th, 2008 09:24 PM
I can't seem to find my unique_items.ltx Zoldin S.T.A.L.K.E.R. SoC Modding, Mapping and Editing 6 March 3rd, 2008 09:42 AM


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