Jump to content
RenCorner Network

Mines above doors = lame


Recommended Posts

Posted

ExEric is actually working on this :P

  • Like 1
Posted
3 hours ago, MarcPoulet said:

ExEric is actually working on this :P

U mean this?  

 

  • Like 2
  • Thanks 1
Posted

wow Eric that's great

the mines are no longer registered to a player?

Posted
13 minutes ago, Itai795 said:

wow Eric that's great

the mines are no longer registered to a player?

Im using player join/leave event and create event. Then combine it with other functions like deleting owners and restoring owners.

  • Like 1
Posted

Hi @Vultima I'm currently updating the HD maps (done Field and Glacier atm), this is how the proxies will act when mined on the doors, the proxy fix here is for HD maps ONLY btw. Do note that c4s clipping through buildings is not a HD map issue, it's a global renegade issue with how c4s were programmed, but I've been told to just fix them for HD maps so here you go!

Normally when you mine at any door, like this AGT door here, it'd clip through and be invisible from certain spots. As you can see in this video, they're visible and disarmable, so no more clipping through the ceiling, it'll still be a good tactic for defending team to mine those doors, but at least the attacking team can clearly see it and disarm them. This fix will be applicable to any spot on all HD maps, so tunnels/doors/any ceiling.

Here's a difference with the same spot in the bar tunnel on glacier_flying_hd.

Video without the proxy fix (aka how it normally is on all maps)

 

and here's the video with the proxy fix (ONLY on hd maps)

 

 

  • Like 2
Posted

That looks infinitely times better!

  • 2 weeks later...
Posted

I die when i walk in a door crouching.. has the change been reverted?

Posted
30 minutes ago, iK4l3l said:

I die when i walk in a door crouching.. has the change been reverted?

Yep its removed/disabled.

Posted
2 minutes ago, ExEric3 said:

Yep its removed/disabled.

I see.. Is it the final decision or still discussing on it?

Posted
1 hour ago, iK4l3l said:

I see.. Is it the final decision or still discussing on it?

It is final decision from shaitan.

  • 4 months later...
Posted

The mines not disarming after playing leaving is something I did about 12 years ago. It's here:

https://www.renegadeforums.com/index.php?t=msg&th=39407&start=0&rid=25967

 

I also fixed the mining above doors exploit back then by just adding adding a c4 trigger hook (which I think is part of Dragonade) and adding a Z-height check, like 10 years ago

 

[code]

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;
}[/code]

 

You'll want to remove the abs(), cause it will prevent triggering when the player is above the proxy too. Haven't tested it without abs() but ought to work, test it with abs() first,

 

Posted (edited)

In addition to that you could also add some code to Page the player that mines placed above doors will no longer detonate. You can do this by adding a object create hook for proxy c4, adding a script with timer that checks until the proxy c4 no longer moves (position stops changing), waits 0.1 secs, then checks if its attached to a friendly building and about 2.0 units Z-height above the player who is the owner of the c4. Then you page the player and delete the script on the proxy c4.

Edited by Iran

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...