Questions

Warplan is a World War 2 simulation engine. It is a balance of realism and playability incorporating the best from 50 years of World War 2 board wargaming.

Moderator: AlvaroSousa

Post Reply
Isoko
Posts: 84
Joined: Fri May 19, 2017 1:43 pm

Questions

Post 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?
User avatar
AlvaroSousa
Posts: 12075
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Questions

Post 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
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Isoko
Posts: 84
Joined: Fri May 19, 2017 1:43 pm

RE: Questions

Post 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?
User avatar
AlvaroSousa
Posts: 12075
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Questions

Post 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.
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Isoko
Posts: 84
Joined: Fri May 19, 2017 1:43 pm

RE: Questions

Post 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.
User avatar
AlvaroSousa
Posts: 12075
Joined: Mon Jul 29, 2013 7:13 pm
Contact:

RE: Questions

Post by AlvaroSousa »

You got it!
Creator Kraken Studios
- WarPlan
- WarPlan Pacific

Designer Strategic Command
- Brute Force (mod) SC2
- Assault on Communism SC2
- Assault on Democracy SC2
- Map Image Importer SC3
Post Reply

Return to “WarPlan”