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

How do I make buildable walls (horizontal, vertical and diagonal)

Status
Not open for further replies.
Level 2
Joined
Jan 2, 2021
Messages
10
Hi everyone,
I would like to have a worker build different walls and gates.
Unfortunately, I can't quite cope with it so far. It would be desirable, e.g. in the maps Infection_Attack or Zombie_Defense.

I would like the walls and gates to be buildable at least horizontally and vertically. Possibly also diagonally for the walls, but that would not be important.
Although I manage to create the walls in all the desired directions (pathing) but they are all vertical (optically). The next question is how do I make the gates passable, i.e. open and close.

wall_vertical.jpg
wall_horizontal.jpg


Can someone help me there?
Thank you so far.
 
Level 25
Joined
Mar 29, 2020
Messages
1,466
Although I manage to create the walls in all the desired directions (pathing) but they are all vertical (optically)
you could just upload a rotated version of the model and use that for the horizontal wall.

The next question is how do I make the gates passable, i.e. open and close.
one way to do this: use the gate doodads that can already do this. to make them buildable - create a dummy gate building - whenever a gate building finishes being constructed, remove it and create an identical gate doodad in it's place.

you might need to work a little more if you want this to behave like an owned building and not like a neutral doodad. maybe hide the dummy unit rather than removing it and check for a gate doodad occupying the same space or something....
 
Status
Not open for further replies.
Top