Can you make a standard Turrent a auto enemy?
Moderator: Moderators
-
Vyse
- General

- Posts: 776
- Joined: Sun Aug 28, 2005 5:01 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Can you make a standard Turrent a auto enemy?
Is there a line of code I can add to the ODF of a standard turrent to make it attack both teams automaticly.
-
Murdocr
RE: Can you make a standard Turrent a auto enemy?
Well i'm not too sure about odf code, but if nobody else knows, try making a new local side, but with no units spawning, and make it an enemy of both teams, and then in ZE just asign the turret to that team. Hope it works if you need to try it. Somone will probably know how to code it though.
- AceMastermind
- Gametoast Staff

- Posts: 3285
- Joined: Mon Aug 21, 2006 6:23 am
- Contact:
Make a standard Turret an auto enemy
I believe this will target everything.
Assign it to team "3" in ZE and also add this to the odf:
Assign it to team "3" in ZE and also add this to the odf:
Code: Select all
Pilottype = "self"
TargetEnemy = "1"
TargetFriendly = "0"
TargetPerson = "1"
TargetDroid = "1"
TargetVehicle = "1"
Last edited by AceMastermind on Sat Dec 16, 2006 9:07 pm, edited 1 time in total.
-
Vyse
- General

- Posts: 776
- Joined: Sun Aug 28, 2005 5:01 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
-
Syth
- General

- Posts: 784
- Joined: Thu Apr 13, 2006 8:46 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: happy fun island
you could just put the target lines on everything
TargetEnemy = "1"
TargetFriendly = "1"
you dont need to make 3rd side.
but about the auto thing it doesnt matter that its a turret. i made a normal turret automated before. if it doesnt do anything when you add the pilot self line, it means it doesnt know what to shoot at.
assigning it a team (any team) and adding the target lines should work.
TargetEnemy = "1"
TargetFriendly = "1"
you dont need to make 3rd side.
but about the auto thing it doesnt matter that its a turret. i made a normal turret automated before. if it doesnt do anything when you add the pilot self line, it means it doesnt know what to shoot at.
assigning it a team (any team) and adding the target lines should work.
