[AL Plugin] Stevio Fab Supplier :: V3.02 :: 24/09/2006
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
- nuclear_eclipse
- Posts: 1129
- Joined: Thu, 2. Sep 04, 01:54
You only need to add one unit, even for fighters. That just tells the station to begin stocking the ship. From that point on, it will figure out the proper stock numbers, even for fighters. Remember, it has to do stuff in the background anyways to determine stocks of M/L class fighters anyways, so 1 will suffice.stevio wrote:thanks very much
at this rate i might have a Beta and a finished piece tommorow
the only problem i think will be the adding:
= $s.shipyard -> add 10 unit of $ship (i need for M5/4/3/TP/TS)
= $s.shipyard -> add 1 units of $ship (i need for M1/2/6/TL)
will 10 units of Cap ships fit?
$shipyard = create station: type=Argon Federal Argon Shipyard owner=Race 1 addto=cloudbase south west x=0 y=1250 z=25900
$shiplist = alloc new array size: 0
append Nova Raider to array $shiplist
append Nova Vanguard to array $shiplist
Etc....
$shiplist.size = get size of array $shiplist
$count = 0...
while $count < $shiplist.size
$ship = $shiplist [$count]
$shipyard -> add product $ship
= $shipyard -> add 1 units of $ship
inc= $count
end
the orange lines are the ones i am having trouble finding and editing
$shiplist = alloc new array size: 0
append Nova Raider to array $shiplist
append Nova Vanguard to array $shiplist
Etc....
$shiplist.size = get size of array $shiplist
$count = 0...
while $count < $shiplist.size
$ship = $shiplist [$count]
$shipyard -> add product $ship
= $shipyard -> add 1 units of $ship
inc= $count
end
the orange lines are the ones i am having trouble finding and editing
- Dioltas As Dia
- Posts: 584
- Joined: Fri, 9. Dec 05, 22:28
$shipyard = create station: type=Argon Federal Argon Shipyard owner=Race 1 addto=cloudbase south west x=0 y=1250 z=25900
$shiplist = alloc new array size: 0
append Nova Raider to array $shiplist
append Nova Vanguard to array $shiplist
Etc....
$shiplist.size = get size of array $shiplist
$count = 0...
while $count < $shiplist.size ...
$ship = $shiplist [$count]
$shipyard -> add product $ship
= $shipyard -> add 1 units of $ship
inc= $count
end
the orange lines are the ones i am having trouble with
with the line (using <retvar/IF> <expression>)
is this finished as i keep getting (when i save it)
error in script 'stevio.shipyard'
conditional statement without end in line 184
and because of this i cannot get end on the last line
$shiplist = alloc new array size: 0
append Nova Raider to array $shiplist
append Nova Vanguard to array $shiplist
Etc....
$shiplist.size = get size of array $shiplist
$count = 0...
while $count < $shiplist.size ...
$ship = $shiplist [$count]
$shipyard -> add product $ship
= $shipyard -> add 1 units of $ship
inc= $count
end
the orange lines are the ones i am having trouble with
with the line (using <retvar/IF> <expression>)
Code: Select all
184 while $count <$shiplist.size ...
error in script 'stevio.shipyard'
conditional statement without end in line 184
and because of this i cannot get end on the last line
- Dioltas As Dia
- Posts: 584
- Joined: Fri, 9. Dec 05, 22:28
sorry been at college all day.
a few people have mentioned this problem. Hmmmmm
try this
-> scroll down to the script name Stevio.missilefabs
-> press "r"
-> select ship or station press "enter"
-> choose shipyard on pop up galaxy map
-> select station press "enter"
-> choose shipyard on pop up galaxy map
for some reason it sometimes needs a "Bump Start"
i will have to look into this
[mutters] perhaps its the argument??? [/mutters]
a few people have mentioned this problem. Hmmmmm
try this
-> scroll down to the script name Stevio.missilefabs
-> press "r"
-> select ship or station press "enter"
-> choose shipyard on pop up galaxy map
-> select station press "enter"
-> choose shipyard on pop up galaxy map
for some reason it sometimes needs a "Bump Start"
i will have to look into this
[mutters] perhaps its the argument??? [/mutters]
Re: [SCRIPT]Stevio Combat Fabs V2.80 *UPDATED* 11/02/2006
V2.80 - 11/02/2006
- added Free Argon Trading station
- added Argon Equipment Dock
- added Federal Argon Shipyard
- added Player Head Quarters
Cheers
Stevio
- added Free Argon Trading station
- added Argon Equipment Dock
- added Federal Argon Shipyard
- added Player Head Quarters
Cheers
Stevio
or you could dostevio wrote:$shipyard = create station: type=Argon Federal Argon Shipyard owner=Race 1 addto=cloudbase south west x=0 y=1250 z=25900
$shiplist = alloc new array size: 0
append Nova Raider to array $shiplist
append Nova Vanguard to array $shiplist
Etc....
$shiplist.size = get size of array $shiplist
$count = 0...
while $count < $shiplist.size
$ship = $shiplist [$count]
$shipyard -> add product $ship
= $shipyard -> add 1 units of $ship
inc= $count
end
the orange lines are the ones i am having trouble finding and editing
Code: Select all
$shiplist.size = get size of array $shiplist
while $shiplist.size
dec $shiplist.size
$ship = $shiplist [$shiplist.size]
$shipyard -> add product $ship
= $shipyard -> add 1 units of $ship
end