ST.Move.Stations HILFE :D

Hier ist der ideale Ort um über Scripts und Mods für X²: Die Bedrohung zu diskutieren.

Moderators: Scripting / Modding Moderators, Moderatoren für Deutsches X-Forum

bistyboy
Posts: 51
Joined: Sat, 7. Feb 04, 01:05
x4

ST.Move.Stations HILFE :D

Post by bistyboy »

Hi also hab mir von http://xscripting.com
das script gesaugt in der anleitung hieß es dam man seine Stationen verschieben kann.... schön und gut das funzt bei mir sektorinter schon, aber will meine fabs in einen anderen sek schieben....kan zwar auch andere sektoren wählen aber das gebäude änderst seinen position an die stelle wo ich es hinstalle nur im selben sek also obwohl man einen andern wählt scheint mir als sei das script net defür vorgeshene.
Da ich keine ahnung hab von sowas....
Kann mir hir wer helfen ggf. das script umschreiben ??


Script ST.move.station
Version: 1
for Script Engine Version: 22

Description
Move Station or Ship
Arguments
1: source , Var/Ship/Station , 'Select Source Target'
2: loc , Var/Sector Position , 'Select New Position'
Source Text

001 * Created by Shock Troop AKA stmdk
002 * Do not move this into another object or boom!
003 $x = $loc[0]
004 $y = $loc[1]
005 $z = $loc[2]
006 $sec = $loc[3]
007 $source -> set position: x=$x y=$y z=$z
008 return null

Ach nochwas fall das nicht geht kennt einer ein script mit dem ich meine gebäude sprengen kann ??? :D aber einzeln nicht alle
matt32
Posts: 110
Joined: Sat, 18. Oct 03, 22:05
x2

Post by matt32 »

.... :lol: .. das tut für alle schiffe und stationen

<?xml version="1.0" standalone="yes" ?>
<?xml-stylesheet href="x2script.xsl" type="text/xsl" ?>
<script>
<name>delete.station</name>
<version>0</version>
<engineversion>23</engineversion>
<description>deletes a selected object</description>
<arguments>
<argument index="1" name="station" type="Var/Ship/Station" desc="select gate" />
</arguments>
<sourcetext>
<line linenr="001" indent=""><comment><text>* </text><var>be careful .this deletes also objects you ot own</var></comment></line>
<line linenr="002" indent=""><var>$station -></var><text> destruct: show no explosion=</text><var>[FALSE]</var></line>
<line linenr="003" indent=""><text>free sector object </text><var>$station</var></line>
<line linenr="004" indent=""><text>return </text><var>null</var></line>
</sourcetext>
<codearray>
<sval type="array" size="10"><sval type="string" val="delete.station" /><sval type="int" val="23" /><sval type="string" val="deletes a selected object" /><sval type="int" val="0" /><sval type="int" val="0" /><sval type="array" size="1"><sval type="string" val="station" /></sval><sval type="array" size="3"><sval type="array" size="5"><sval type="int" val="765" /><sval type="int" val="131074" /><sval type="int" val="0" /><sval type="int" val="131075" /><sval type="int" val="9" /></sval><sval type="array" size="3"><sval type="int" val="773" /><sval type="int" val="131074" /><sval type="int" val="0" /></sval><sval type="array" size="3"><sval type="int" val="103" /><sval type="int" val="0" /><sval type="int" val="0" /></sval></sval><sval type="array" size="1"><sval type="array" size="2"><sval type="int" val="22" /><sval type="string" val="select gate" /></sval></sval><sval type="array" size="1"><sval type="array" size="3"><sval type="int" val="0" /><sval type="int" val="1" /><sval type="string" val="be careful .this deletes also objects you ot own" /></sval></sval><sval type="string" val="select object " /></sval>
</codearray>
</script>

... viel spass beim wegbomben .. wenn du show explosion auf true setzt, gibts noch nen feuerwerk ...
Guest

Post by Guest »

Wegbomben? Versuchs mit Hornissen :twisted: :lol:

Return to “X²: Die Bedrohung - Scripts und Modding”