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

Abyss tile walkable

Status
Not open for further replies.
Level 11
Joined
Dec 15, 2007
Messages
739
I would like to know how to make it possible for units to walk on the abyss tiles. Like all ground units able to walk on it. Thanks to anyone who tries to help me out. :thumbs_up:
 
Export the abyss tile texture (its a small black square...) and import it using another textures filepath (eg: TerrainArt/LordaeronSummer/Lords_Dirt.blp) and it will replace the "Lordaeron Summer Dirt" texture with the "Abyss" texture, but retain its 'walkableness'
 
Try to use this function. It doesn't work on large maps, but you could move a region around map.

JASS:
function TerrainPathability takes nothing returns nothing
    local rect r =bj_mapInitialPlayableArea 
    local real x = GetRectMinX(r)
    local real y = GetRectMinY(r)

    loop
    exitwhen y >= GetRectMaxY(r)
        set x = GetRectMinX(r)
        loop
        exitwhen x>=GetRectMaxX(r)

            if GetTerrainType(x, y) == 'Oaby' then
                call SetTerrainPathable(x,y,PATHING_TYPE_WALKABILITY, true)
            endif
            set x = x + 64
        endloop

        set y = y + 64
    endloop

    call RemoveRect(r)
    set r = null
endfunction
 
Status
Not open for further replies.
Back
Top