Couple of questions...

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

User avatar
Roberto
---- E L I T E ----
---- E L I T E ----
Posts: 318
Joined: Sun Jun 11, 2006 1:16 pm
Location: London, UK

Post by Roberto »

"ejectItem: EQ_QC_MINE 1" doesn't work either. O Master and Commander, where art thou?
User avatar
Judebert
Dangerous
Dangerous
Posts: 88
Joined: Sat Aug 19, 2006 4:56 pm
Location: Orlando, FL
Contact:

Post by Judebert »

ejectItem is only defined in the player entity. It won't work for anything else.

(So far as I can read this code.)

So you should be able to force a player to eject a particular item: "Your illegal cargo will be ejected! Stop moving and do not evade our lasers!"

But it's not defined for any other entity. That would be a worthy addition, if anyone takes up Giles' mantle. (Don't look at me! I don't understand this crazy language. Besides, I'm already doing too many other things.)
User avatar
Judebert
Dangerous
Dangerous
Posts: 88
Joined: Sat Aug 19, 2006 4:56 pm
Location: Orlando, FL
Contact:

Post by Judebert »

And, after more code-surfing, littlebear is also correct that escorts get set to escortAI.plist in the code for setUpEscorts. They also get set to state "FLYING_ESCORT" immediately.
User avatar
Roberto
---- E L I T E ----
---- E L I T E ----
Posts: 318
Joined: Sun Jun 11, 2006 1:16 pm
Location: London, UK

Post by Roberto »

Thanks Judebert. I've stopped working on that OXP for the moment - I did manage to get the escorts working to my satisfaction, but, as you say, there's no solution to the Q-bomb thing. So I'm going to wait a while, and hope that we have a new Giles soon...
User avatar
Judebert
Dangerous
Dangerous
Posts: 88
Joined: Sat Aug 19, 2006 4:56 pm
Location: Orlando, FL
Contact:

Post by Judebert »

If the guy who made the Debian package will make a source package too, I'll take a look at giving ejectItem to ships and stations.
User avatar
Roberto
---- E L I T E ----
---- E L I T E ----
Posts: 318
Joined: Sun Jun 11, 2006 1:16 pm
Location: London, UK

Post by Roberto »

Awesome.
Post Reply