Page 1 of 1

problem with world weapons

Posted: Tue Jul 31, 2007 2:26 pm
by Warinthestar
ok, the server wont use the world weapons so im guessing their wrong so im wondering what i did wrong.

weapon
name Weapon1
position 340.0 340.0 30.0
rotation 0.0
color 1
tilt 0.0
initdelay 0
delay 0
type SW
trigger oncap
eventteam 1
end

the other weapons are just at different positions. a tank can spawn on the server but cant move after they spawn.

Posted: Tue Jul 31, 2007 2:59 pm
by Legolas_
Ok, so, trigger oncap means that the world weapon will fire a shockwave after a flag gets capped. Can you explain the problem a little more, the one about not being able to move?

Posted: Tue Jul 31, 2007 6:05 pm
by CannonBallGuy

Posted: Wed Aug 01, 2007 1:41 am
by flight
your delays are set to 0. you have to give it a time in seconds. if you have 0 intervals there will be no firing time. put the delays to 5 or something. for trigger you have oncap. the correct phrase to put there would actually be flagcap. moreover, you have to use one or the other: delay or trigger.
you have both trigger oncap (which should be flagcap) and delay. if you want a delay AND a flagcap make two world weapons in the same place and make one a trigger flagcap and the other a delay.

and about the spawning. do you have materials on what ever the tank is spawning on? or physics on something that you messed up? check in your conf or your options that -set _tankSpeed is not set to 0. or as an admin type /set _tankSpeed 25. 25 is normal tank speed. those are the only things i can think of at the moment.

Posted: Wed Aug 01, 2007 11:25 am
by Warinthestar
i got it after a while but when the code was entered with flagcap it said it was an unknown variable so i changed to another code i saw for something else to get it to work.

Posted: Sun Aug 05, 2007 1:20 pm
by anomaly
The correct parameter for option trigger is oncap not flagcap.

Posted: Sun Aug 05, 2007 10:57 pm
by flight
well i was thinking something was wrong with flagcap but i looked at a wiki and it said flagcap so i was thinking i would be the one that was wrong but, i should have gone with my instinct. thanks for the correction!