Hilfe zum Scripten Benötigt!

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

Nopileo [USC]
Posts: 366
Joined: Wed, 6. Nov 02, 20:31
x4

Hilfe zum Scripten Benötigt!

Post by Nopileo [USC] »

HI alaseitz,
ich versuch momentan Jedem Folk nen Universums-Trater der MK3 zu Scripten.

Problem 1: Wie bekomme ich die Händler auf Level 8 Gescriptet(dass sie Quasie sofort loslegen können)

Problem 2: Welchen Befehl,Script muss ich auswählen, dass sie überhaubt Starten. :oops:

Derzeit sieht es so aus

Code: Select all

Source Text

001   $x = 1233 + 1
002   $y = 1233 + 1
003   $z = 1235 - 1
004   
005   $a = 1
006   $b = 100
007   * Argonen Transproter
008   $newShip =  create ship: type=Argon Merkur owner=Argonen addto=Argon Prime x=$x y=$y z=$z
009   $init = $newShip -> install $a units of 25 MW Schild
010   $init = $newShip -> install $a units of Kampfsoftware MK1
011   $init = $newShip -> install $a units of Kampfsoftware MK2
012   $init = $newShip -> install $a units of Handelssoftware MK3
013   $init = $newShip -> install $a units of Duplex Scanner
014   $init = $newShip -> install $b units of Laderaumerweiterung
015   $newShip -> set name to 'Freier Argoischer Haendler'
016   
017 @ = wait 123 ms
018   * Boronen Transporter
019   $newShip =  create ship: type=Boron Delphin owner=Boronen addto=Königstal x=$x y=$y z=$z
020   $init = $newShip -> install $a units of 25 MW Schild
021   $init = $newShip -> install $a units of Handelssoftware MK3
022   $init = $newShip -> install $a units of Kampfsoftware MK1
023   $init = $newShip -> install $a units of Kampfsoftware MK2
024   $init = $newShip -> install $a units of Duplex Scanner
025   $init = $newShip -> install $b units of Laderaumerweiterung
026   $newShip -> set name to 'Freier Boronen Haendler'
027   
028 @ = wait 123 ms
029   * Paranieden Tranporter
030   $newShip =  create ship: type=Paranid Demeter owner=Paraniden addto=Paranid Prime x=$x y=$y z=$z
031   $init = $newShip -> install $a units of 25 MW Schild
032   $init = $newShip -> install $a units of Handelssoftware MK3
033   $init = $newShip -> install $a units of Kampfsoftware MK1
034   $init = $newShip -> install $a units of Kampfsoftware MK2
035   $init = $newShip -> install $a units of Duplex Scanner
036   $init = $newShip -> install $b units of Laderaumerweiterung
037   $newShip -> set name to 'Freier Pranieden Haendler'
038   
039 @ = wait 123 ms
040   * Split Transporter
041   $newShip =  create ship: type=Split Kaiman owner=Split addto=Familienstolz x=$x y=$y z=$z
042   $init = $newShip -> install $a units of 25 MW Schild
043   $init = $newShip -> install $a units of Handelssoftware MK3
044   $init = $newShip -> install $a units of Kampfsoftware MK1
045   $init = $newShip -> install $a units of Kampfsoftware MK2
046   $init = $newShip -> install $a units of Duplex Scanner
047   $init = $newShip -> install $b units of Laderaumerweiterung
048   $newShip -> set name to 'Freier Split Haendler'
049   
050 @ = wait 123 ms
051   * Pirat  Transporter
052   $newShip =  create ship: type=Piraten Schiff owner=Piraten addto=LooManckStrats Vermächtnis x=$x y=$y z=$z
053   $init = $newShip -> install $a units of 25 MW Schild
054   $init = $newShip -> install $a units of Duplex Scanner
055   $init = $newShip -> install $a units of Handelssoftware MK3
056   $init = $newShip -> install $a units of Kampfsoftware MK1
057   $init = $newShip -> install $a units of Kampfsoftware MK2
058   $init = $newShip -> install $b units of Laderaumerweiterung
059   $newShip -> set name to 'Freier Piraten  Haendler'
060   
061 @ = wait 12 ms
062   * Teladie Transporter
063   $i = 0
064   while $i < 4
065    $newShip =  create ship: type=Teladi Geier owner=Teladi addto=Profitbrunnen x=$x y=$y z=$z
066    $init = $newShip -> install $a units of 25 MW Schild
067    $init = $newShip -> install $a units of Duplex Scanner
068    $init = $newShip -> install $a units of Handelssoftware MK3
069    $init = $newShip -> install $a units of Kampfsoftware MK1
070    $init = $newShip -> install $a units of Kampfsoftware MK2
071    $init = $newShip -> install $a units of Schnäppchen Finder
072    $init = $newShip -> install $a units of Verkaufspreis Finder
073    $init = $newShip -> install $b units of Laderaumerweiterung
074    $newShip -> set name to 'Freier Teladianischer Haendler'
075 @  = wait randomly from 123 to 12345 ms
076    inc $i = 
077   end
078   
079 @ = wait randomly from 500 to 50000 ms
080   * Goner Transporter
081   $newShip =  create ship: type=Goner Schiff owner=Goner addto=Wolkenbasis SW x=$x y=$y z=$z
082   $init = $newShip -> install $a units of 25 MW Schild
083   $init = $newShip -> install $a units of Duplex Scanner
084   $init = $newShip -> install $a units of Handelssoftware MK3
085   $init = $newShip -> install $a units of Kampfsoftware MK1
086   $init = $newShip -> install $a units of Kampfsoftware MK2
087   $init = $newShip -> install $b units of Laderaumerweiterung
088   $newShip -> set name to 'Freier Goner Haendler'
089   return null
Also, ich bedank mich schon mal im vorraus für die Hilfe.
Nopileo [USC]
Posts: 366
Joined: Wed, 6. Nov 02, 20:31
x4

Post by Nopileo [USC] »

ist hir den niemand der mir helfen kann?

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