Now I'm sorry if this is covered somewhere I just haven't found it give me a link if so Thanks.
Now I've scripted some stations very easily.
I have two problems that I need help with.
Number one the stations have no shields and I have no idea how to equip a station with shields.
Two, when I try putting in coordinates the station still pops up at 0,0,0.
smack in the middle of the map. Horrible.
Thanks for any help with these problems.
Please Help Scripting Stations The Rite Way
Moderators: Scripting / Modding Moderators, Moderators for English X Forum
-
- Posts: 50
- Joined: Sun, 9. Aug 09, 22:47
-
- Moderator (Script&Mod)
- Posts: 14571
- Joined: Sun, 20. Nov 05, 22:45
1.
<upgrate_object_by_tag object="$station" tag="tag.shieldgenerator" exact="100" comment="in percent of available Shieldgenerator slots!" />
2. position="position.[0m,0m,0m]" <--modify this to your needs
(i would recomend passing a variable here that you have aquired through <get_safe_pos /> before
)
2. alternatively (and probably better) - (unrelated attributes/nodes to the problem omited):
<create_station ><safepos x="0m" y="0m" z="0m" /></create_station>
<upgrate_object_by_tag object="$station" tag="tag.shieldgenerator" exact="100" comment="in percent of available Shieldgenerator slots!" />
2. position="position.[0m,0m,0m]" <--modify this to your needs


2. alternatively (and probably better) - (unrelated attributes/nodes to the problem omited):
<create_station ><safepos x="0m" y="0m" z="0m" /></create_station>
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
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
