ddewar10
  • ddewar10
  • 55.25% (Neutral)
  • Private Topic Starter
14 years ago
My brother and I just started using the world builder, and are trying to make a map that is infantry specific. We were trying to start each team in a multiplayer map with a bunch of infantry and a barracks. Is this at all possible? Ever time we tried the units always came up as civilian units. Any Advise/tips/tricks?

Thanks!
Sponsor
BR-Alexandre
14 years ago
it will take a lot of work but you have to make scripts for every player type (faction) in every starting position to spawn the units and buildings you want the player to have.
"The Only Way To Have Peace is Prepare for War" <---I forgot who said this...
"Lasers make superior weapons!" <--- Townes
"Laser crusader ready for engagement" <--- Laser Crusader Tank
"Tactical lasers online" <--- Avenger Support Venhice
"Storm climbed mountain" <--- Pathfinder Elite Infantry
"Ready for covert mission" <--- Stealth Fighter Tactical Support
i^love^mixery
14 years ago
it is possible but it takes a lot of scripts.

you have to transfer the units to the related players manually with scripting.
ddewar10
  • ddewar10
  • 55.25% (Neutral)
  • Private Topic Starter
14 years ago
Is there a way to maybe script a barracks so it can only produce one type of unit or anything like that? Maybe make it so you can only produce Humvees and infantry?
BR-Alexandre
14 years ago
hmmm you can try replace normal barracks for eveny faction with a different one and then remove/add the commandbuttons for the structure to do only what you want it to
"The Only Way To Have Peace is Prepare for War" <---I forgot who said this...
"Lasers make superior weapons!" <--- Townes
"Laser crusader ready for engagement" <--- Laser Crusader Tank
"Tactical lasers online" <--- Avenger Support Venhice
"Storm climbed mountain" <--- Pathfinder Elite Infantry
"Ready for covert mission" <--- Stealth Fighter Tactical Support
ddewar10
  • ddewar10
  • 55.25% (Neutral)
  • Private Topic Starter
14 years ago
Alright, sorry for all the questions, but now my scripting doesn't seem to be working correctly. We are trying to do a multiplayer map with 2 starting positions. Any advice on what to name the players? or Do we use the skimish team names? or Just tips for scripting for multiplayer in general? Sorry again, it just doesn't seem to be working as expected.
i^love^mixery
14 years ago
you have to place the units on the map and then you give them a NAME.

then you go to scripting menu and then you transfer named units to the players with the following script:
**If**
true

**then**
Player -> Transfer -> transfer a specific unit to the control of a player

for unit name you select the names of the unit that you have placed on your map.
for player names you use player0 - player7.
player0 = host of the game
player1 = guy in 2nd game slot
player2 = guy in 3rd game slot
player3 = guy in 4th game slot
player4 = guy in 5th game slot
player5 = guy in 6th game slot
player6 = guy in 7th game slot
player7 = guy in 8th game slot

you see that this are unspecific names and its pretty much random if you will get the right units transfered to the right player without further scripting.

you have to check where which player is and that takes a lot of scripts.