Page 1 of 1

Re: Changing crosshair and weapon attributes

Posted: Thu Dec 17, 2009 7:32 pm
by No-Half-Measures
Black Mamba wrote:how to make zook rockets fly in a straight line.
Pretty simple my freind

Code: Select all

// Bazooka Devation/Gravity 0
ObjectTemplate.Active Bazooka
ObjectTemplate.minDeviation 0
ObjectTemplate.maxDeviation 0
With "maxDeviation" and "minDeviation" set to 0 this stops the projectile from going down, The Deviation is basicly the gravitational effecton the projectile.
Just change the "Bazooka" to the other rocket launcher name to give this effect to that one.
Regarding cross hair idk =/

Re: Changing crosshair and weapon attributes

Posted: Fri Dec 18, 2009 5:19 am
by Coroner47
I stumbled apon these settings when trying to disable crosshairs altogether.

Code: Select all

Game.setCrossHairRadius 5
Game.setCrossHairSize 5
I think setting them to zero caused the crosshair to not expand. Try it.

If you want to remove crosshairs altogether. Add this to any weapon.

Code: Select all

ObjectTemplate.setCrossHairType CHTNone

Re: Changing crosshair and weapon attributes

Posted: Fri Dec 18, 2009 10:41 am
by No-Half-Measures
Black Mamba wrote:Where is this supposed to go? In the OST.con? Because if it does I just tried it and it doesn't work...

Im sorry should said were it should go... this is a serverside mod Too =] so it can go in the maps ObjectSpawnTemplate at the end of the file but befor the "RemEndFile"

BTW if you are new to BF1942 modding then check out the links below:
Mod Tools
Win RFA patch files