I need the location of a file. -1 reply

Please wait...

Guest

I didn't make it!

0 XP

 
#1 11 years ago

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

Slightly cooler than a n00b

50 XP

21st May 2007

0 Uploads

33 Posts

0 Threads

#2 11 years ago

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

:)

50 XP

14th May 2007

0 Uploads

140 Posts

0 Threads

#3 11 years ago

SLAWTERER;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.




Guest

I didn't make it!

0 XP

 
#4 11 years ago

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

Nothing is Final

50 XP

12th April 2007

0 Uploads

262 Posts

0 Threads

#5 11 years ago

in the weapon code file (.ltx) look for the line :> scope_zoom_factor = 50 and change the number to whatever, lower number farther zoom.




Guest

I didn't make it!

0 XP

 
#6 11 years ago

Thanks man.