General discussion for players of Oolite.
Moderators: winston , another_commander
Lestradae
---- E L I T E ----
Posts: 3095 Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria
Post
by Lestradae » Wed Nov 12, 2008 9:25 am
Help, please
1.) Is it possible to like_ship a subentity?
2.) Will a turret only work in-game if it has ...
Code: Select all
<key>setup_actions</key>
<array>
<string>initialiseTurret</string>
</array>
... in its set-up?
3.) Could someone be so friendly and point me to the place where the new is_template is documented in a how-to form?
Answers are going to be greatly appreciated
L
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:
Post
by Commander McLane » Wed Nov 12, 2008 10:47 am
Lestradae wrote: 1.) Is it possible to like_ship a subentity?
Of course. Shipdata-entry is shipdata-entry. No difference what kind of entity it is going to be in the game.
Lestradae wrote: 2.) Will a turret only work in-game if it has ...
Code: Select all
<key>setup_actions</key>
<array>
<string>initialiseTurret</string>
</array>
... in its set-up?
Yes, as
explained in the documentation .
Lestradae wrote: 3.) Could someone be so friendly and point me to the place where the new is_template is documented in a how-to form?
I would again try to use
the documentation (
both parts of it ).
It's really simple. You mark the shipdata-entry that you only want to use as a template. And then you reference it with
like_ship in the entries that depend on it.
NOTE, however, that it currently doesn't seem to work correctly, as
reported by some scripters .
Lestradae
---- E L I T E ----
Posts: 3095 Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria
Post
by Lestradae » Wed Nov 12, 2008 11:27 am
Thanks, CMcL, for the enlightening commentary!
Concerning ...
NOTE, however, that it currently doesn't seem to work correctly, as reported by some scripters.
... I noted, and am going to observe what comes out of this, perhaps do a little testing regarding the function on my own if I find the time
Cheers
L