October 21, 2017, 05:45:15 AM

Author Topic: script compile error ( freeze gun)  (Read 1269 times)

hellboy

  • Fresh Meat
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
script compile error ( freeze gun)
« on: September 04, 2017, 01:04:45 AM »
hello, im trying to get back to all of this on modding an exporting.  adding freeze gun to mod
my first error is when I try run the game I get this. thanks.

animation 'ai_zombie_crawl_freeze_death_02' not defined in anim tree 'generic_human'.

an I follow this directions

1.-Open your zombiemode.gsc and below this:

   maps\_zombiemode_auto_turret::init();

add this:

   maps\_zombiemode_weap_freezegun::init();

3.-In your generic_human.atr you are looking for this

   ai_zombie_taunts_9

and underneath you add this:

ai_zombie_crawl_freeze_death_01
ai_zombie_crawl_freeze_death_02
ai_zombie_freeze_death_a
ai_zombie_freeze_death_b
ai_zombie_freeze_death_c
ai_zombie_freeze_death_d
ai_zombie_freeze_death_e
ai_zombie_quad_freeze_death_a
ai_zombie_quad_freeze_death_b

4.-In your mod.csv adds this:

weapon,sp\zm_freeze_gun
weapon,sp\zm_freeze_gun_upgraded
sound,freezegun,,all_sp
sound,freezegun_sound,,all_sp
fx,freezegun\fx_freezegun_shatter
fx,freezegun\fx_zombie_freeze_torso_waw
fx,freezegun\fx_zombie_freeze_md
xanim,ai_zombie_freeze_death_a
xanim,ai_zombie_freeze_death_b
xanim,ai_zombie_freeze_death_c
xanim,ai_zombie_freeze_death_d
xanim,ai_zombie_freeze_death_e
xanim,ai_zombie_quad_freeze_death_a
xanim,ai_zombie_quad_freeze_death_b
xanim,ai_zombie_crawl_freeze_death_01
xanim,ai_zombie_crawl_freeze_death_02
xmodel,bo1_p_zombie_ice_chunk_01
xmodel,bo1_p_zombie_ice_chunk_02