Works like original but includes additional features and crash fixes.
Fire, poison and shock melee weapons will not work. It still doesn't work for other players just for host and host side only.
New features:
Guards will wakeup after being knocked out if you want.
Guards can take hits to body instead of head.
Guards will wakeup and continue will their last objectives.
Guards sync to others correctly.
Guards can be killed when knocked out, to enable pager and then body bag.
Guard wakeup delay can be changed.
Guard wakeup delay is based on what melee weapon is used and how charged it is.
crashes the game when hitting santa in stealing xmas
Crash log?
@✌Playhouse✌
Application has crashed: C++ exception
mods/Blackjack Reborn/blackjack.lua:24: attempt to index a nil value
SCRIPT STACK
damage_melee() @mods/Blackjack Reborn/blackjack.lua:109
original() lib/units/beings/player/states/playerstandard.lua:3143
_do_melee_damage() @mods/potato masher explodes on impact/playerstandard.lua:5
lib/units/beings/player/handmelee.lua:191
Callstack:
Current thread: Main
@radioactivefoxsiddy There is only the pilot but i updated the mod. It should not crash on unkillable npcs.
@✌Playhouse✌ ty!
@✌Playhouse✌ seemed to crash when shooting a allarmed mobster in nightclub stealth
Application has crashed: C++ exception
[string "lib/units/enemies/cop/copdamage.lua"]:5021: attempt to index field '_char_tweak' (a nil value)
SCRIPT STACK
is_dead() @mods/Blackjack Reborn/blackjack.lua:22
damage_bullet() @mods/Blackjack Reborn/blackjack.lua:111
give_impact_damage() lib/units/weapons/raycastweaponbase.lua:2903
on_collision() lib/units/weapons/raycastweaponbase.lua:2780
_fire_raycast() lib/units/weapons/shotgun/shotgunbase.lua:361
fire() lib/units/weapons/raycastweaponbase.lua:574
original() @mods/BeardLib/Hooks/Fixes.lua:380
fire() @mods/base/req/core/Hooks.lua:262
fire() lib/units/weapons/newraycastweaponbase.lua:2038
trigger_pressed() lib/units/weapons/raycastweaponbase.lua:467
_check_fire_per_weapon() lib/units/beings/player/states/vr/playerstandardvr.lua:1487
_check_action_primary_attack() lib/units/beings/player/states/vr/playerstandardvr.lua:1318
_update_check_actions() lib/units/beings/player/states/playerstandard.lua:1013
__update_standard() lib/units/beings/player/states/playerstandard.lua:447
update() lib/units/beings/player/states/vr/playerstandardvr.lua:710
@mods/BeardLib/Hooks/Fixes.lua:444
Callstack:
Current thread: Main
@radioactivefoxsiddy Thanks. Works for cops only now and fixed the crash