• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Adding a new race to a maul and adding a spawn

Status
Not open for further replies.

zid

zid

Level 2
Joined
Jul 18, 2008
Messages
10
I need help adding a new race for a maul and adding a spawn for two players.
I also want to put myself in the credits but so far I only figured out how to fix up the terrain and other basics. Anyone want to pitch some ideas or instructions so I can do any or all of this? Need help removing objects I didn't place too.


-None of this is working for me. Anyone want to add a spawn for me? The tutorials are too confusing for me, I'll email the file if anyone wants to add a spawn for yellow. (It was originally FF Maul XI)
 
Last edited:
Level 28
Joined
Mar 25, 2008
Messages
2,955
I need help adding a new race for a maul and adding a spawn for two players.
I also want to put myself in the credits but so far I only figured out how to fix up the terrain and other basics. Anyone want to pitch some ideas or instructions so I can do any or all of this?
Don't use more than 9 players - mostly 3 or 4 will leave..
Ehm for the credits - what credits do you mean? On quests or the loadscreen?
Anyways if you want to make a new spawn, make a new region (or 2 since most mauls spawn 2x20 units), go to the spawntriggers and copy the existing. Then change the location where they appear to your new regions et voilà
 

zid

zid

Level 2
Joined
Jul 18, 2008
Messages
10
It was the loading screen I got that part, it was under scenario. And yeah, this maul is really great but yellow doesn't have a spawn so I'm adding one there, thanks for your help. :)
 
Level 28
Joined
Mar 25, 2008
Messages
2,955
Aww i'll explain it again.
In your world editor, go to Layers -> Regions
Then put one region over the part of the map where you want the spawn to be.
In my maul it looks like this: whether you want yellow to have creeps coming from ONE side.
If you want creeps coming from more than one sides, you have to make it 2 regions -> like this: but remmber: unless you don't change the variable Monster_Amount, there will be 20 units per region which are created at the start of a level (i suppose).
So if you want ONE location for yellow with 40 creeps, put both regions next to each other. And don't forget to name them

To spawn the units, look under 'Core functions' (in triggers) for the trigger 'core function', it should look like this:
  • Unit Group - Create Monster_Amount Monster_Type for Player 12 at (Center of Left Spawn 2) <gen>
. Copy that and paste it under the triggers. Now change the (Center of Left Spawn 2 <gen> to your newly added regions.
And be sure to make them move to the waypoint you want them to move to. Therefore make a new trigger which puts them into a unitgroup and forces them to move to location x, as like
  • Events
    • Unit - A unit owned by Player 12 (Brown) enters *Your new region*
  • Conditions
  • Actions
    • Unit group - Pick every unit in *your region* owned by Player 12 and do Unit - Move (Picked unit) to location x
This trigger still leaks.
To remove the leak which is caused, you have to recreate the whole spawntrigger for ALL regions.
If you're interested in what it looks like, click the following thumbnail .
Unless the trigger being in german, it basically creates 1 unit of the level's respective monnster type at the center of the different regions' centers and orders the created unit to move to the waypoint i want it to. The whole thing is wrapped in an Integer Loop which repeats the unitspawn upto the predefined Monster_Amount (20).
I hope it helps D:
 

zid

zid

Level 2
Joined
Jul 18, 2008
Messages
10
Thanks :) that cleared everything up, I'll try it when I get back home. Thank you so much!
 
Status
Not open for further replies.
Top