Skip to content

Mikk155/bts_rc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bts_rc

Scripts used for the Sven Co-op map "Black-Mesa training simulation: Resonance cascade"

You are free to use, copy, modify, merge, publish, distribute and even sell copies of these codes under the following conditions:

  • A link to this project should be added in your source

  • Credits for the responsibles creators and contributors should be noticed in your source. These are usually on the Header of the scripts.


Cvars

  • as_command bts_rc_disable_bloodpuddles (value)

    • 1
      • Disables blood puddles entirely
    • 0
      • Generate blood puddles when possible. Default.
  • as_command bts_rc_disable_player_voices (value)

    • 1
      • Disables player voices entirely
    • 0
      • Player does voice responses to game events. Default.

Developer mode

These scripts does use of preproccesors for testing purposes

#if DEVELOP
    CLogger@ m_Logger = CLogger( "Randomizer" );
#endif

void myfn()
{
    ...

    #if DEVELOP
        m_Logger.debug( "{}: \"{}\" Swap position to {}", { name, ent_name, pRandomizer.GetOrigin().ToString() } );
    #endif
}

Sadly in AngelScript We can not define them.

#define DEVELOP

This doesn't work.

So to enable loggers and other features find all "#if DEVELOP" in the project with Visual studio code (or any IDE) and replace to "#if SERVER"


General credits:

Contributor Description
AraseFiq Script general and initial idea for these
Mikk155 Various
Rizulix Weapons, Item tracker
Gaftherman Item tracker
KernCore Various code references
Nero0 Various code references
Solokiller Help Support
Help Support
Zode Utility freeedicts
Adambean Objetive indicator
Hezus Objetive indicator
GeckoN Objetive indicator