Page 7 of 7 FirstFirst ... 567
Results 61 to 68 of 68

Thread: Anti-Door Block

  1. #61

  2. #62
    Developer RyBack's Avatar
    Join Date
    Apr 2014
    Location
    In Front of the screen
    Posts
    1,603

    Default

    eh I know how to bypass this ( ͡° ͜ʖ ͡° )
    U block the door and keep jumping.
    Last edited by RyBack; March 13th, 2017 at 07:56 AM.

  3. #63

    Default

    Easy to fix.
    I count the time you touching the trigger and you dont stay for long there

  4. #64
    Purple Developer Purple Elephant1au's Avatar
    Join Date
    Feb 2012
    Location
    Australia
    Posts
    1,269

    Default

    Or just extend the radius upwards from the trigger origin...

    Also jumping stops you blocking of the door anyway.

    Purple's Playground
    OBJ :
    103.29.85.127:12203
    xfire: purpleelephant1au
    email: purpleelephant1au@gmail.com
    skydrive: PurpleElephantSkydrive




  5. #65
    Administrator James's Avatar
    Join Date
    May 2010
    Location
    on the intraweb
    Posts
    3,180

    Default

    I was going to say you just need to adjust the z axis right?

  6. #66
    Developer RyBack's Avatar
    Join Date
    Apr 2014
    Location
    In Front of the screen
    Posts
    1,603

    Default

    Quote Originally Posted by Purple Elephant1au View Post
    Or just extend the radius upwards from the trigger origin...

    Also jumping stops you blocking of the door anyway.
    nah it doesn't.
    but i think ur right about the height.

  7. #67

    Default

    Door entities have the dmg command to deal damage to any entity preventing it from opening or closing.
    With this command, one can create a simple script to punish doorblockers by hurting them.
    You can compare this in real life to being hit by a door in the face. It hurts.

    Execute the script from DMprecache

    main:
    local.min = int(getcvar("sv_maxclients"));
    // It needs to spawn 5 or more entities to work correctly. Explained here -> https://www.x-null.net/forums/threads/3806
    local.max = spawn script_model model "models/fx/dummy.tik" origin ( 0 0 -5000 );
    local.max = spawn script_model model "models/fx/dummy.tik" origin ( 0 0 -5000 );
    local.max = spawn script_model model "models/fx/dummy.tik" origin ( 0 0 -5000 );
    local.max = spawn script_model model "models/fx/dummy.tik" origin ( 0 0 -5000 );
    local.max = spawn script_model model "models/fx/dummy.tik" origin ( 0 0 -5000 );
    local.max = spawn script_model model "models/fx/dummy.tik" origin ( 0 0 -5000 );

    for (local.i = local.min; local.i <= local.max.entnum; local.i++) {

    local.ent = getentity local.i;

    if (local.ent && local.ent.classname == "RotatingDoor") {
    // Damage the door will do to entities that get stuck in it. (DoorBlockers)
    local.ent dmg 33;
    }

    if (local.i % 10 == 0) {
    waitframe;
    }
    }
    end;

    holdthedoor.zip

    This is how it looks

  8. #68
    Senior Member Ancient Order's Avatar
    Join Date
    Aug 2015
    Location
    Paris, Fr.
    Posts
    256

    Default

    Awesome! Thank you! i will add the damage bit to my removed/respawned doors

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •