Map script for victory?
#1
Posted 07 March 2008 - 01:00 PM
Now I will be defeated if I start a map without buildings and porters.
I will like so make a script how says that you only loose the game if there is no units left.
#2
Posted 07 March 2008 - 01:47 PM
PlayerTemplate FactionDwarves StartingUnit1 = NONE StartingUnitOffset1 = X:30 Y:215 Z:0 StartingUnit0 = NONE StartingUnitOffset0 = X:1 Y:120 Z:0 End
for each of the factions. I think that's how it's done.
And if you want to start without a fortress, use a beacon instead of a waypoint for the Player_X_Start starting points.
#3
Posted 07 March 2008 - 09:28 PM
StartingUnitTacticalWOTR = None ;// This unit is placed in tactical mode when playing WOTR. Add multiple lines for multiple units. StartingUnitTacticalWOTR = None
For now the player imminently loose the game. So what I need is a script for that a player doesn't loose before all units is killed, any idea?
Edited by fistersn, 08 March 2008 - 10:00 PM.
#4
Posted 11 March 2008 - 02:47 PM
Aren't there any good tutorial for this? The Video Tutorial links dosen't work.
I want a player to be defeated when all units is killed and not when the porters and buildings is destroyed.
#6
Posted 11 March 2008 - 06:35 PM
Maybe I can add a fortress for each faction outside the map itself?
And have a script saying that the fortress for a player will be destroyed if all units is killed.
Will that work for a wotr map?
#8
Posted 11 March 2008 - 07:52 PM
My issues is to start without buildings and porters, and then don't be defeated.
#9
Posted 15 March 2008 - 07:08 PM
#11
Posted 15 March 2008 - 07:34 PM
#12
Posted 15 March 2008 - 08:02 PM
I am no not deafeted, my problem now is that the player is not killed
My script
IF Player'<This Player'>has dosen't have units in are 'Kart' Actions if true All of player'<This Player'>"buildings and units are dealt a lethal amount of damage Actions if false Null operation
I also need help with how to disable buildings for the computer players.
Edit: 16.03-08: I have fixed the defeat code. My problem now is to avoid the computer players to be defeated when they dosen't have any buildings left. How can I do that?
Edited by fistersn, 16 March 2008 - 12:04 AM.
#13
Posted 18 March 2008 - 12:38 PM
#14
Posted 19 March 2008 - 06:26 PM
#15
Posted 09 May 2008 - 11:04 AM
The problem what I have is, that in a "War of the ring mode, map" all ai players that come inn to the map without any building are been defeated. I have solved this problem for the human players, as I added a fortress for each player outside the map.
How can I solve this for the ai players?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users