• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Demon Birth

This bundle is marked as useful / simple. Simplicity is bliss, low effort and/or may contain minor bugs.
This is birth model for demons. Requested by Ordworse.

Keywords:
Demon, Birth,
Contents

Demon Birth (Model)

Reviews
13:02, 7th Apr 2009 Pyritie: I can see this being very useful.

Moderator

M

Moderator

13:02, 7th Apr 2009
Pyritie: I can see this being very useful.
 
Level 19
Joined
Feb 4, 2009
Messages
1,313
ok i figured out how it could work:

http://www.hiveworkshop.com/forums/f98/how-replace-building-animation-123122/

JASS:
function Trig_Untitled_Trigger_001_Actions takes nothing returns nothing
    local effect lastone = null
    call SetUnitVertexColorBJ( GetTriggerUnit(), 100, 100, 100, 10.00 )
    call AddSpecialEffectTargetUnitBJ( "origin", GetTriggerUnit(), "war3mapImported\\DemonBirth.mdx" )
    set lastone = GetLastCreatedEffectBJ()
    call PolledWait( 10.00 )
    call DestroyEffectBJ( lastone )
    call SetUnitVertexColorBJ( GetTriggerUnit(), 100, 100, 100, 0.00 )
endfunction

//===========================================================================
function InitTrig_build takes nothing returns nothing
    set gg_trg_build = CreateTrigger(  )
    call TriggerRegisterAnyUnitEventBJ( gg_trg_build, EVENT_PLAYER_UNIT_CONSTRUCT_START )
    call TriggerAddAction( gg_trg_build, function Trig_Untitled_Trigger_001_Actions )
endfunction

+I've found something I can use it for +rep :>
 
Last edited:
ok i figured out how it could work:

http://www.hiveworkshop.com/forums/f98/how-replace-building-animation-123122/

JASS:
function Trig_Untitled_Trigger_001_Actions takes nothing returns nothing
    local effect lastone = null
    call SetUnitVertexColorBJ( GetTriggerUnit(), 100, 100, 100, 10.00 )
    call AddSpecialEffectTargetUnitBJ( "origin", GetTriggerUnit(), "war3mapImported\\DemonBirth.mdx" )
    set lastone = GetLastCreatedEffectBJ()
    call PolledWait( 10.00 )
    call DestroyEffectBJ( lastone )
    call SetUnitVertexColorBJ( GetTriggerUnit(), 100, 100, 100, 0.00 )
endfunction

//===========================================================================
function InitTrig_build takes nothing returns nothing
    set gg_trg_build = CreateTrigger(  )
    call TriggerRegisterAnyUnitEventBJ( gg_trg_build, EVENT_PLAYER_UNIT_CONSTRUCT_START )
    call TriggerAddAction( gg_trg_build, function Trig_Untitled_Trigger_001_Actions )
endfunction

+I've found something I can use it for +rep :>

what names would you have to replace to work on the buildings? (on the jass trigger i mean)
 
Level 20
Joined
Dec 15, 2021
Messages
314
It's supposed to replace another birth animation so you import it with :
SharedModels\UBirth.mdx for undead
SharedModels\NEBirth.mdx for night elves

for naga it's different for each building as far as I know :
Buildings\Naga\ShrineOfAshjara\NagaBirth.mdx for the shrine for example
 
Top