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

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.
 
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 21
Joined
Dec 15, 2021
Messages
332
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