• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

How to place buildings on all tile types

Status
Not open for further replies.
Just look at the pig farm in the campaign section of the Orcs and go from there, and not really sure what you are asking for.
 
You can make it only placable on 'Unbuildable'. This will refer to rock, cobbles etc.

To prevent building on other unbuildable tiles than cobbles, you can check if the building is placed on cobbles or not.

I'm not sure how, but it is possible to check the terrain type.

If it's not cobbles, just make it stop constructing
 
Hm maybe something like this:

Event
  • Unit - A unit Begins construction
Condition
  • (Unit-type of (Constructing structure)) Equal to YourBuilding
Action
  • Set Temp_Point = (Position of (Constructing structure))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
(Terrain type at Temp_Point) Not equal to Icecrown **or it was Icecrown glacier?** - Ice
Then actions
**Here u can remove the building multiple ways. You chose which suites best your map and the desired effect :P . The easiest are to remove the building and to return gold/lumber cost to the player.**
Else actions
**Empty**

**Now this comes after "If (All Conditions are True)"...**
Custom script: call RemoveLocation (udg_Temp_Point)



PS: Its not nice to not have acces to WE...
PS2: If you want multiple tiles u copy this a few times
(Terrain type at Temp_Point) Equal to Icecrown - Ice
,change the terrain to desired ones and set the actions to If any Condition is true do then actions else do else actions.
Then actions
**Empty**
Else actions
**Stop the building proces as mentioned earlier**

PS3: I have the strange feeling that i miss something...
 
I need buildings to be builded only on one type of tile that is unbuildable (stone path), like in World War One: ISH.

As DSG already told you what to do:
Be aware that the editor attaches a relationship between pathing and tile type. You can manually modify the pathing map or use an editor like JNGP to change the pathing relationship the editor enforces on terrain of a certain tile type.

Look here:
https://www.hiveworkshop.com/forums/2114864-post7.html
 
WTF is this? Can not start plugin. It says when I open customize tile pathability.

Because Custom Tile Pathability modifying did not give me results, I use blight terrain for buildings. How to remove the green fog from blight?
 
Last edited:
WTF is this? Can not start plugin. It says when I open customize tile pathability.

Because Custom Tile Pathability modifying did not give me results, I use blight terrain for buildings. How to remove the green fog from blight?

Your virus scanner or firewall is blocking the plugin. Put it in the exception list or temporarely turn off your virus scanner.

If that's not the issue, look in this thread here and make sure you've installed it correctly.
 
Status
Not open for further replies.
Back
Top