LUA decryption regarding convoys

Post new mods and scenarios here.

Moderator: MOD_Commander_The_Great_War

Post Reply
Rongor
Posts: 451
Joined: Tue Mar 25, 2014 7:35 am
Contact:

LUA decryption regarding convoys

Post by Rongor »

DefineConvoy(2, 32, 76, 100, 10, 6, 1) -- Africa west1

Any idea what the red numbers say?
DanielHerr
Posts: 23
Joined: Sat Feb 07, 2015 12:49 am

RE: LUA decryption regarding convoys

Post by DanielHerr »

Look in scripts/game/game_convoys.lua.

Code: Select all

function DefineConvoy(faction, x, y, cargo, interval, spawnturn, blockadable)
danielherr.github.io
User avatar
operating
Posts: 3158
Joined: Sat Jan 19, 2013 11:34 am

RE: LUA decryption regarding convoys

Post 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|]
and one flew over the Cuckoos nest
Rongor
Posts: 451
Joined: Tue Mar 25, 2014 7:35 am
Contact:

RE: LUA decryption regarding convoys

Post by Rongor »

cool stuff, thanks Daniel!
Rongor
Posts: 451
Joined: Tue Mar 25, 2014 7:35 am
Contact:

RE: LUA decryption regarding convoys

Post 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?
Post Reply

Return to “Mods and Scenarios”