Hey All,
I was wondering whether anyone would know if the logic that controls whether a ship drops a crate is located in any of the usual script files?
I've noticed (in my game anyway) that ships and stations that are destroyed OOS do not seem to drop crates at all. Is this congruent with everyone else's experience?
I would like destroyed ships to drop crates OOS and need to have a look at the code that controls this. I've had a decent look through the script files but can't see it.
Thanks in advance for any assistance.
M
NPCs dropping crates when OOS
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
NPCs dropping crates when OOS
A security system is only as strong as its weakest link
- X2-Illuminatus
- Moderator (Deutsch)
- Posts: 24965
- Joined: Sun, 2. Apr 06, 16:38
Ships/stations that are destroyed OOS do not drop anything. That's not controlled by scripts, but hardcoded. You could probably script something by tying a script to SIGNAL_ATTACKED and/or SIGNAL_KILLED getting all the wares in the cargo room of a ship and randomly eject some before its destroyed or create respective flying wares (in containers).
Nun verfügbar! X3: Farnham's Legacy - Ein neues Kapitel für einen alten Favoriten
Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)
Neuauflage der fünf X-Romane als Taschenbuch
The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!
Die komplette X-Roman-Reihe jetzt als Kindle E-Books! (Farnhams Legende, Nopileos, X3: Yoshiko, X3: Hüter der Tore, X3: Wächter der Erde)
Neuauflage der fünf X-Romane als Taschenbuch
The official X-novels Farnham's Legend, Nopileos, X3: Yoshiko as Kindle e-books!
- Killjaeden
- Posts: 5366
- Joined: Sun, 3. Sep 06, 18:19
That works indeed, the loot system in xtc uses this method.X2-Illuminatus wrote:You could probably script something by tying a script to SIGNAL_ATTACKED and/or SIGNAL_KILLED getting all the wares in the cargo room of a ship and randomly eject some before its destroyed or create respective flying wares (in containers).
[ external image ]
X-Tended TC Mod Team Veteran.
Modeller of X3AP Split Acinonyx, Split Drake, Argon Lotan, Teladi Tern. My current work:
X-Tended TC Mod Team Veteran.
Modeller of X3AP Split Acinonyx, Split Drake, Argon Lotan, Teladi Tern. My current work: