Page 1 of 1

Questions

Posted: Sat Dec 21, 2019 11:41 am
by Isoko
Question1
Editor Map Edit
When delete Land Tile,appear sea tile.
I want to change sea tile.
I want to delete sea tile.
How to use sea tiles?

Question2
I don't understand loops.txt.
manual
loops.txt = Auto adjusting loops in the game for each type of unit.
loop construct. Auto adapts for land/air/naval
Parameters - enter x, enter y, exit x, exit y, delay in turns
What are enter x, enter y, exit x, exit y and delay in turns?
104,0,201,2,2
106,0,224,3,2
201,0,104,4,2
203,0,224,3,1
225,0,104,0,2
227,0,201,2,1
What do the above numbers mean?

Question3
For example I want to run a script when Italy has surrendered.
if_Country=7
if_Surrender=true

For example I want to run a script when Italy has not surrendered.
if_Country=7
if_Surrender=false
Are these correct?

RE: Questions

Posted: Sat Dec 21, 2019 12:40 pm
by AlvaroSousa
enterX, enterY, exitX, exitY, delay of turns to get there

You dont need anything else. But you do need to put a graphics or text so players know.


surrender yes you are correct

RE: Questions

Posted: Sat Dec 21, 2019 2:42 pm
by Isoko
Thank you Alvaro.
But I still don't understand.

Question 1
I delete land tile at location 120,58.
Two colored sea tiles appeared.
How to change sea tiles?

Question 2
For example created a scenario and a map.
How should I make loops.txt?

RE: Questions

Posted: Sat Dec 21, 2019 8:04 pm
by AlvaroSousa
In the loops.txt which would be under the scenario folder for the scenario you are creating

Each line like this
104,0,201,2,2 means....

Hex players enter to use loop is 104, 0
Hex where players will appear is 201,2
The delay is 2 turns.

Tile at 120.58.... the light blue color is just the outline color for the ocean. I was too lazy to change it also. If you save and reload that light blue will be gone and the right ocean boarder will be there. So don't worry about it.

Only use loops if you need to.
Copy a loop.txt file from a scenario and just use that format changing the locations.

RE: Questions

Posted: Sun Dec 22, 2019 12:29 am
by Isoko
Thank you Alvaro.
I understand.
Move units from A to B.
x and y are the locations of the map.
Ax,Ay,Bx,By,turn

Auto adjusting loops in the game for each type of unit.
I didn't understand the meaning of Auto adjusting loops.

RE: Questions

Posted: Sun Dec 22, 2019 10:58 am
by AlvaroSousa
You got it!