This is driving me insane... Help me with a UMS trigger!
Posted: Thu Sep 25, 2008 5:29 am
Hi, I'm having a tough time trying to fix something in a UMS map... Please help!
I'm trying to fix an exploit in a Random Unit Wars map.
Overview of map:
Once the the map starts, you are only given a civilian (Leader) with 9999HP. There is also a timer counter. Every time this counter reaches zero, Player 8 (Neutral) will spawn a random unit next to your civ, and it will be instantly turned into your own unit. The objective of the map is to kill other civilian leaders.
Now, since the units spawn next to your civ, players have been exploiting this. If you place your civilian in a transporter, or near a cliff where ground units can't be placed and the counter hits zero, the game will give the "Cannot create unit" error, and cycle through the random units until it lands on an air unit. Players can exploit this, so that they ONLY get air units. Big exploit. I want to fix this.
Perhaps its possible to "Create unit" at a UNIT and not a LOCATION? This might fix the problem.
Also, the map contains this "Location 63" that may be a solution if I can work with it, but its absolutely no where to be found in the map... I deleted all the other locations, change terrain, etc, but this Location 63 NOWHERE to be found!
So, can anyone help me out?
Here is the code:
Actual map file: http://absolutely-corrupt.com/uploads/r ... loited.scm
I'm trying to fix an exploit in a Random Unit Wars map.
Overview of map:
Once the the map starts, you are only given a civilian (Leader) with 9999HP. There is also a timer counter. Every time this counter reaches zero, Player 8 (Neutral) will spawn a random unit next to your civ, and it will be instantly turned into your own unit. The objective of the map is to kill other civilian leaders.
Now, since the units spawn next to your civ, players have been exploiting this. If you place your civilian in a transporter, or near a cliff where ground units can't be placed and the counter hits zero, the game will give the "Cannot create unit" error, and cycle through the random units until it lands on an air unit. Players can exploit this, so that they ONLY get air units. Big exploit. I want to fix this.
Perhaps its possible to "Create unit" at a UNIT and not a LOCATION? This might fix the problem.
Also, the map contains this "Location 63" that may be a solution if I can work with it, but its absolutely no where to be found in the map... I deleted all the other locations, change terrain, etc, but this Location 63 NOWHERE to be found!
So, can anyone help me out?
Here is the code:
Actual map file: http://absolutely-corrupt.com/uploads/r ... loited.scm