Page 1 of 1
LUA decryption regarding convoys
Posted: Tue Aug 25, 2015 1:41 pm
by Rongor
DefineConvoy(2, 32, 76, 100, 10, 6, 1) -- Africa west1
Any idea what the red numbers say?
RE: LUA decryption regarding convoys
Posted: Tue Aug 25, 2015 4:14 pm
by DanielHerr
Look in scripts/game/game_convoys.lua.
Code: Select all
function DefineConvoy(faction, x, y, cargo, interval, spawnturn, blockadable)
RE: LUA decryption regarding convoys
Posted: Tue Aug 25, 2015 4:36 pm
by operating
ORIGINAL: DanielHerr
Look in scripts/game/game_convoys.lua.
Code: Select all
function DefineConvoy(faction, x, y, cargo, interval, spawnturn, blockadable)
Daniel,
Where does one learn how to interpret information from the lua files as you have just described?
Curious, Bob[8|]
RE: LUA decryption regarding convoys
Posted: Tue Aug 25, 2015 5:11 pm
by Rongor
cool stuff, thanks Daniel!
RE: LUA decryption regarding convoys
Posted: Wed Aug 26, 2015 4:01 am
by Rongor
I guess spawntime is responsible only to tell in which turn of the game the convoy spawns for the first time?
And is the interval connected to some probability values? Or is it saying exactly every X turns?