(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!

Reply
 
LinkBack Thread Tools Display Modes
Old 10-13-2008, 03:47 PM   #1 (permalink)

User
 
Join Date: Oct 2008
Posts: 6

sobeg51 has a little shameless behavior in the past (-2)


Exclamation How can i make a cave port you to another cave?

Title says it all.. I want to make the region 000 port you to region 001 via CAVES :)

The problem is.. i dont want to use - Way gate *doesnt provide the right cave model*

=/ im confused.


Thanks! +rep to anyone who helps
sobeg51 is offline   Reply With Quote
Old 10-13-2008, 03:52 PM   #2 (permalink)
 
Squiggy's Avatar

I sense lulz
 
Join Date: Mar 2008
Posts: 1,560

Squiggy is just really nice (367)Squiggy is just really nice (367)Squiggy is just really nice (367)Squiggy is just really nice (367)

PayPal Donor: This user has donated to The Hive. 

Events
Unit - A unit enters Rect 000 <gen>
Conditions
Actions
Set temppoint = Center of Rect 001 <gen>
Unit - Move (Triggering Unit) instantly to temppoint
Custom script: call RemoveLocation(udg_temppoint)
__________________
Help Wolverabid ][ Come to where the awesomeness resides Hivechan (irc) / Hivechan (site)

MapsWarCraftMaul NextGen
Twisty TD 1.0 (takes more time)
In remembrance of frostwhisper Oct. 10th 2008
ArtEcchi Gallery
Squiggy is offline   Reply With Quote
Old 10-13-2008, 03:57 PM   #3 (permalink)

User
 
Join Date: Oct 2008
Posts: 6

sobeg51 has a little shameless behavior in the past (-2)


Where can i find the setemp point - 001 .. 1st part in the action

EDIT:
.bump =/ last post was helpful but i have no idea where to find set tempoint = center of rect 001

Last edited by Rui; 10-15-2008 at 04:01 PM. Reason: Do NOT double-post.
sobeg51 is offline   Reply With Quote
Old 10-13-2008, 04:09 PM   #4 (permalink)
 
Squiggy's Avatar

I sense lulz
 
Join Date: Mar 2008
Posts: 1,560

Squiggy is just really nice (367)Squiggy is just really nice (367)Squiggy is just really nice (367)Squiggy is just really nice (367)

PayPal Donor: This user has donated to The Hive. 

1. Don't bump within of 48 hours.
2. Create a variable - name it somewhat you like and set it's type to Point
__________________
Help Wolverabid ][ Come to where the awesomeness resides Hivechan (irc) / Hivechan (site)

MapsWarCraftMaul NextGen
Twisty TD 1.0 (takes more time)
In remembrance of frostwhisper Oct. 10th 2008
ArtEcchi Gallery
Squiggy is offline   Reply With Quote
Old 10-13-2008, 04:20 PM   #5 (permalink)

User
 
Join Date: Oct 2008
Posts: 6

sobeg51 has a little shameless behavior in the past (-2)


ok, i made the variable, where do i go about after that? +++Rep if you can help me man.. Im way confused
sobeg51 is offline   Reply With Quote
Old 10-13-2008, 04:22 PM   #6 (permalink)
 
Squiggy's Avatar

I sense lulz
 
Join Date: Mar 2008
Posts: 1,560

Squiggy is just really nice (367)Squiggy is just really nice (367)Squiggy is just really nice (367)Squiggy is just really nice (367)

PayPal Donor: This user has donated to The Hive. 

Unit -> Move unit (instantly)
Now choose as target your variable.
After, paste the custom script I've prepared into your triggers et voilą

Besides - unless you posess more than 10 rep yourself, it doesn't count ;)
__________________
Help Wolverabid ][ Come to where the awesomeness resides Hivechan (irc) / Hivechan (site)

MapsWarCraftMaul NextGen
Twisty TD 1.0 (takes more time)
In remembrance of frostwhisper Oct. 10th 2008
ArtEcchi Gallery
Squiggy is offline   Reply With Quote
Old 10-13-2008, 04:29 PM   #7 (permalink)

User
 
Join Date: Oct 2008
Posts: 6

sobeg51 has a little shameless behavior in the past (-2)


lol.

EDIT1:
It says.. error - line 499 (exspected a name) how do i resolve

EDIT2:
Oh.. it says Custom script: call RemoveLocation(udg_temppoint)

what am i suppost to type? i copy / pasted what you types

Last edited by Rui; 10-15-2008 at 04:00 PM. Reason: Do not triple post...
sobeg51 is offline   Reply With Quote
Old 10-13-2008, 04:39 PM   #8 (permalink)
 
Squiggy's Avatar

I sense lulz
 
Join Date: Mar 2008
Posts: 1,560

Squiggy is just really nice (367)Squiggy is just really nice (367)Squiggy is just really nice (367)Squiggy is just really nice (367)

PayPal Donor: This user has donated to The Hive. 

Well you have to align the variables' name to the location you're referring to by using the custom scipt; means the variable and the stuff behind the udg_ have to share the same name
__________________
Help Wolverabid ][ Come to where the awesomeness resides Hivechan (irc) / Hivechan (site)

MapsWarCraftMaul NextGen
Twisty TD 1.0 (takes more time)
In remembrance of frostwhisper Oct. 10th 2008
ArtEcchi Gallery
Squiggy is offline   Reply With Quote
Old 10-13-2008, 04:47 PM   #9 (permalink)
 
M0RT's Avatar

User
 
Join Date: Apr 2008
Posts: 113

M0RT has little to show at this moment (13)M0RT has little to show at this moment (13)


Or you could use some kind of dummy invisible gateway, with target set on the other cave.
If it's invisible (or better without a unit model), player's can't activate it manually, but units will still use it automatically, if it's the shortest way.
EDIT: It works, you just need to remove the teleportation effect.
__________________
Check out my maps if I helped you!
All my resources
My main project:
RuneForce
M0RT is offline   Reply With Quote
Old 10-13-2008, 10:37 PM   #10 (permalink)

User
 
Join Date: Aug 2007
Posts: 64

Richardsteel has little to show at this moment (3)


This is a trigger I use to teleport units:

King Portal
Events
Unit - A unit enters King Portal <gen>
Conditions
((Triggering unit) belongs to an ally of Player 1 (Red)) Equal to True
Actions
Unit - Move (Triggering unit) instantly to (Random point in Portal 1 <gen>)
Camera - Pan camera for (Owner of (Triggering unit)) to (Center of Portal 1 <gen>) over 0.20 seconds
King Portal is the region they're teleported from and Portal 1 is the region they're teleported to. I have seperate portals for each team so there are some conditions here you may not need. Instead of "Random point in Portal 1" you could just do the "Center of Portal 1" to make them come out in a more specific area. As for it going from cave to cave, I don't see why it would matter. Just keep resizing and repositioning your regions until it looks and works right to you.

Last edited by Richardsteel; 10-16-2008 at 11:43 PM.
Richardsteel is offline   Reply With Quote
Old 10-13-2008, 10:58 PM   #11 (permalink)

User
 
Join Date: Oct 2004
Posts: 17

BlackstarSirius is an unknown quantity at this point (0)


Just as a quick sidenote, if you're going to use caves as teleporters, you should make it clear to the player. A lot of mapmakers just make caves benign doodads, so make sure to display a floating text with a hint when they come within range of the cave... Or use a little doodad like "Invulnerability Field" (Dalaran Ruins - Cinematic) outside of it to indicate it's special.
BlackstarSirius is offline   Reply With Quote
Old 10-14-2008, 09:53 AM   #12 (permalink)
 
DarkAngelAzazel's Avatar

Envoy of the Apocalypse
 
Join Date: Sep 2008
Posts: 306

DarkAngelAzazel has little to show at this moment (25)DarkAngelAzazel has little to show at this moment (25)DarkAngelAzazel has little to show at this moment (25)


Quote:
Originally Posted by Squiggy View Post
Events
Unit - A unit enters Rect 000 <gen>
Conditions
Actions
Set temppoint = Center of Rect 001 <gen>
Unit - Move (Triggering Unit) instantly to temppoint
Custom script: call RemoveLocation(udg_temppoint)
Just a question about this trigger.
Why do you use the temppoint instead of just saying

Unit - Move(triggering Unit) instantly to center of Recht 001

??
Plz tell me...
__________________
"Two things are infinite: the universe and human stupidity; and I'm not sure about the universe"

Quote from Albert Einstein
DarkAngelAzazel is offline   Reply With Quote
Old 10-14-2008, 09:58 AM   #13 (permalink)
 
Epimeliad's Avatar

Now i am on a rep spree
 
Join Date: Aug 2008
Posts: 173

Epimeliad has little to show at this moment (14)Epimeliad has little to show at this moment (14)


he used temppoint as he is able to remove it after hence there isnt any leaks
__________________
To my greatest foe, procrastination, i have sworn oaths of bloods and fought untold weekends with no end in sight. Yet ye always emerge victorious and I repeating this eternal cycle.
+RAP to those who help you.

Please help me test and review my map:
Earth 2K - It my first map so please give comments
Epimeliad is offline   Reply With Quote
Old 10-14-2008, 02:08 PM   #14 (permalink)
 
M0RT's Avatar

User
 
Join Date: Apr 2008
Posts: 113

M0RT has little to show at this moment (13)M0RT has little to show at this moment (13)


You all seem to ignore my post about Way gates... it doesn't require triggers and the passage will be included for pathfinding, so the players don't need to click somwhere inside the cave, just to some spot outside the other cave
__________________
Check out my maps if I helped you!
All my resources
My main project:
RuneForce
M0RT is offline   Reply With Quote
Old 10-14-2008, 03:12 PM   #15 (permalink)
 
Need_O2's Avatar

LiOneSS is cool
 
Join Date: Aug 2007
Posts: 2,450

Need_O2 is a jewel in the rough (155)


Set Location and remove lcoation each time is stupid
just set locations in map initializing and use em for moving
__________________
Jass NewGen Pack
Vexorian's Save-Load System (The Best)
OinkerWinkle | Milkshape
MagosX | War3 Model Editor

U no get mad on me, me iz t3h meta-idiot

Made by: Elenai
Need_O2 is offline   Reply With Quote
Reply

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
[How-To] Make a good cave(recommended) [Reviewed: Hawkwing] Oziris Tutorial Submission 25 10-27-2008 08:20 AM
Best way to make something look like cave/underground corley Terrain Board 6 07-15-2008 03:17 PM
A pirate cave. Mr. Bob Terrain Board 5 06-26-2008 05:31 AM
HELP!! How to make a dark and creepy cave??? I_PRIM3 Map Development 5 09-26-2006 02:15 PM