AI Help Please
Moderators: winston, another_commander
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
- Griff
- Oolite 2 Art Director
- Posts: 2483
- Joined: Fri Jul 14, 2006 12:29 pm
- Location: Probably hugging his Air Fryer
I've got turrets appearing on ships by having the following in the shipdata.plist entry for the turret model:-
setup_actions = ("initialiseTurret" );
or in the other syntax:-
<key>setup_actions</key>
<array>
<string>initialiseTurret</string>
</array>
if they're not appearing have you definately got the turret model being listed in the subentities part of the mainships shipdata.plist entry? you have to list them in subentities by their name key and not the role key.
setup_actions = ("initialiseTurret" );
or in the other syntax:-
<key>setup_actions</key>
<array>
<string>initialiseTurret</string>
</array>
if they're not appearing have you definately got the turret model being listed in the subentities part of the mainships shipdata.plist entry? you have to list them in subentities by their name key and not the role key.
- Commander McLane
- ---- E L I T E ----
- Posts: 9520
- Joined: Thu Dec 14, 2006 9:08 am
- Location: a Hacker Outpost in a moderately remote area
- Contact:
Thanks, Griff, but please read the preceding posts first. We are discussing the special case of an escort which is set up using the launch_actions-key for giving it its custom AI. Only in this case this escort will appear without turrets. Of course the turrets are correctly set up as subentities and they are initialised.