Skip to main content

info_map_parameters

Point Entity

Map parameters. Used to set which teams can buys, and the C4 bomb detonation radius.

Keyvalues

  • Pitch Yaw Roll (Y Z X) (angles) <Angle>
    This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

  • Entity Scripts (vscripts) <ScriptList>
    Name(s) of script files that are executed after all entities have spawned.

  • Name (targetname) <TargetSource>
    The name that other entities refer to this entity by.

  • Teams that can buy (buying) <Choices>

    • Everyone
    • Only Counter-Terrorists
    • Only Terrorists
    • Nobody
  • C4 Explosion Radius (bombradius) <Float>
    Overrides the default radius of the explosion when the C4 bomb explodes. Max range is 2048

  • Pet Population (petpopulation) <Float>
    Determines the target population of pets.

  • Use Normal Spawns in Deathmatch? (usenormalspawnsfordm) <Boolean>
    Set to true if the map should use the mapper-placed spawn points instead of generating random ones.

  • Disable Autogenerated DM Spawns? (disableautogenerateddmspawns) <Boolean>
    Set to true if you want to manually place info_deathmatch_spawns and not have the engine generate them.

  • Bot max vision distance (botmaxvisiondistance) <Float>
    Sets the maximum distance bots can see enemies. Default is -1, unlimited.

  • Rain trace-to-sky enabled (raintracetoskyenabled) <Boolean>
    Enable or disable traces for rain droplet effects.

  • Environment Rain Strength (envrainstrength) <Float>
    Controls the amount of rain splashes.

  • Environment Puddle Ripple Strength (envpuddleripplestrength) <Float>
    Strength of the puddle ripples.

  • Environment Puddle Ripple Direction (envpuddlerippledirection) <Float>
    Rotates the puddle ripples (0 to 1, i.e. 0.5 is reversed, 0.25 is 90 degrees).

  • Environment Wetness Coverage (envwetnesscoverage) <Float>
    How wet the environment was before drying.

  • Environment Wetness Drying Amount (envwetnessdryingamount) <Float>
    How much the environment dried out.

Inputs

  • RunScriptFile <String>
    Load and execute a script file

  • RunScriptCode <String>
    Execute a fragment of script code

  • CallScriptFunction <String>
    Call a script function

  • CallPrivateScriptFunction <String>
    Calls a script function from this entity's private script scope.

  • CallGlobalScriptFunction <String>
    Calls a script function in the global script scope.

  • Kill <Void>
    Removes this entity from the world.

  • KillHierarchy <Void>
    Removes this entity and all its children from the world.

  • KillConstrained <Void>
    Removes this entity, all its children, and anything constrained to it, from the world.

  • AddOutput <String>
    Adds an entity I/O connection to this entity. Parameter format: outputname>targetname>inputname>parameter>delay>max times to fire (-1 == infinite). Very dangerous, use with care.

  • FireUser1 <Void>
    Causes this entity's OnUser1 output to be fired.

  • FireUser2 <Void>
    Causes this entity's OnUser2 output to be fired.

  • FireUser3 <Void>
    Causes this entity's OnUser3 output to be fired.

  • FireUser4 <Void>
    Causes this entity's OnUser4 output to be fired.

  • FireWinCondition <Integer>
    Fires win conditions for the win.

Outputs

  • OnUser1 <Void>
    Fired in response to FireUser1 input.

  • OnUser2 <Void>
    Fired in response to FireUser2 input.

  • OnUser3 <Void>
    Fired in response to FireUser3 input.

  • OnUser4 <Void>
    Fired in response to FireUser4 input.

  • OnKilled <Void>
    Fired when the entity is killed and removed from the game. Parameter is the inflictor.