fix(Globals): off radar and fast respawn globals (#2568)
This commit is contained in:
parent
9dd1d49ed4
commit
f3faa8540f
@ -15,14 +15,14 @@ namespace big
|
|||||||
*scr_globals::disable_wasted_sound.as<bool*>() = true;
|
*scr_globals::disable_wasted_sound.as<bool*>() = true;
|
||||||
|
|
||||||
// triggers respawn instantly upon death, has no effect if not respawning so no need to check if the player's dead
|
// triggers respawn instantly upon death, has no effect if not respawning so no need to check if the player's dead
|
||||||
misc::set_bit(&(*scr_globals::freemode_properties.at(1685).at(756).as<int*>()), 1); // Update: freemode -> KILL_STRIP_H -> Above that = "!IS_BIT_SET(global, 2)"
|
misc::set_bit(&(*scr_globals::freemode_properties.at(1689).at(756).as<int*>()), 1); // Update: freemode -> KILL_STRIP_H -> Above that = "!IS_BIT_SET(global, 2)"
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void on_disable() override
|
virtual void on_disable() override
|
||||||
{
|
{
|
||||||
*scr_globals::disable_wasted_sound.as<bool*>() = false;
|
*scr_globals::disable_wasted_sound.as<bool*>() = false;
|
||||||
|
|
||||||
misc::clear_bit(&(*scr_globals::freemode_properties.at(1685).at(756).as<int*>()), 1);
|
misc::clear_bit(&(*scr_globals::freemode_properties.at(1689).at(756).as<int*>()), 1);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ namespace big
|
|||||||
if (g.self.ghost_org)
|
if (g.self.ghost_org)
|
||||||
MISC::SET_BIT(scr_globals::freemode_global.at(4667).as<int*>(), 2);
|
MISC::SET_BIT(scr_globals::freemode_global.at(4667).as<int*>(), 2);
|
||||||
scr_globals::globalplayer_bd.as<GlobalPlayerBD*>()->Entries[self::id].OffRadarActive = true;
|
scr_globals::globalplayer_bd.as<GlobalPlayerBD*>()->Entries[self::id].OffRadarActive = true;
|
||||||
*scr_globals::freemode_properties.at(57).as<int*>() = NETWORK::GET_NETWORK_TIME() + 1;
|
*scr_globals::freemode_properties.at(58).as<int*>() = NETWORK::GET_NETWORK_TIME() + 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual void on_disable() override
|
virtual void on_disable() override
|
||||||
|
Reference in New Issue
Block a user