Is it possible to change something in an autoturret's odf to make it neutral to the units??
It's because of my shild dispenser. They don't hurt anyone, but the enemy always try to destroy it.
neutral autoturret??
Moderator: Moderators
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
- GAB
- 1st Lieutenant

- Posts: 431
- Joined: Sun Jul 03, 2011 8:56 pm
- Location: Somewhere around the world
- Contact:
Re: neutral autoturret??
I'm not expert in these kind of things but maybe making the turret belong to a third team that is friendly of everyone could do the trick?
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: neutral autoturret??
Have you simply tried the ODF parameter
?
Code: Select all
Team = 0- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: neutral autoturret??
does not work 
- Teancum
- Jedi Admin

- Posts: 11080
- Joined: Wed Sep 07, 2005 11:42 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Indiana
Re: neutral autoturret??
Try setting it's team to something high, such as 7. Then set team 7 friendly to your units, and your units friendly to team 7
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: neutral autoturret??
Does not work
==EDIT==
just tryed this under protperties
AvailableForAnyTeam = "1"
and this under GameObjectClass
Team = "0"
both made the enterable turret to be neutral, AFTER i enter it the first time. If i do not enter it is not neutral any idea why??
For the autoturret (shield generator) both do not work
==EDIT==
just tryed this under protperties
AvailableForAnyTeam = "1"
and this under GameObjectClass
Team = "0"
both made the enterable turret to be neutral, AFTER i enter it the first time. If i do not enter it is not neutral any idea why??
For the autoturret (shield generator) both do not work
- Locutus
- 1st Lieutenant

- Posts: 420
- Joined: Fri Jun 04, 2010 10:08 am
- Projects :: Stargate Battlefront Pegasus
- Location: Germany
- Contact:
Re: neutral autoturret??
You could try sth. like this:
Code: Select all
OnCharacterDispensePowerup(
function(player, powerup)
if GetEntityClass(powerup) == FindEntityClass("YOUR_TURRET") then
print("Log info: turret dispensed")
SetProperty(powerup, "Team", 0)
SetProperty(powerup, "PerceivedTeam", 0)
end
end
)