I want to add turrets to a team, besides team 0, 1 and 2. that fire upon everyone, without players being able to join that team and not mess up the general 1 team vs 1 team in CTF.
You don't need to do it the way keen said...
This map has turrets that fire on both teams and they are indestructible.
The turret is set to team 0. and you would have team 1 and 2.
try setting your turret to team 3.
You don't need to do it the way keen said...
This map has turrets that fire on both teams and they are indestructible.
The turret is set to team 0. and you would have team 1 and 2.
try setting your turret to team 3.
or you could listen to keen and do it the exact same way I did it. Look for the check that sees if the turret's sensor group matches your own. add a %turret.canFireAtAll var to your turret, and then call it from there.
Comments
If you don't set the turret to any team, it should fire on every one..
function TurretData::selectTarget(%this, %turret)
Modify this function to your liking, or give your turret datablock it's own selectTarget() code.
This map has turrets that fire on both teams and they are indestructible.
The turret is set to team 0. and you would have team 1 and 2.
try setting your turret to team 3.
The Forgotten Lands of KUTULU.
Chapter 2: Caldra
http://files.filefront.com/TheForgottenLAndsofKUTULUavl2/;13776692;/fileinfo.html
or you could listen to keen and do it the exact same way I did it. Look for the check that sees if the turret's sensor group matches your own. add a %turret.canFireAtAll var to your turret, and then call it from there.
Make sure you exec() it at the end of the mission file and that you distribute your mission with it.