From f0379f5035a27bb5bbea3d7cf1a46a088d205dfa Mon Sep 17 00:00:00 2001 From: frendship-loost <85242183+frendship-loost@users.noreply.github.com> Date: Fri, 18 Sep 2026 17:29:02 -0400 Subject: [PATCH 1/8] fix blood blade third person discrepancy title --- scripts/items/swords_vb.script | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/items/swords_vb.script b/scripts/items/swords_vb.script index fcbc423e..e5b0b8cd 100644 --- a/scripts/items/swords_vb.script +++ b/scripts/items/swords_vb.script @@ -24,7 +24,7 @@ const PMODEL_IDX_FLOOR 45 //p_model floor offset (-1 from JHLMV index) const PMODEL_IDX_HAND_RIGHT 43 //p_model hands offset (-1 from JHLMV index) const PMODEL_IDX_HAND_LEFT 44 //p_model hands offset (-1 from JHLMV index) - const PMODEL_IDX_HANDS 43 + const PMODEL_IDX_HANDS 44 //draw function will handle this const PANIM_IDLE aim_axe_onehand const PANIM_EXT axe_onehand //extention for automatic player anims @@ -96,7 +96,7 @@ setworldmodel PMODEL_FILE local L_PMODEL_IDX_HANDS PMODEL_IDX_HANDS - if ( BWEAPON_HANDS equals right ) add L_PMODEL_IDX_HANDS game.item.hand_index + subtract L_PMODEL_IDX_HANDS game.item.hand_index setmodelbody 0 L_PMODEL_IDX_HANDS setanimext PANIM_EXT From 7843fb19b9e6f01dc51ffd830d470df5cb45b39e Mon Sep 17 00:00:00 2001 From: frendship-loost <85242183+frendship-loost@users.noreply.github.com> Date: Sat, 19 Sep 2026 03:49:10 -0400 Subject: [PATCH 2/8] fix for ice waves from player and greater ice elemental title, ice waves from player's north maul and ice waves from elemental guardians never had animations set for their ice waves, causing them to randomly choose some walking animations from projectiles.mdl --- scripts/monsters/summon/ice_wave.script | 2 ++ scripts/monsters/summon/ice_wave_player.script | 2 ++ 2 files changed, 4 insertions(+) diff --git a/scripts/monsters/summon/ice_wave.script b/scripts/monsters/summon/ice_wave.script index 4c1af101..1cc1b853 100644 --- a/scripts/monsters/summon/ice_wave.script +++ b/scripts/monsters/summon/ice_wave.script @@ -22,6 +22,8 @@ callevent snap_to setprop ent_me rendermode 5 setprop ent_me renderamt 255 + setidleanim idle_standard // anims need to be set + setmoveanim idle_standard // anims need to be set //setvard MY_OWNER $get(ent_creationowner,id) ////dbg temp spawn got $get(MY_OWNER,name) as owner } diff --git a/scripts/monsters/summon/ice_wave_player.script b/scripts/monsters/summon/ice_wave_player.script index 14ec6871..7b0d68ac 100644 --- a/scripts/monsters/summon/ice_wave_player.script +++ b/scripts/monsters/summon/ice_wave_player.script @@ -22,6 +22,8 @@ drop_to_floor ent_me setprop ent_me rendermode 5 setprop ent_me renderamt 0 + setidleanim idle_standard // anims need to be set + setmoveanim idle_standard // anims need to be set } { game_dynamically_created // From 7dcb5fb29c079301197bb1050a3d0c904bfc8b14 Mon Sep 17 00:00:00 2001 From: frendship-loost <85242183+frendship-loost@users.noreply.github.com> Date: Sun, 20 Sep 2026 09:51:10 -0400 Subject: [PATCH 3/8] Update swords_longsword.script fixed sound, playsound had bad syntax here --- scripts/items/swords_longsword.script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/items/swords_longsword.script b/scripts/items/swords_longsword.script index c4001496..b19986ae 100644 --- a/scripts/items/swords_longsword.script +++ b/scripts/items/swords_longsword.script @@ -82,7 +82,7 @@ const MODEL_BODY_OFS 16 playowneranim once sword_double_swing playviewanim SWING_ANIM volume 10 - playsound 1 SOUND_SWIPE + playsound 1 10 SOUND_SWIPE } { [override] special_01_start From f3c58797e00775e6f3de56b210190e1bf9ab93f9 Mon Sep 17 00:00:00 2001 From: frendship-loost <85242183+frendship-loost@users.noreply.github.com> Date: Sat, 26 Sep 2026 19:34:06 -0400 Subject: [PATCH 4/8] Update polearms_base.script repair idle animations, this reverts a change from OCT2021 --- scripts/items/polearms_base.script | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/items/polearms_base.script b/scripts/items/polearms_base.script index 9096f97e..950e074a 100644 --- a/scripts/items/polearms_base.script +++ b/scripts/items/polearms_base.script @@ -646,9 +646,9 @@ if !POLE_NO_IDLE //set this flag to disallow viewmodel idle anims (shared/client) - if ( !$get(ent_me,inhand) ) setvard POLE_IDLE_ACTIVE_CL 0 + if ( !game.item.inhand ) setvard POLE_IDLE_ACTIVE_CL 0 - if get(ent_me,inhand) + if game.item.inhand callevent $randf(2.0,4.0) pole_idle_anim_cl if !POLE_HOLD_IDLE_CL //use this flag to temporarily disable idle anims (client) From 536bb026de1cb9538037c013abccfabacd33c5fe Mon Sep 17 00:00:00 2001 From: frendship-loost <85242183+frendship-loost@users.noreply.github.com> Date: Sat, 26 Sep 2026 22:43:58 -0400 Subject: [PATCH 5/8] Update orc_chief.script update script slightly to accomodate placement in lostcastle_msc, fix all chiefs being named the same too. --- scripts/monsters/orc_chief.script | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/scripts/monsters/orc_chief.script b/scripts/monsters/orc_chief.script index 5bb2d652..242dcfd4 100644 --- a/scripts/monsters/orc_chief.script +++ b/scripts/monsters/orc_chief.script @@ -5,7 +5,6 @@ //- offgod_warboss - vulnerable //- infernal_warboss - fire damage +30-60 //- normal_warboss - removes fire damage -//- Note name changes with mode, if you want to have both modes on, consider which you'd rather have { const OVERRIDE_NODROP 1 @@ -41,35 +40,37 @@ width 38 height 72 - setvard NPC_GIVE_EXP 750 //raise this when we fix parry xp + setvard NPC_GIVE_EXP 1250 name Orc Warlord local L_MAP_NAME $lcase(game.map.name) if ( $lcase(game.map.name) equals ara ) { - setvard NPC_GIVE_EXP 1000 + name Farghead the Warlord + setvard NPC_GIVE_EXP 1500 setvard WARBOSS_VALID_MAP 1 - setvard DROP_ITEM1 axes_greataxe setvard DROP_ITEM1_CHANCE 50 } else if ( L_MAP_NAME equals foutpost ) { + name Graznux the Warboss setvard DROP_ITEM2 item_warbosshead setvard DROP_ITEM2_CHANCE 100% setvard WARBOSS_VALID_MAP 1 - setvard DROP_ITEM1 axes_greataxe setvard DROP_ITEM1_CHANCE 50 } - else if ( L_MAP_NAME equals orcplace2_beta ) + else if ( L_MAP_NAME equals lostcastle_msc ) { + name Gul the Warchief setvard WARBOSS_VALID_MAP 1 setvard DROP_ITEM1 axes_greataxe - setvard DROP_ITEM1_CHANCE 50 + setvard DROP_ITEM1_CHANCE 75 } else if ( L_MAP_NAME equals old_helena ) { + name Lumdum the Warboss setvard WARBOSS_VALID_MAP 1 setvard IS_OLD_HELENA 1 setvard NPC_GIVE_EXP 10000 //to compensate for the XP nerfage @@ -77,7 +78,6 @@ if ( WARBOSS_VALID_MAP ) { - name Graznux the Warboss setvard NPC_IS_BOSS 1 } @@ -101,7 +101,6 @@ //effects { godon_warboss - name Graznux the Invincible! playanim critical warcry invincible 1 saytextrange 1024 @@ -110,7 +109,6 @@ { offgod_warboss - name Graznux the Warboss invincible 0 saytextrange 1024 saytext Noooo! My power! @@ -118,7 +116,6 @@ { infernal_warboss - name Graznux the Infernal playanim critical warcry race demon setvard INFERNAL 1 @@ -132,7 +129,6 @@ { normal_warboss - name Graznux the Warboss race orc setvard INFERNAL 0 saytextrange 1024 From 0e19d6b4843c99555d0a5d685c58828837bbade7 Mon Sep 17 00:00:00 2001 From: frendship-loost <85242183+frendship-loost@users.noreply.github.com> Date: Sun, 27 Sep 2026 00:18:33 -0400 Subject: [PATCH 6/8] idle anim fix for many weapons enables and fixes idle anims for many weapons. they would never idle when drawn from pouch and just sat in hand. THE item_idle FUNCTION MAY NEED WORK AND IMPROVEMENT! --- scripts/items/base_item.script | 4 ++++ scripts/items/base_weapon.script | 1 + scripts/items/swords_base_twohanded.script | 2 +- scripts/items/swords_blood_drinker.script | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/items/base_item.script b/scripts/items/base_item.script index e3b52e09..2f37cbe6 100644 --- a/scripts/items/base_item.script +++ b/scripts/items/base_item.script @@ -91,6 +91,8 @@ //dbg item_idle + if game.clientside + if !NO_IDLE if ANIM_IDLE_TOTAL > 0 @@ -105,6 +107,8 @@ else if( l.anim == 3 ) playviewanim ANIM_IDLE3 else if( l.anim == 4 ) playviewanim ANIM_IDLE4 else if( l.anim == 5 ) playviewanim ANIM_IDLE5 + + callevent $randf(10.0,16.0) item_idle //so that idle doesn't just play once } //{ [server] set_new_owner diff --git a/scripts/items/base_weapon.script b/scripts/items/base_weapon.script index e8a93316..60b5c45f 100644 --- a/scripts/items/base_weapon.script +++ b/scripts/items/base_weapon.script @@ -56,6 +56,7 @@ } callevent weapon_deploy + callevent 8.0 item_idle } { game_fall diff --git a/scripts/items/swords_base_twohanded.script b/scripts/items/swords_base_twohanded.script index 6f030a66..ac407173 100644 --- a/scripts/items/swords_base_twohanded.script +++ b/scripts/items/swords_base_twohanded.script @@ -3,7 +3,7 @@ { const IS_TWO_HANDED_SWORD 1 - const NO_IDLE 1 + const NO_IDLE 0 const PLAYERANIM_AIM sword_idle const PLAYERANIM_SWING sword_swing diff --git a/scripts/items/swords_blood_drinker.script b/scripts/items/swords_blood_drinker.script index 7210261a..61cb099e 100644 --- a/scripts/items/swords_blood_drinker.script +++ b/scripts/items/swords_blood_drinker.script @@ -1,5 +1,5 @@ { - const NO_IDLE 1 + const NO_IDLE 0 const CUSTOM_REGISTER_CHARGE1 1 const SPECIAL_OVERRIDE 1 From 8bf5634eea5f1aa20843c646de559800154ca300 Mon Sep 17 00:00:00 2001 From: frendship-loost <85242183+frendship-loost@users.noreply.github.com> Date: Tue, 13 Oct 2026 20:00:56 -0400 Subject: [PATCH 7/8] shender_east script cleanup bunny murder event is gone, spaghetti coded across 3 scripts --- scripts/player/externals.script | 13 ------------- scripts/shender_east/game_master.script | 7 ------- scripts/shender_east/map_startup.script | 4 ---- scripts/shender_east/telf_win.script | 5 ----- 4 files changed, 29 deletions(-) diff --git a/scripts/player/externals.script b/scripts/player/externals.script index bbfdbe91..c8487c8b 100644 --- a/scripts/player/externals.script +++ b/scripts/player/externals.script @@ -2912,19 +2912,6 @@ hud.addimgicon ent_me PARAM1 PARAM2 PARAM3 PARAM4 PARAM5 PARAM6 PARAM7 } -{ ext_shender_telfdoor - dbg ext_shender_telfdoor PLR_DID_SHENDER_EVENT - callevent ext_darkenbloom 2 - if !PLR_DID_SHENDER_EVENT - local WIN_ELF $get_by_name(telf_win) - if ( $get(WIN_ELF,isalive) ) - { - if $get(GAME_MASTER,scriptvar,'GM_BUNNY_KILLED') - setvard PLR_DID_SHENDER_EVENT 1 - callexternal WIN_ELF ext_bunny_comment - } -} - { ext_conflict conflictcheck } diff --git a/scripts/shender_east/game_master.script b/scripts/shender_east/game_master.script index d1841dcb..865bfa1a 100644 --- a/scripts/shender_east/game_master.script +++ b/scripts/shender_east/game_master.script @@ -36,11 +36,4 @@ if ( GM_SHENDER_EAST_TELECOUNT == 3 ) setorigin CUR_TARG $vec(1704,-3568,296) if ( GM_SHENDER_EAST_TELECOUNT == 4 ) setorigin CUR_TARG $vec(1656,-3568,296) if ( GM_SHENDER_EAST_TELECOUNT == 5 ) setorigin CUR_TARG $vec(1640,-3616,296) -} - -{ gm_shender_east_bunny - //dbg gm_shender_east_bunny PARAM1 PARAM2 $get(PARAM1,name) - infomsg PARAM1 "HOW COULD YOU!" "Poor bunny!" - setvard GM_BUNNY_KILLED 1 - clientevent new PARAM1 effects/sfx_bunny } \ No newline at end of file diff --git a/scripts/shender_east/map_startup.script b/scripts/shender_east/map_startup.script index 8de79c3a..f873d02e 100644 --- a/scripts/shender_east/map_startup.script +++ b/scripts/shender_east/map_startup.script @@ -3,13 +3,9 @@ { [shared] const MAP_NAME 'shender_east' - const MAP_WEATHER "clear;clear;clear;clear;clear;clear" const MAP_ALLOWNIGHT 1 - setvarg G_MAP_NAME "East Shender" - setvarg G_MAP_DESC "A frozen wasteland that borders The Wall." setvarg G_MAP_DIFF "Levels 25-40 / 500-1250hp" - setvarg G_WARN_HP 500 setvarg G_MORC_CHESTS 0 } diff --git a/scripts/shender_east/telf_win.script b/scripts/shender_east/telf_win.script index ef3427c5..0f28f4a2 100644 --- a/scripts/shender_east/telf_win.script +++ b/scripts/shender_east/telf_win.script @@ -117,9 +117,4 @@ repeatdelay 10.0 { repeatdelay 90.0 callexternal $get_by_name(telf_chest) chest_glow -} - -{ ext_bunny_comment - callevent chat_now "Now... Where has my bunny Hazel run off to?" 5.0 convo_unarmed_norm none add_to_que - playsound 0 10 scientist/cough.wav } \ No newline at end of file From e42976f22f4dea88bb15b740deb21e4a8eee382b Mon Sep 17 00:00:00 2001 From: frendship-loost <85242183+frendship-loost@users.noreply.github.com> Date: Tue, 13 Oct 2026 20:06:13 -0400 Subject: [PATCH 8/8] Delete scripts/effects/sfx_bunny.script part of shender east script cleanup --- scripts/effects/sfx_bunny.script | 55 -------------------------------- 1 file changed, 55 deletions(-) delete mode 100644 scripts/effects/sfx_bunny.script diff --git a/scripts/effects/sfx_bunny.script b/scripts/effects/sfx_bunny.script deleted file mode 100644 index aaab9cb1..00000000 --- a/scripts/effects/sfx_bunny.script +++ /dev/null @@ -1,55 +0,0 @@ -{ client_activate - - setcallback render enable - //local OWNER_IDX game.localplayer.eyepos - local EYE_POS game.localplayer.eyepos - local EYE_ANGS game.localplayer.viewangles - vectoradd EYE_POS $relpos(EYE_ANGS,$vec(0,20,28)) - dbg *** client_activate EYE_POS EYE_ANGS - cleffect tempent sprite bunny.spr EYE_POS setup_bunny update_bunny - callevent 20.0 remove_script - //playsound 0 10 ambience/the_horror1.wav - sound.play3d ambience/the_horror1.wav 10 EYE_POS -} - -{ game_prerender - - -} - -{ remove_script - removescript -} - -{ update_bunny - //local OWNER_IDX game.localplayer.viewmodel.active.id - local EYE_POS game.localplayer.eyepos - local EYE_ANGS game.localplayer.viewangles - vectoradd EYE_POS $relpos(EYE_ANGS,$vec(0,20,28)) - cleffect tempent set_current_prop origin EYE_POS - - local CUR_ALPHA game.tempent.fuser1 - add CUR_ALPHA 1 - if ( CUR_ALPHA > 255 ) local CUR_ALPHA 200 - cleffect tempent set_current_prop fuser1 CUR_ALPHA - cleffect tempent set_current_prop renderamt CUR_ALPHA - - //sprites rendered "glow" cannot scale -// local CUR_SCALE game.tempent.fuser1 -// add CUR_SCALE 0.5 -// cleffect tempent set_current_prop fuser1 CUR_SCALE -// cleffect tempent set_current_prop scale CUR_SCALE -} - -{ setup_bunny - cleffect tempent set_current_prop death_delay 19.0 - cleffect tempent set_current_prop fadeout lifetime - cleffect tempent set_current_prop framerate 30 - cleffect tempent set_current_prop frames 1 - cleffect tempent set_current_prop scale 0.1 - cleffect tempent set_current_prop rendermode texture - cleffect tempent set_current_prop renderamt 255 - cleffect tempent set_current_prop gravity 0 - cleffect tempent set_current_prop collide none - cleffect tempent set_current_prop fuser1 200 -} \ No newline at end of file