FileFront Forums

FileFront Forums (http://forums.filefront.com/)
-   S.T.A.L.K.E.R. SoC Modding, Mapping and Editing (http://forums.filefront.com/s-t-l-k-e-r-soc-modding-mapping-editing-954/)
-   -   I need the location of a file. (http://forums.filefront.com/s-t-l-k-e-r-soc-modding-mapping-editing/315071-i-need-location-file.html)

SLAWTERER May 23rd, 2007 12:03 PM

I need the location of a file.
 
Im doing a mod were im modding the lr300 to make it like the M15A4 SPR Carbine. I have all the weapon and trader code done, but I was wondering where I can find the code for the SUSAT scope in the original files for the game. I am absolutely clueless of where to look for it, or if some has a file of the SUSAT scope modified it would be nice if they could gimme a link or where to look for the file.

Any help would be appreciated.

Deathloc May 23rd, 2007 08:43 PM

The texture or the File? the texture is called like wpn_addons or something like that, and im not sure about its coding file.

natasha8384 May 23rd, 2007 09:20 PM

Quote:

Originally Posted by SLAWTERER (Post 3696052)
....I was wondering where I can find the code for the SUSAT scope in the original files for the game. I am absolutely clueless of where to look for it, or if some has a file of the SUSAT scope modified it would be nice if they could gimme a link or where to look for the file.

Any help would be appreciated.

actually .. you define your scope in the weapons LTX file, so in your case you'd be redefining the file with the name: lr300.ltx (and possibly saving it under a new name). Approximate code in that file for an add-on SUSAT should read something like this:

scope_status = 2
scope_name = wpn_addon_scope_susat
scope_texture = wpn\wpn_crosshair_l85
scope_x = 86
scope_y = -5

Weapons LTX files are located in:
gamedata -> config -> weapons

(Note: if you are running the "weapons customize" mod, then the above mentioned code has already been done for you.)

The texture for SUSAT is in a "combo kit" called: wpn_upgrade.dds and it's in your texture folder:
gamedata -> textures -> wpn

Hope this helps you.

SLAWTERER May 24th, 2007 06:46 PM

I already knew that but I'm sorry for being a bit vague. I want to find the file so I could modify the distance it allows you to zoom.

giv_em_hell May 24th, 2007 07:00 PM

in the weapon code file (.ltx) look for the line :> scope_zoom_factor = 50

and change the number to whatever, lower number farther zoom.

SLAWTERER May 24th, 2007 08:47 PM

Thanks man.


All times are GMT -7.

Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.