Staredit Network

Staredit Network -> UMS Assistance -> Training Area
Report, edit, etc...Posted by Zeanon-B- on 2006-08-23 at 20:33:51
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!
Report, edit, etc...Posted by Pyro_Maniak14 on 2006-08-23 at 21:05:29
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...
Report, edit, etc...Posted by JordanN_3335 on 2006-08-23 at 21:13:03
==============
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


Report, edit, etc...Posted by Zeanon-B- on 2006-08-23 at 21:19:39
Thank you, Now does anyone know a good level system. One that will add to your attack every 10,20,30, etc... kills
Report, edit, etc...Posted by DrgnAlchem on 2006-08-23 at 21:26:36
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.
Report, edit, etc...Posted by fritfrat(U) on 2006-08-23 at 21:26:40
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=81

SCTrigger
http://www.staredit.net/index.php?download=880



Also, 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.
Report, edit, etc...Posted by JordanN_3335 on 2006-08-23 at 21:26:53
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.
Report, edit, etc...Posted by Zeanon-B- on 2006-08-23 at 21:29:09
Ok Thank you guys, Ill just have to clear up an area for it x.x
Report, edit, etc...Posted by JordanN_3335 on 2006-08-23 at 21:31:10
Thats your que DTBK.
Report, edit, etc...Posted by Zeanon-B- on 2006-08-23 at 21:41:48
Problem:
I have no space on my map
Report, edit, etc...Posted by DrgnAlchem on 2006-08-23 at 21:49:26
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.
Report, edit, etc...Posted by Zeanon-B- on 2006-08-23 at 21:55:00
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
Report, edit, etc...Posted by fritfrat(U) on 2006-08-23 at 22:00:13
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.
Report, edit, etc...Posted by Staredit.Net Essence on 2006-08-25 at 08:48:43
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.
Next Page (1)