I am making a map, and I am in need of assistance.
I need someone who would help me, or anyone to tell me how to make units spawn when you enter training grounds.
Also I would like a level system, but I cant find a suitable one in tutorials.
Please help!
Uh... the first part is pretty easy... just have a location at the training grounds and have a trigger set to spawn units when the player is sent or steps on the training location...
==============
Conditions
==============
==============
Players
Whoever are training
==============
==============
Conditions;
Current player brings at least 1 men to location "Training area easy"
==============
==============
Actions;
Create 5 "Enemy units" at "training area easy"
Preserve trigger
==============
Now if you want it so the training units die when the player isnt there
==============
Players
Whoever are training
==============
==============
Conditions
Current player brings exactly 0 men to "train area easy"
==============
==============
Actions
Kill all men for "Enemy" at "train easy"
Preserve trigger
==============
hope that works
Thank you, Now does anyone know a good level system. One that will add to your attack every 10,20,30, etc... kills
You could always use a system that gives the player just enough of a resource to buy whatever weapon/armor upgrades for their level up, and have the building preplaced in a closed off area. If you want to do the system with no variable for tougher enemies, you could use the 'kill' condition, and set it to however many kills of '[men]'. If you want to add a variable to the system, you could use 'score' to detect a kills score for the player. Each unit adds something different to it, going from 25 to 5000 or more for non-hallucinated units.
Current player kills atleast 10 units: add 10 minerals.
Current player kills atleast 20 units: add 10 minerals.
Current player kills atleast 30 units: add 10 minerals.
You can use a program called SCTrigger to make these automatically, or you can use other kills to cash methods.
Kills to Cash Tutorial
http://www.staredit.net/index.php?tutorial=81SCTrigger
http://www.staredit.net/index.php?download=880Also, for the training, I'd recommend having the conditions "Current player brings atleast 1 any unit to training area" AND "Foes bring exactly 0 units to training area," so men only spawn once you kill them all.
Yay finally, my first thank you. As for the leveling system you have to make it upgrades for an attack. Theres no trigger that adds attack damage.
Ok Thank you guys, Ill just have to clear up an area for it x.x
Problem:
I have no space on my map
Did you run out of units or terrain room? If it's terrain room, then just make the building invincible and put it in some place where it won't matter if you have it there (like in the starting area) If it's the unit limit.... just take out something that isn't very important, like a zergling or whatever the weakest enemy is.
QUOTE(DrgnAlchem @ Aug 23 2006, 08:49 PM)
Did you run out of units or terrain room? If it's terrain room, then just make the building invincible and put it in some place where it won't matter if you have it there (like in the starting area) If it's the unit limit.... just take out something that isn't very important, like a zergling or whatever the weakest enemy is.
[right][snapback]549697[/snapback][/right]
I got it, I just used starforge and added an extra width
I hope you backed up your map before you did that.. starforge edit dimensions can be very unstable. Even if it does work, the Anywhere location is not expanded with the rest of the map, and other issues could arise. Can be worth it though if not that much bad stuff happens and you backup beforehand.
You might want to start over. StarForge creates a back up version of your map, but messes up the whole map altogether. What he means is, if you create a back up map, you can restart on the back up map if Starforge messes up your thing. Also, Starforge often causes glitches in the original editor, so once with Starforge, always with Starforge. In other words, you just got yourself into a mess if you didn't create a back up file.
What I would suggest for the leveling up system, would be:
-
PLAYER
-
Always
-
SetLeaderBoardScore(KILLS)
-
-
PLAYER
-
Score(KILLS)AtLeast 500
-
SubtractScore(KILLS)500
SetResources(AddAMOUNT)
-
That way, you won't have to do the KILLS thing for alot of triggers, and the thing is already set up.
Anyway, good luck with your map. I hope I was a help somehow.