Jump to content
RenCorner Network

Mining above doors exploit fix


Recommended Posts

Posted (edited)

This decreases the Z-distance (that is the HEIGHT difference) at which a proxy c4 triggers and explodes, thereby allowing you to walk into a building without mines above the doors going off. If you jump into the door it will still explode like expected.

bool Main_Hooks::C4_Detonate_Request_Event(C4GameObj *C4, SmartGameObj *Triggerer) {
	    // Proxy c4 only
    if (Get_C4_Mode(C4) == 3) {
	        float TriggerZ = Commands->Get_Position(Triggerer).Z;
        float C4Z = Commands->Get_Position(C4).Z;
	        // Fix Proxy c4 damage when mining above doors glitch
        if (abs(C4Z - TriggerZ) > 2.f) {
            return false;
        }
	        //DA::Host_Message("C4 Z: %f, trigger Z: %f", Commands->Get_Position(C4).Z, Commands->Get_Position(Triggerer).Z);
    }
    return true;
}
Edited by Iran
Posted

well, i would give proxys a heavy physics setting, so you cant throw them anymore (like renegade x did) 

 

because everything you can throw in renegade uses one logic/distance .

 

i fucking hate headshot mines lol

Posted
2 hours ago, rackz said:

well, i would give proxys a heavy physics setting, so you cant throw them anymore (like renegade x did) 

 

because everything you can throw in renegade uses one logic/distance .

 

i fucking hate headshot mines lol

I love 'em 😛

  • Like 1
Posted
8 minutes ago, Forithow said:

I love 'em 😛

:yahoo-waiting:

Posted

how about jsut fixing the gay exploit

  • Sad 1
Posted
On 12/8/2019 at 9:32 AM, ehh said:

just first person to disarm them

What he said.

Posted (edited)

stopwhining

Edited by RmiN
wrong sound
  • Haha 1
Posted
On 12/8/2019 at 3:32 PM, ehh said:

just first person to disarm them

no

Posted

Sup Iran , been playing with DA I see.

  • Haha 1
Posted

No i posted that code like 5 years ago on renforums

Posted

Guess I do remember that. Just noticed your ommited da message. Thought made a regular scripts 4.0 plugin.

Posted

hmm now im doubting it myself, might have made a c4 denate breakable hook for ssgm for it

 

cant remember whether for da or ssgm but i did post it. the c4 detonate blockable hook ofc is standard in da

Posted

why would you do that?
c4 proximities damage is very low, with this script sneaking to building would be too easy.
hiding proxy in high part of doors (ExEric3
presented how to not mine the door properly) is the only way to stop those waves of "all the time wannabe sneaky hotwires/techs"

  • Like 2
Posted

When scripts 4.0 came out, they lowered the damage on proxies. If you recall it only ever used to be 4-5 would kill you, on the floor. After that it took 6 or more, and so we upped the limit to 50. It'd be changing their tactics if that door-way was stopped.

Posted (edited)

Im sure westwood didnt planned HS mines, otherwise they would design proxys diffrent.

Edited by rackz
Posted

should just make proxies react to gravity aka fall to the ground if they're placed on ceilings/walls then 😛, kinda like how beacons do when you plant them

Posted
9 hours ago, rackz said:

Im sure westwood didnt planned HS mines, otherwise they would design proxys diffrent.

they also didnt predict modern 360 no scope MLG snipers
if they knew they would buff volt auto rifle, lcg, chem sprayer, chain gun, tiberium flechette gun, tib auto rifle and laser rifle

Posted (edited)

Yea... use first person to disarm....

 

 

Edited by rackz

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...