Welcome, Guest. Please login or register. Did you miss your activation email?
collapse

Author Topic: SMMOD Entity and Commands List  (Read 1821 times)

0 Members and 1 Guest are viewing this topic.

Offline sirmasters

  • *
  • +5% chance to make useful post
  • sirmasters barely matters.sirmasters barely matters.
    • My Twitter (My Forums are inactive at the moment)
SMMOD Entity and Commands List
« on: August 11, 2013, 09:53:41 AM »
Entities:

mapadd
Notes:
A global entity, do not create via hammer or mapadd (Inception) as it would mess up SMMOD's mapadd sysstem.

Inputs:
RunLabel <Label> - Run a mapadd label

mapadd_trig
Notes:
A entity that can be used as a alternative to trigger map inputs. Can be used in conjunction with the mapadd entity. Currently only the player can trigger it and it can only be triggered once.
Keyvalue:
radius
Outputs:
OnTrigger - Outputs when the player walks within it's radius of trigger

npc_aliengrunt
Notes:
A NPC ported from HLSS's code.

npc_aliencontroller
Notes:
A NPC ported from HLSS's code.

Commands

+kick
The infamous SMOD kick,

Associated commands:
ConVar kick_throwforce( "kick_throwforce", "20", FCVAR_ARCHIVE, "The default throw force of kick without player velocity." );
ConVar kick_damage( "kick_damage", "50", FCVAR_ARCHIVE, "The default damage of kick without player velocity." );
ConVar kick_throwforce_mult( "kick_throwforce_mult", "1", FCVAR_ARCHIVE, "The multiplier for kick force." );
ConVar kick_damage_mult( "kick_damage_mult", "1", FCVAR_ARCHIVE, "The multiplier for kick damage." );

ConVar kick_throwforce_div( "kick_throwforce_div", "48", FCVAR_ARCHIVE, "Divide the velocity by this." );
ConVar kick_damage_div( "kick_damage_div", "48", FCVAR_ARCHIVE, "Divide the velocity by this." );


toggle_ironsight and +ironsight
Ironsight... That comes in two methods, toggle and hold.
Associated commands:
ConVar viewmodel_adjust_forward( "viewmodel_adjust_forward", "0", FCVAR_REPLICATED );
ConVar viewmodel_adjust_right( "viewmodel_adjust_right", "0", FCVAR_REPLICATED );
ConVar viewmodel_adjust_up( "viewmodel_adjust_up", "0", FCVAR_REPLICATED );
ConVar viewmodel_adjust_pitch( "viewmodel_adjust_pitch", "0", FCVAR_REPLICATED );
ConVar viewmodel_adjust_yaw( "viewmodel_adjust_yaw", "0", FCVAR_REPLICATED );
ConVar viewmodel_adjust_roll( "viewmodel_adjust_roll", "0", FCVAR_REPLICATED );
ConVar viewmodel_adjust_fov( "viewmodel_adjust_fov", "0", FCVAR_REPLICATED, "Note: this feature is not available during any kind of zoom", vm_adjust_fov_callback );
ConVar viewmodel_adjust_enabled( "viewmodel_adjust_enabled", "0", FCVAR_REPLICATED|FCVAR_CHEAT, "enabled viewmodel adjusting", vm_adjust_enable_callback );
« Last Edit: August 14, 2013, 11:17:37 PM by sirmasters »
._. I love coffee.

Offline chrisc44890

  • *
  • +1% chance to make useful post
  • chrisc44890 has no influence.
Re: SMMOD Entity and Commands List
« Reply #1 on: August 12, 2013, 12:44:56 AM »
I saw that you were going to add a toggleable mechanic for npcs to notice dead bodies?
Is that implemented and if so what's the command for that?
Edit: Also I bound +ironsight to mouse3 and pressing it made me kick
« Last Edit: August 12, 2013, 12:47:28 AM by chrisc44890 »

Offline sirmasters

  • *
  • +5% chance to make useful post
  • sirmasters barely matters.sirmasters barely matters.
    • My Twitter (My Forums are inactive at the moment)
Re: SMMOD Entity and Commands List
« Reply #2 on: August 12, 2013, 05:48:51 AM »
I saw that you were going to add a toggleable mechanic for npcs to notice dead bodies?
Is that implemented and if so what's the command for that?
Edit: Also I bound +ironsight to mouse3 and pressing it made me kick
I haven't implemented the body detection yet, as it slipped my mind when I was fixing/working on mapadd_trigger...
... I see what I forgot to change. Thank you for informing me that +ironsight kicks things. I'll ship the update in a few minutes from now.
._. I love coffee.

 

* SMMOD Twitter