May 23rd, 2007
|
#3 |
| :)
Join Date: May 13th, 2007 Status: Available Rep Power: 0 | Quote:
Originally Posted by SLAWTERER ....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. |
| |
| |