(Keeps Hive Alive)
Go Back   The Hive Workshop - A Warcraft III Modding Site > Warcraft III Modding > World Editor Help Zone

World Editor Help Zone Need help with Blizzard's World Editor? Ask general questions about its features and use in this forum. README!

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 09-05-2006, 01:15 AM   #1 (permalink)
 
CheM.Vox's Avatar

User
 
Join Date: Aug 2006
Posts: 3

CheM.Vox is an unknown quantity at this point (0)


Some Questions

Well, I'm working on a map, where when a User's hero health goes down slowly while "outside" of a building, but when the Hero is inside, it gains health, or that effect wears off. I'm not totally sure how to work it out. It'd be like in the game Wilderness Survival, how you need to stay heated, and regenerate back at your camp fire.

Also, are there any RPG-sort of tutorials I can take a look at ... because I need to figure out how to create a profession choosing system, or if someone could explain to me how it works, that would be very nice too. I'd also need to know if theres anyway to show a seperate experience gain in the profession, seperate from the Hero Level experience bar...

Any answers/suggestions would be much appreciated, thank you.

Last edited by CheM.Vox; 09-05-2006 at 02:58 AM.. Reason: Added more queries
CheM.Vox is offline  
Old 09-05-2006, 01:21 AM   #2 (permalink)
 
ArcticInferno's Avatar

Chiodos Fan.
 
Join Date: Jun 2006
Posts: 547

ArcticInferno has little to show at this moment (27)ArcticInferno has little to show at this moment (27)ArcticInferno has little to show at this moment (27)


No...You can just make a trigger like, (If you want the hero to lose 1 life per 2 seconds outside.)

Events
Time - Perodic Event - Every 2 seconds
Conditions
Actions
Deal 1 normal damage to (Chem.vox's unit)

Argh...something like that. Some one help me to put it in Triggy boxes again?

Then as for the healing stuff, you put a unit with the 'healing ward aura/healing fountain aura thingy', and give the unit the ability 'locust' so you wouldn't be able to click on the stuff you go inside. And lastly, set the model to 'tree of life upgrade' under abilities models. I'm sorry if I confused you some where :s I'm not very good with triggers.
__________________
Take everything away from me, silent angel. - Alesana

WARCRAFT 4 TRAILER!!
ArcticInferno is offline  
Old 09-05-2006, 01:24 AM   #3 (permalink)
 
ArcticInferno's Avatar

Chiodos Fan.
 
Join Date: Jun 2006
Posts: 547

ArcticInferno has little to show at this moment (27)ArcticInferno has little to show at this moment (27)ArcticInferno has little to show at this moment (27)


But the object data thing that I just said would do the healing effect indoors just fine. Of course, place it in the area you wanted it to regen! And make sure to set unit collision to 0!
__________________
Take everything away from me, silent angel. - Alesana

WARCRAFT 4 TRAILER!!
ArcticInferno is offline  
Old 09-05-2006, 01:34 AM   #4 (permalink)
 
CheM.Vox's Avatar

User
 
Join Date: Aug 2006
Posts: 3

CheM.Vox is an unknown quantity at this point (0)


Hmm ... would there be a way to work the triggers using Regions?
CheM.Vox is offline  
Old 09-05-2006, 06:40 AM   #5 (permalink)
 
operator's Avatar

User
 
Join Date: Feb 2006
Posts: 1,680

operator is on a distinguished road (78)operator is on a distinguished road (78)


Yes it would. Well, I asome this is a RPG, and you only control one hero:

Loosing Life trigger:
Test
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
For each (Integer A) from 1 to 12, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Outside[(Integer A)] Equal to True
Then - Actions
Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) - 1.00)
Else - Actions
Unit - Set life of (Triggering unit) to ((Life of (Triggering unit)) + 1.00)


''Oustide'' is just a boolean to keep track of if the hero is outside of inside.

now we have made that if a unit enters a ''house'' he will start gaining mana, and he will loose mana while being outside. But we need to make a trigger who says when a unit enters the house:
Test
Events
Unit - A unit enters House <gen>
Conditions
Actions
Set Outside[(Player number of (Owner of (Triggering unit)))] = False

We also need a trigger that says when the unit leaves the house:
Test
Events
Unit - A unit leaves House <gen>
Conditions
Actions
Set Outside[(Player number of (Owner of (Triggering unit)))] = True


that should be it
__________________
This post is written by

~Operator
____

Last edited by Warnicro; 09-05-2006 at 07:49 PM..
operator is offline  
Old 09-05-2006, 08:10 AM   #6 (permalink)
 
ArcticInferno's Avatar

Chiodos Fan.
 
Join Date: Jun 2006
Posts: 547

ArcticInferno has little to show at this moment (27)ArcticInferno has little to show at this moment (27)ArcticInferno has little to show at this moment (27)


Ah...There's the triggerer. But where's the trigger boxes?
__________________
Take everything away from me, silent angel. - Alesana

WARCRAFT 4 TRAILER!!
ArcticInferno is offline  
Old 09-05-2006, 03:49 PM   #7 (permalink)
 
operator's Avatar

User
 
Join Date: Feb 2006
Posts: 1,680

operator is on a distinguished road (78)operator is on a distinguished road (78)


I coulden't find out how to make them :S
__________________
This post is written by

~Operator
____
operator is offline  
Old 09-05-2006, 05:31 PM   #8 (permalink)
 
CheM.Vox's Avatar

User
 
Join Date: Aug 2006
Posts: 3

CheM.Vox is an unknown quantity at this point (0)


I had trouble finding some things but, I'll try putting Trigger in.
Lose Hp
Events
Time - Every 2.00 seconds of game time
Conditions
Actions
For each (Iteger A) from 1 to 12, do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If Conditions
Then - Actions
Unit - Set life of (Triggering Unit) to (Life of (Triggering unit))
Else - Actions
Unit - Set life of (Triggering Unit) to (Life of (Triggering unit))

I couldn't find the +1.00, -1.00 in there, nor the "Outside[(Integer A)] Equal to True". :S
Also, in the other ones I couldn't locate the "Set Outside[(Player number of (Owner of (Triggering unit)))] = True" Could you tell me where these are?
CheM.Vox is offline  
Old 09-05-2006, 06:26 PM   #9 (permalink)
 
operator's Avatar

User
 
Join Date: Feb 2006
Posts: 1,680

operator is on a distinguished road (78)operator is on a distinguished road (78)


You have to create a variable boolean called ''outside
__________________
This post is written by

~Operator
____
operator is offline  
Old 09-05-2006, 08:19 PM   #10 (permalink)
 
Warnicro's Avatar

cinematographer
 
Join Date: Jun 2004
Posts: 529

Warnicro has little to show at this moment (56)

Respected User: This user has been given the respected user award. 

ehm, why don't you just make a building and give it an healing aura?
__________________
Warnicro is offline  
Old 09-06-2006, 03:54 PM   #11 (permalink)
 
operator's Avatar

User
 
Join Date: Feb 2006
Posts: 1,680

operator is on a distinguished road (78)operator is on a distinguished road (78)


Well, that would work. But it woulden't be as exact as my trigger
__________________
This post is written by

~Operator
____
operator is offline  
Old 09-07-2006, 12:40 AM   #12 (permalink)
 
ArcticInferno's Avatar

Chiodos Fan.
 
Join Date: Jun 2006
Posts: 547

ArcticInferno has little to show at this moment (27)ArcticInferno has little to show at this moment (27)ArcticInferno has little to show at this moment (27)


That's precisely what I said, warnico, but he wants to lose health outside. And he wants it to work with regions.
__________________
Take everything away from me, silent angel. - Alesana

WARCRAFT 4 TRAILER!!
ArcticInferno is offline  
Old 09-08-2006, 12:21 AM   #13 (permalink)
 
Warnicro's Avatar

cinematographer
 
Join Date: Jun 2004
Posts: 529

Warnicro has little to show at this moment (56)

Respected User: This user has been given the respected user award. 

Well make him loose life with a periodic event and maintain that trigger to execute, and then place aura buildings wherever you want the person to re-charge ;)
__________________
Warnicro is offline  
Old 09-14-2006, 09:35 PM   #14 (permalink)
 
Thunder_eye's Avatar

User
 
Join Date: May 2004
Posts: 207

Thunder_eye has little to show at this moment (5)


just set units hpreg to negative and use healing auras like warnicro said
Thunder_eye is offline  
Closed Thread

Bookmarks

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 On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with "select allies/hero/units" ability Brulogaz World Editor Help Zone 4 06-04-2008 02:45 PM
["Models"] - "Maincharacters of Final Fantasy VII" DarkChaplain Requests 18 12-25-2007 03:41 PM
"Click" area around hero too big Kludge World Editor Help Zone 4 10-27-2007 03:30 PM
NEW MAP "Hero Defense - Footmen Wars" Ryxian Map Development 0 11-11-2004 03:39 PM
Some bugs about The "X hero Siege" maps Apposer Map Development 0 09-24-2004 01:23 PM

All times are GMT. The time now is 05:03 AM.






Your link here 
Mortgage Calculator | Guitar Lessons | Internet Advertising | Find Local Jobs | Ringtones
Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
Copyright©Ralle