defense scripts when weapon changes [message #465161] |
Fri, 30 March 2012 20:29 |
robbyke
Messages: 348 Registered: September 2010 Location: Belgium
Karma: 0
|
Recruit |
|
|
if i give another weapon trough a powerup
then select it and attach a a base defense script
the defense wont fire at the correct distance
sometimes it fires when youre exactly in front of it.
i thought those scripts just fired the primary attack of the gun they had.
ive tried it with the normal weapons,defense weapons,and veh weapons
they give different results but never the range theyre supposed to have
Owner of kambot TT server
kambot.freeforums.org
|
|
|
Re: defense scripts when weapon changes [message #465163 is a reply to message #465161] |
Fri, 30 March 2012 21:57 |
|
Whitedragon
Messages: 832 Registered: February 2003 Location: California
Karma: 1
|
Colonel |
|
|
Make sure the SightRange of the object is correct for the weapon you're giving it. Check it in leveledit.
Black-Cell.net
Network Administrator (2003 - )
DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )
Dragonade, Renegade's first server side modification
Lead coder (2005 - )
|
|
|
|
|
Re: defense scripts when weapon changes [message #465188 is a reply to message #465172] |
Sat, 31 March 2012 14:08 |
|
Whitedragon
Messages: 832 Registered: February 2003 Location: California
Karma: 1
|
Colonel |
|
|
robbyke wrote on Sat, 31 March 2012 03:53 | does it have to be 100% correct?
|
No, but it will only fire at objects within its SightRange. Some of the multiplayer presets that weren't intended to be bots have a SightRange of 0, so you'll need to change that if you're using them.
Black-Cell.net
Network Administrator (2003 - )
DragonServ, Renegade's first IRC interface bot
Creator and lead coder (2002 - )
Dragonade, Renegade's first server side modification
Lead coder (2005 - )
|
|
|