File Details

Download this file | Go to files list

Readme File:
====================================================
Sniper Zoom script

etited by : [WJF]AbneyPark
email : abney-park@hotmail.co.uk
website : wjf-clan.xippy.co.uk (world joined fighters)
script version : 1.2
update : April 2008

feel free to email me any questions/comments

if this is used within a mod, some credit would be nice
====================================================

I did not create the original ulderlay mod, the author was unkown, it was downloaded from MapsNMods.org
However most of the code had to be rewritten to make it work and to add extra features, so only a few sections remain the same as the original

Please note, this is not a full mod, it is a zoom script that can be added to a mod in development or a mod IWD. it dosnt require any mod.ff files to be changed

====================================================
FEATURES
====================================================

* a config file to edit a few settings (config)
* 1x - 34x Zoom factors
* each sniper rifle can have differant min/max zoom factors (config)
* text displayed on screen about keys and zoom factors
* text colour can be changed and also the choice to display it or not config)
* melee to zoom in
* frag to zoom out (while scoped throwing of nades has been disable on all scoped weapons)

====================================================
How TO ADD TO YOUR MOD OR EXISTING MOD
====================================================

1) add the "snipermod_zoom.gsc" to a mod IWD file

mod.iwd/maps/mp/gametypes/snipermod_zoom.gsc

2) add the "_globallogic.gsc" to the same mod IWD file

mod.iwd/maps/mp/gametypes/_globallogic.gsc

If you have a custom _globallogic.gsc file do not panic simply add the line below at the end of the SpawnPlayer method

"thread mapsmpgametypessnipermod_zoom::main();"

EXAMPLE

spawnPlayer()
{
some code here

thread mapsmpgametypessnipermod_zoom::main();
}

3) add the zoom.cfg to to your mod folder and edit to your needs

4) add the weapons cfg's to

mod.iwd/weapons/mp/

i have included 3 differant weapon settings, read the read me in the weapons folder for more info

====================================================
KNOWN BUGS / RANDOM FEATURES THAT SHOULD'NT BE THERE
====================================================

None Known

Download this file | Go to files list