[Question] Very quick question from jobs.xml

The place to discuss scripting and game modifications for X Rebirth.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
ravayen
Posts: 56
Joined: Mon, 25. Jan 16, 02:02
x4

[Question] Very quick question from jobs.xml

Post by ravayen » Wed, 12. Jul 17, 17:17

on some jobs ive seen an extra part to time intervals......

<time interval="3600" start="0"/>

could someone explain what the 2nd part (start="0") does please as ive never actually had cause to acknowledge it's existence before and suddenly i'm curios about it :)

UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader » Wed, 12. Jul 17, 17:37

just a guess: i would say this is the respawn timer value the game starts at.
so start="0" means the Ship can be created instantly at beginning of the Game.
start="3600" would mean the defined Ship(s) will be created 1 hour after gamestart (and until then they are handled like currently destroyed)
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)

ravayen
Posts: 56
Joined: Mon, 25. Jan 16, 02:02
x4

Post by ravayen » Wed, 12. Jul 17, 19:07

so to clarify
time interval=respawn time when destroyed in game
start=initial first spawn after game start and only the first time it spawns.
?
If so thanks for the reply it answers my question perfectly :)

UniTrader
Moderator (Script&Mod)
Moderator (Script&Mod)
Posts: 14571
Joined: Sun, 20. Nov 05, 22:45
x4

Post by UniTrader » Wed, 12. Jul 17, 19:25

ravayen wrote:so to clarify
time interval=respawn time when destroyed in game
start=initial first spawn after game start and only the first time it spawns.
?
If so thanks for the reply it answers my question perfectly :)
thats my assumption, yes. nothing else makes sense to me. but i didnt test this out and i also dont have any special documentation.
if not stated otherwise everything i post is licensed under WTFPL

Ich mache keine S&M-Auftragsarbeiten, aber wenn es fragen gibt wie man etwas umsetzen kann helfe ich gerne weiter ;)

I wont do Script&Mod Request work, but if there are questions how to do something i will GLaDly help ;)

ravayen
Posts: 56
Joined: Mon, 25. Jan 16, 02:02
x4

Post by ravayen » Thu, 13. Jul 17, 00:47

nps thanks for the reply

j.harshaw
EGOSOFT
EGOSOFT
Posts: 1877
Joined: Mon, 23. Nov 15, 18:02

Post by j.harshaw » Fri, 14. Jul 17, 14:49

ravayen wrote:time interval=respawn time when destroyed in game
start=initial first spawn after game start and only the first time it spawns
in case there's some doubt, this is correct. should actually be documented in libraries.xsd (not all library xml files are documented, unfortunately, but the jobs file is.)
libraries.xsd wrote:<xs:element name="time">

...

<xs:attribute name="interval" use="required">
Minimum job processing interval with +/- 25% random variation

...

<xs:attribute name="start">
First job processing time (interval without variation is used if not specified)

Post Reply

Return to “X Rebirth - Scripts and Modding”