BSNOOCH.COM

Community Projects => Sir Masters' Mod => Topic started by: sirmasters on August 11, 2013, 09:53:41 AM

Title: SMMOD Entity and Commands List
Post by: sirmasters 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 );
Title: Re: SMMOD Entity and Commands List
Post by: chrisc44890 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
Title: Re: SMMOD Entity and Commands List
Post by: sirmasters 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.