How to choose which country you want to be on a world war map?

Bradleymee

New Member
Reaction score
0
hi i'm new. but anyway: i have this World War map where i want to be able to choose which country i want to be. i downloaded it off of a website and it only picks a random country for me to be. and i also want to be a different color when i choose too. because i'm planning on this map to be for me against computers. but one problem. i cant choose which country i want to be so for example: i might end up being south america when i want to be north america. so heres the thing i want to do: make a player 1 selection of which country i want to be AND the color of that country switching depending on which country i pick kind of like the civilization series. so can someone give me a full detail on how i can edit this map to make selectable countries and colors?i cant find a tutorial on how to do that.:confused:
 

jig7c

Stop reading me...-statement
Reaction score
123
you probably need a lot of trigger knowledge to do this...
we can't just help you when we don't know what your current triggers look like...

you might have to add some triggers to manually pick countries and disable the random selection triggers...
either your post your map or post some triggers so we can look at it...
 

Bradleymee

New Member
Reaction score
0
heres the Dialog using north america as an example (with fixed starting locations for players if that makes it any different?)
the dialog box
Events
Time - Elapsed game time is 1.00 seconds
Conditions
Actions
Dialog - Clear Dialog
Dialog - Change the title of Dialog to Choose a Country
Dialog - Create a dialog button for Dialog labelled North America
Set Dialogbutton = (Last created dialog Button)
-------------------------------------------------------------------------------
North America
Events
Dialog - A dialog button is clicked for Dialog
Conditions
(Clicked dialog button) Equal to (Last created dialog Button)
Actions
(dont know what to do here)
 

Bradleymee

New Member
Reaction score
0
and this is another that the creator of this map did:
Melee Initialization
Events
Map initialization
Conditions
Actions
Melee Game - Use melee time of day (for all players)
Melee Game - Limit Heroes to 1 per Hero-type (for all players)
Melee Game - Give trained Heroes a Scroll of Town Portal (for all players)
Melee Game - Set starting resources (for all players)
Melee Game - Remove creeps and critters from used start locations (for all players)
Melee Game - Create starting units (for all players)
Melee Game - Run melee AI scripts (for computer players)
Melee Game - Enforce victory/defeat conditions (for all players)
 

TriggerBomb

New Member
Reaction score
3
If I understood your proplem right you have proplem how to select your own country I think I found the proplem in trigger.

There is no "Show Dialog to *Player* Action on first trigger..

You should make it Show [That Dialog] to Player 1 (Red)

Also, trigger that functions when button is clicked should have Action's of A:
Creating your Units into that area (?)

Or B: If Unit's are allready created in Map Editor then "Change Owner" of unit to "Triggering Player"?
 

Sjaakje

New Member
Reaction score
9
You don't have to do it via dialog, if you want a very easy solution (which is probably much better for any new world editorer) you could just use strings and game text.
Have a game text show all players what to type to be what country, use integer variables to set whether or not a country has been chosen, and allow strings of typed text to allow players to pick their country.
 

Bradleymee

New Member
Reaction score
0
ok so now i get what your saying. the problem is. there are fixed starting locations for each country and it wont let me change player 1(red's) starting location. so do i just uncheck fixed start location in player properties or do i have to do something else?
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top