• 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.

2 Storey Buildings

Status
Not open for further replies.
Level 4
Joined
Apr 5, 2005
Messages
652
no its actually not possible to have one unit above and one unit below..
or.. it is possible but it would take a hell lot of scripts like the one in TcX..

the simplest possible way I could think of is modifying the flying height when you've reached a certain point etc..
 
Level 6
Joined
Aug 19, 2007
Messages
109
Lord_T-Just asking, does the collision of the doodad also go up when doodad is ctrl-pg uped/pg downed? Because then it wouldn't work.

Wugiboy-that was my idea initially but i just thought some1 at hive could come up with a simpler way :D thx anyway.

Kaboommaster- when u say "u dled" couldn't you just post it again so i could dl it too?
 
Level 17
Joined
Nov 26, 2007
Messages
1,964
No, due to Warcraft limitations. it is NOT possible to have one unit above the other. That is the short answer.


The long answer, is that it might be possible, but it would talk alot of triggering, and alot of work. Not worth the trouble, you should find an alternative.
 
Level 5
Joined
Jan 5, 2008
Messages
145
Try making the bottom building big and make it walkable then make another one and raise its height then put path bocker in the first building then u got a 2 story building "doesn't work for 3 or higher starts gliching"
 

.KC

.KC

Level 8
Joined
Dec 10, 2007
Messages
118
Its is possible to have a unit above/below another one. Just morph the unit into the same unit just where you have changed the movement type to fly, and change the fly height.

I created this system long time ago. I only created this as a test to see if the idea I had was possible, and it was. So I never finished 100%. But I will improve it and use it in my upcoming campaign.

Good luck
 

Attachments

  • FloorSystemV0.1.w3x
    84.5 KB · Views: 79

.KC

.KC

Level 8
Joined
Dec 10, 2007
Messages
118
Ehmm, I was supposed to use this system in my "RPG" where you only have one unit. But it should be possible to have more units in the building. You can create a system that store the units location into a variable, and check when you select a unit if the units are at floor1 or floor2.
But it will be hard to pick the unit at floor1 if you only can see floor2, so you need to find another way arround.

You can also make this multiplayer comfortable. I know you can create a script like this:

JASS:
if GetLocalPlayer() == Player(0) then
    call ShowDestructable(d,false)
endif

I haven't tested this if it works, but I know it possible to show/hide a destructable/unit for only one player.

There may be a problem if you have a unit a floor2 and there is an enemy unit at floor1. Then I would morph the unit to only attack air or grond units.
 
Level 5
Joined
Jul 4, 2007
Messages
166
hmmz try making the lower levels transparent or so..

but in other words very good job!

First off, badass system.

Second, this is a good idea. I saw a system a while back for RPGS that make your trees fade into a semi-transparent tint when something goes behind them. If you could implement a similar system, it would be sweet. I'll try to find the link.
 
Status
Not open for further replies.
Top