AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Scripting Forwards (https://forums.alliedmods.net/showthread.php?t=49596)

sawce 01-08-2007 10:28

Scripting Forwards
 
2 Attachment(s)
This plugin will send various client commands to clients whenever certain events happen server-side. These events are changing teams and classes. Additionally the client will be sent two forwards at the beginning of the map, depending on the map type and mp_blockscripts setting.

Note: It does nothing that can get around mp_blockscripts, please do not think this would help circumvent that. This just merely makes class-based config files much easier to manage.

The forwards sent are:

Blockscript forwards
  • f_bs - Blockscripts is enabled
  • f_nobs - Blockscripts is disabled
Map forwards
  • f_ns - Classic map
  • f_co - Combat map
Team forwards
  • f_marine - Player joined the marine team
  • f_alien - Player joined the alien team
Class forwards
  • f_commander - Commander
  • f_light - Vanilla marine
  • f_heavy - Heavy armor
  • f_jetpack - Jetpack
  • f_skulk - Skulk
  • f_gorge - Gorge
  • f_lerk - Lerk
  • f_fade - Fade
  • f_onos - Onos
Attached is an example client config file that does the following:
  • Uses a simple pistol script when on marine in an mp_bs 0 server
  • Binds a key (KP_ENTER) to 4 different settings, depending on team and map
  • Changes cl_customcrosshair to different values depending on class
Note the sample script is kind of overwhelming if youre new to scripting. Its written as cleanly as I can think of, but the limited HL scripting system kind of makes that hard.

Agent_GOD 01-24-2007 06:37

Re: Scripting Forwards
 
nice +karma


PS: Why you have -9999 karma??LOL

Darth Sailor 10-09-2007 15:45

Re: Scripting Forwards
 
I really don't get what this plugin does. Can you put it in layman's terms?


All times are GMT -4. The time now is 03:19.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.