Abyss tile walkable

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:
 
Level 9
Joined
Feb 19, 2006
Messages
115
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'
 
Level 16
Joined
Jul 21, 2008
Messages
1,121
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
 
Level 11
Joined
May 31, 2008
Messages
698
Get NewGen. You can make any tile have the pathing you want. This includes buildable, ground pathable, and air pathable i believe. But i know you can change any tile so it will allow or not allow units to walk on it.
 
Top