Giter Club home page Giter Club logo

hl_c11_a3_anti_troll's Introduction

hl_c11_a3_anti_troll

This disables the map restart caused by the tripmine explosions. As requested by Blizzard Fox, it also modifies the tripmines so that they don't explode and instead respawn players who touch the beams.

If you want the tripmines to explode normally but still not restart the level, set the cvar in hl_c11_a3.cfg:

as_command tmantitroll_respawn_mode 1

You can increase this value to override the player respawn delay.

In an effort to preserve the puzzle aspect of the map, the tripmines will respawn after exploding so that it's slightly harder to cheese your way through.

The included .cfg will override (not overwrite) the default one if you place it in svencoop_addon, so just extract the contents there and you're good to go.

hl_c11_a3_anti_troll's People

Contributors

outerbeast avatar wootguy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

outerbeast

hl_c11_a3_anti_troll's Issues

Cleanup and some tweaks

Just some stuff that I think should be updated:-

  • #L52: te_beampoints paramater Color c=GREEN can be changed to RGBA c= RGBA_GREEN
    Color class and presets can be removed entirely
  • That said, te_beampoints which requires the doesn't appear to be used at all, might as well remove that too
  • Option to let end-user to set whatever ent target or targetname to remove instead of the current hardcoded "leveldead_mm" value used
  • mineThink held in a global CScheduledFunction handle, so it can be disabled later in a trigger_script via RemoveTimer
void disableRespawn(CBaseEntity@ pActivator, CBaseEntity@ pCaller, USE_TYPE useType, float flValue)
{
    if( fnMineThink !is null )
    {
        g_Scheduler.RemoveTimer( fnMineThink );
        @fnMineThink = null;
    }

	respawnMode = false;
}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.