How to script leveling a trader to 25
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
How to script leveling a trader to 25
How can I script leveling a Sector / U trader to 25.. (this is for litcubes mod so I dont want to use cycrows and i think the scripts are a little different when I look at them)
If anyone knows id be greatly apreciative.. I am doing it for testing purposes..
(I can manage to rename the pilots name but not the actual trade level ive messed with the trade level / fight level but that doesnt seem to effect it)
If anyone knows id be greatly apreciative.. I am doing it for testing purposes..
(I can manage to rename the pilots name but not the actual trade level ive messed with the trade level / fight level but that doesnt seem to effect it)
If you want all your TS at level 25 :
Code: Select all
$AllShips = get ship array: of race [Player] class/type=[TS]
for each $Ship in array $AllShips
$Ship-> set local variable: name='experience' value=25
end
Alternatively you could use OK Traders which is reported as being compatible with LU in some other thread. OK Traders do not require any leveling and only require Trading Software MK1/Mk2.
When not homebased they work like vanilla UTs (but with more options to blacklist sectors, to have traders automatically equip themselves with certain wares, they will jump out of a sector after they are targeted instead of waiting to be attacked, etc).
A homebased OK Trader will act like a CAG (or like LU's Station/Dock Agents) but you get more options to configure them, you can configure which wares they will trade in so you could have one homebased TL only trade in energy cells, ore and teladianium for your dock as those require huge cargo spaces while leaving smaller/faster OK Traders handle the small cargo high tech stuff.
When not homebased they work like vanilla UTs (but with more options to blacklist sectors, to have traders automatically equip themselves with certain wares, they will jump out of a sector after they are targeted instead of waiting to be attacked, etc).
A homebased OK Trader will act like a CAG (or like LU's Station/Dock Agents) but you get more options to configure them, you can configure which wares they will trade in so you could have one homebased TL only trade in energy cells, ore and teladianium for your dock as those require huge cargo spaces while leaving smaller/faster OK Traders handle the small cargo high tech stuff.