Skip to content

Instantly share code, notes, and snippets.

View InclementDab's full-sized avatar

Tyler Paul InclementDab

View GitHub Profile
@InclementDab
InclementDab / ArmorPing.c
Created March 16, 2022 00:30
DayZ Armor Ping Effect
// Drop these files into 3_Game on your server mod
// Credit: @InclementDab
modded class ImpactMaterials
{
static bool IsWearingArmor(EntityAI survivor, string dmg_zone)
{
EntityAI check_item;
switch (dmg_zone) {
@InclementDab
InclementDab / AntiGodRays.c
Created April 2, 2022 13:38
DayZ Anti God Rays
modded class MissionGameplay
{
override void OnUpdate(float timeslice)
{
super.OnUpdate(timeslice);
PPERequester_TacticalGoggles req = PPERequester_TacticalGoggles.Cast(PPERequesterBank.GetRequester(PPERequester_TacticalGoggles));
if (!req) {
return;
}
@InclementDab
InclementDab / VicinityItemContainer.c
Created April 29, 2022 21:16
DoubleClickStacking
modded class VicinitySlotsContainer
{
override void DoubleClick(Widget w, int x, int y, int button)
{
if (button != MouseState.LEFT) {
return;
}
if (!w) {
return;