[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: 37
Joined: Mon, 25. Jan 16, 03:02

[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: 13817
Joined: Sun, 20. Nov 05, 23:45

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: 37
Joined: Mon, 25. Jan 16, 03:02

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: 13817
Joined: Sun, 20. Nov 05, 23:45

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: 37
Joined: Mon, 25. Jan 16, 03:02

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

nps thanks for the reply

j.harshaw
EGOSOFT
EGOSOFT
Posts: 443
Joined: Mon, 23. Nov 15, 19: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”