Changing crosshair and weapon attributes

Ask questions, discuss ideas, get answers
Post Reply
User avatar
No-Half-Measures
Posts: 11
Joined: Fri Dec 11, 2009 12:34 am
Location: UK
Contact:

Re: Changing crosshair and weapon attributes

Post 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 =/
Image
Image
Coroner47
Posts: 213
Joined: Tue Nov 24, 2009 5:11 am
Location: Canada

Re: Changing crosshair and weapon attributes

Post 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
Image
Pray hard, die fast
User avatar
No-Half-Measures
Posts: 11
Joined: Fri Dec 11, 2009 12:34 am
Location: UK
Contact:

Re: Changing crosshair and weapon attributes

Post 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
Image
Image
Post Reply