Get rid fo this ad! Click here to register for your free account.

Welcome to the BF Forums! Register Now, It's Free!

Welcome to the BF Forums; your source for the latest and greatest video game news, strategies, discussions, and resources. Join over 60,000 like-minded gamers from around the world to chat about your interests in our community.

You are currently viewing the forums as a guest user, which limits your access to certain content, contests, downloads, and more. By joining our free community, you will be able to respond in discussions/articles, contact members privately (PM), participate in regular-scheduled contests, see less advertisements, and have access to many other features. Registration is quick, easy, and completely free.

Have your questions answered. Share your thoughts about a topic. Take 2 minutes, Register Now!
Register for free today, and these ads will disappear!
BattleForums.com Forums > Major Games > Warcraft > Warcraft Maps and Modifications

##Click Here## | BF Lotto: $50 Ebay or Amazon Gift Card - A Single Click is All It Takes...

Reply
 
Thread Tools Display Modes
Old 04-26-2006, 08:19 PM   #1 (permalink)
BattleForums Newbie
 
Join Date: Apr 2006
Posts: 11
Creep Respawn ... how ?

I been trying to find out how the hero and RPG maps and such have respawning Creeps ... and i am wanting the same but im wanting to know if there is a simple way of doing this other then :hbut using a bunch of regions and unit groups and varables to know which unit group goes to which region and checking every min or so and bla bla blaaa :hbut

if anyone has info on how to do this or knows of a map that shows a good way of do this (unprotected of corse) thx ... because i am wanting to make a VERY large map and dont want to use to many triggers then needed

:shocked :shocked :shocked :shocked :shocked
Galmore is offline   Reply With Quote
Alt Heute
Advertising

Beitrag Sponsored Links

__________________
Ads suck! Take 2 minutes to register for your free account, and GET RID OF THESE ADS!
   
Old 04-27-2006, 12:19 AM   #2 (permalink)
[F-Zero Fanatic]
 
Chris's Avatar
 
Join Date: May 2003
Location: Phantom Road
Age: 22
Posts: 15,329
You could have an array of different numbers. Each number will represent a different creep count. Now, every few seconds or minutes or whatever, create monsters using the numbers stored in the array.

I can't really load up WE to help you out, but I believe this might help you lead into the right direction.
__________________


The Purpose of DTD is not to show off how good you are.
But to do an insane flying move and landing at 3000 km/h.
Hopefully, without crashing into something or flying off in the process.

Hellwolf_36@D2Maniacs
Jessica_McAllen - Zy-el Bowazon - Level 10 of 10000
Chris is offline   Reply With Quote
Old 04-27-2006, 12:26 AM   #3 (permalink)
BattleForums Newbie
 
Join Date: Apr 2006
Posts: 11
Quote:
You could have an array of different numbers. Each number will represent a different creep count. Now, every few seconds or minutes or whatever, create monsters using the numbers stored in the array.
Ya i know of a ways of doing it im wanting to know if theres a in game Constant that controls if the Creeps that get placed using the Random Units for neutral hostle will respawn a random unit from that group

but ya i know i could go throu all the hassle of creating a huge respawn trigger setup but i am hoping that blizzard put in an update to allow creeps to be flaged a respawning ..... i just disnt want to spend a lot of time on a trigger system if theres a way to do it already built into WE

Im assumeing no
but thx
Galmore is offline   Reply With Quote
Old 04-27-2006, 04:49 AM   #4 (permalink)
Aya Matsuura is awesome
 
x42bn6's Avatar
 
Join Date: Nov 2002
Location: Trieste, Friuli-Venezia Giulia
Age: 20
Posts: 14,994
If you don't mind, you could always consider giving them the Reincarnation ability.*
__________________
* Hang on a second...

Diablo III has been announced!

Here's what you need to do: Register a new account and tell the world what you think of this game.

Tell the damned world. The world wants to know.
x42bn6 is offline   Reply With Quote
Old 04-27-2006, 09:28 AM   #5 (permalink)
[F-Zero Fanatic]
 
Chris's Avatar
 
Join Date: May 2003
Location: Phantom Road
Age: 22
Posts: 15,329
Yeah, but if you give them Reincarnation, you do not get experience or gold until the unit dies while it is in its cooldown state.
__________________


The Purpose of DTD is not to show off how good you are.
But to do an insane flying move and landing at 3000 km/h.
Hopefully, without crashing into something or flying off in the process.

Hellwolf_36@D2Maniacs
Jessica_McAllen - Zy-el Bowazon - Level 10 of 10000
Chris is offline   Reply With Quote
Old 04-27-2006, 02:05 PM   #6 (permalink)
BattleForums Newbie
 
Join Date: Apr 2006
Posts: 11
I have decided to just split the map into X number of big regions. then just spawn in a max of Y mobs and every few sec give them orders to attack move to a random point in the big region there spawned in and check to every 30 sec or so if the number of those mobs is below the max i want in and respawn the number that are missing.

Havent finished ironing out the bugs but when i do ill post what i get :grunt

But im still looking for a detailed list of all Game Constants too
Galmore is offline   Reply With Quote
Old 04-28-2006, 11:29 AM   #7 (permalink)
[F-Zero Fanatic]
 
Chris's Avatar
 
Join Date: May 2003
Location: Phantom Road
Age: 22
Posts: 15,329
Yeah, I think I should write a guide on the constants this summer.

Watch it with the X and Y preset variables. I would use them for looping so just declare variables to store random numbers and generate creeps by those nums.
__________________


The Purpose of DTD is not to show off how good you are.
But to do an insane flying move and landing at 3000 km/h.
Hopefully, without crashing into something or flying off in the process.

Hellwolf_36@D2Maniacs
Jessica_McAllen - Zy-el Bowazon - Level 10 of 10000
Chris is offline   Reply With Quote
Old 04-28-2006, 01:51 PM   #8 (permalink)
BattleForums Newbie
 
Join Date: Apr 2006
Posts: 11
I figured out a MUCH easyer way then the regions ...

Code:
Spawn Tester
    Events
        Unit - A unit owned by Neutral Hostile Dies
    Conditions
        ((Triggering unit) is A Hero) Equal to False
        ((Triggering unit) is A structure) Equal to False
        ((Triggering unit) is Summoned) Equal to False
    Actions
        Game - Display to (All players) the text: ((String((Unit-type of (Triggering unit)))) +  is the type)
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                Or - Any (Conditions) are true
                    Conditions
                        (Unit-type of (Triggering unit)) Equal to Frost Wolf Level 1
                        (Unit-type of (Triggering unit)) Equal to Frost Wolf Level 2
                        (Unit-type of (Triggering unit)) Equal to Frost Wolf Level 3
                        (Unit-type of (Triggering unit)) Equal to Frost Wolf Level 4
                        (Unit-type of (Triggering unit)) Equal to Frost Wolf Level 5
            Then - Actions
                Game - Display to (All players) the text: nooooooooooooooooooo
                Wait 10.00 seconds
                Unit - Create 1 Mobs_type[(Random integer number between 1 and 5)] for Neutral Hostile at (Position of (Triggering unit)) facing (Angle from (Position of (Triggering unit)) to (Position of (Killing unit))) degrees
            Else - Actions
The facing (Angle from (Position of (Triggering unit)) to (Position of (Killing unit))) is really needed but

This works its cool and so for each set of Creeps you want to spawn u can check to see if they die and if so spawn a nother from that set or even spawn the same one

hehe im so PROUD lol ... still hate i waste so much time on a region respawning system thou
Galmore is offline   Reply With Quote
Old 04-28-2006, 05:10 PM   #9 (permalink)
BattleForums Senior Member
 
Dream_Walker's Avatar
 
Join Date: Feb 2005
Location: Arcanum
Age: 17
Posts: 1,909
Nice job on figuring that out. I have been wondering about the same thing myself.
__________________
(\_/)
(O.o)
(> <) Bunnies rule the world. Paste him in your sig for world domination!
Married to §tar§oft
:heart Krobelus :heart

Quote:
Originally Posted by §tar§oft
don't make me smother your face in my thousand year old pussy
Quote:
Originally Posted by Trojan
Because Jenny is like an unfiltered bottle of water. You want it, but once you see whats on the bottom, you go ewww.
Thanks to Hellwolf_36 for my avatars .
Dream_Walker is offline   Reply With Quote
Old 04-29-2006, 09:00 PM   #10 (permalink)
[F-Zero Fanatic]
 
Chris's Avatar
 
Join Date: May 2003
Location: Phantom Road
Age: 22
Posts: 15,329
That is why Map Devel is so amazing. Hell, I saw a bubble sort trigger and even the random hero function just by looking thru the boards.
__________________


The Purpose of DTD is not to show off how good you are.
But to do an insane flying move and landing at 3000 km/h.
Hopefully, without crashing into something or flying off in the process.

Hellwolf_36@D2Maniacs
Jessica_McAllen - Zy-el Bowazon - Level 10 of 10000
Chris is offline   Reply With Quote
 
Reply

« JASS spell importing | Warcraft Map Editor »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


All times are GMT -4. The time now is 09:11 AM.



Powered by vBulletin® Version 3.7.2 | Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0