View Single Post
Author Message
ojmdk476oj
AlliedModders Donor
Join Date: Dec 2009
Old 08-30-2010 , 12:00   [CS:S]Trikz 0.6.6 (Updated 27-12-2012)
Reply With Quote #1

Features
Remove flash.
Give one flash to player.
Give a flash every time the user throw one.
Block/ghost (Transparent as ghost).
Checkpont menu (Save/tele menu)
Respawn
Cvar to set Trikz settings
Trikz menu
Teleport to player

Requirements
  • SDKHooks
  • SteamTools
  • Updater (if you need the plugin to update automaticly)

Chat Commands
  • !trikz (Brings up the trikz menu).
  • !tpmenu (Brings up the save/teleport menu).
  • !auto (Brings up the autoflash menu).
  • !flash (Give one flashbang).
  • !autoflash (autogive flashbang when othe user throw one).
  • !autoflashswitch (Autogive flashbang and switches to it after 0.15 sec).
  • !block (Mortal/ghost player)
  • !autojump (Autojump when jump button is pressed)
  • !save1 (Save first teleport)
  • !save2 (save secound teleport)
  • !tele1 (Teleport to first teleport)
  • !tele2 (Teleport to second teleport)
  • !teleport_noti (Toggles whenever a player wants to be notified about player wanting to teleport to him/her)

Public Player Console Commands
  • sm_trikz (Brings up the trikz menu).
  • sm_tpmenu (Brings up the save/teleport menu).
  • sm_automenu (Brings up the autoflash menu).
  • sm_flash (Give one flashbang).
  • sm_autoflash (autogive flashbang when othe user throw one).
  • sm_autoflashswitch (Autogive flashbang and switches to it after 0.15 sec).
  • sm_block (Mortal/ghost player)
  • sm_autojump (Autojump when jump button is pressed)
  • sm_save1 (Save first teleport)
  • sm_save2 (save secound teleport)
  • sm_tele1 (Teleport to first teleport)
  • sm_tele2 (Teleport to second teleport)
  • sm_teleport_noti (Toggles whenever a player wants to be notified about player wanting to teleport to him/her)

Cvars
Will be auto-generated on first run at cfg/sourcemod/trikz.cfg
PHP Code:
// This file was auto-generated by SourceMod (v1.4.1)
// ConVars for plugin "trikz.smx"


// Enable or disable new server tag : "Trikz" : 0 - disable, 1 - enable
// -
// Default: "1"
sm_trikz_add_servertag "1"

// What should sv_airaccelerate  be (requires sm_trikz_settings to be 1)
// -
// Default: "150"
sm_trikz_airaccelerate "150"

// Enable or disable auto jump (!trikz_autojump): 0 - disable, 1 - enable
// -
// Default: "1"
sm_trikz_autojump "1"

// Enable or disable autoupdate: 0 - disable, 1 - enable
// -
// Default: "1"
sm_trikz_autoupdate "1"

// Enable or disable effects on flashbang explosions: 0 - disable, 1 - enable sparks, 2 - enable sound, 3 - enable sparks & sound
// -
// Default: "0"
sm_trikz_effects "0"

// Enable or disable autoflash command: 0 - disable, 1 - enable
// -
// Default: "1"
sm_trikz_enableautoflash "1"

// Enable or disable autoflashswitch command (requires sm_trikz_enableautoflash to be 1): 0 - disable, 1 - enable
// -
// Default: "1"
sm_trikz_enableautoflashswitch "1"

// Enable or disable block command (!trikz_block): 0 - disable, 1 - enable
// -
// Default: "1"
sm_trikz_enableblock "1"

// Enable or disable invisibility when ghost (requires sm_trikz_enableblock to be 1): 0 - disable, 1 - enable
// -
// Default: "1"
sm_trikz_enableblockinvis "1"

// Enable or disable respawn command: 0 - disable, 1 - enable
// -
// Default: "1"
sm_trikz_enablerespawn "1"

// Enable or disable teleport menu/commands: 0 - disable, 1 - enable
// -
// Default: "1"
sm_trikz_enableteleport "1"

// Enable or disable that a player can teleport to another player (if the other player allows): 0 - disable, 1 - enable
// -
// Default: "1"
sm_trikz_enableteleporttp "1"

// Enable or disable grenade radio (Fire in the hole!): 1 - disable, 0 - enable
// -
// Default: "1"
sm_trikz_ignoreradio "1"

// Enable or disable no fall damage: 0 - disable, 1 - enable
// -
// Default: "1"
sm_trikz_nofall "1"

// Enable or disable override of the game description (standard Counter-Strike: Source, override to SM_Trikz/Trikz): 0 - disable, 1 - enable
// -
// Default: "1"
sm_trikz_override_gamedesc "1"

// How many times a player can respawn pr. minute. default 2 times pr. minute (requires sm_trikz_enablerespawn to be 1): 0 - disabled
// -
// Default: "2"
sm_trikz_respawnmin "2"

// Enable or disable trikz settings (Airaccelerate, flashboost, friendlyfire and bhopenable): 0 - disable, 1 - enable
// -
// Default: "1"
sm_trikz_settings "1"

// How much time after 2 players has teleport to each other they should not collide (block each other)
// -
// Default: "5"
sm_trikz_teleporttime "5"

// SM_Trikz plugin version (unchangeable)
// -
// Default: "0.6.6"
sm_trikz_version "0.6.6" 
Installation
First download and install all the requirements, then download trikz.zip and extract it to cstrike\addons\sourcemod. Now restart your server, and trikz should work.

Changelog
  • 0.1
    1. Plugin made
  • 0.2
    1. Fixed bug so you can't use all the commands when you are dead ex. !save1.
    2. Fixed bug so you could respawn when you was on spectator.
    3. A lot of other things i don't remember.
  • 0.3
    1. Fixed so you can't spam the server by respawning yourself and drop gun and cause Hugh lag.
    2. Fixed so you can't spam the server whit flashbangs.
    3. Fixed that if you set a cvar above 1 it would not been seen in the menu (If the cvar is above 1 it will take it as enabled.)
    4. Added command to strip and give knife at spawn.
  • 0.4
    1. Rewrote the plugin!
    2. Add autoswitch to autoflash so when a players throws a flashbang, he automatic switches to the flash.
    3. Added as ghost are transparent.
    4. Added french translation, thanks to Malak044.
    5. Fixed a **** load of bugs.
    6. Added new cvars.
    7. Added no fall damage to the plugin (Cvar to disabled and enable).
    8. Can't remember all the other things.
  • 0.5
    1. Added autojump.
    2. Optimized some things.
    3. Changed autoflash switch time from 0.8 to 0.15
    4. Removed french translation until someone wants to update it.
  • 0.6.0
    1. Changed autojump to be disabled by default
    2. Changed if a player enables autoswitch, it will automatic change to flashbang.
    3. Changed how autoflash and autoswitch works.
    4. Changed how the plugin counts the players current flashbangs.
    5. Fixed that if a player disconnect before the welcome message there would be a ERROR
    6. Fixed when saving in air (save2) the translation would be wrong (ERROR).
    7. Fixed autoflash and autoswitch being reset upon spawn
    8. Fixed typo with fall damage cvar.
    9. Fixed translation for autojump.
    10. Added teleport to player (open trikz menu, teleport to player, choose player, the player choosen will be asked and can either Accept, Deny, and Deny and don't ask again).
    11. Added support for autoupdate (Updater Plugin).
    12. Added limit on respawn (could crash server).
    13. Added new translations for autoswitch
    14. Removed credits from menu (dosen't matter to the players).
  • 0.6.1
    1. Fixed minor bugs.
    2. Removed some unused translations.
  • 0.6.2
    1. Fixed not being able to open checkpoints menu through trikz menu.
  • 0.6.3
    1. Added german translations thanks to stonedegg.
  • 0.6.4
    1. A couple of fixes thanks to KyleS and shavit!
  • 0.6.5
    1. Fixed the way the game desc was overriden (SDK Hooks => SteamTools)
    2. Fixed being able to teleport to SoureTV
  • 0.6.6
    1. Fixed that if SteamTools doesn't work, then none will work (SteamTools is optional for GameDesc)

If you have any bugs or request, leave a reply!

Credits Goto
3sigma - For making the basic code.
Exvel - For the flash remove code.
Dataviruset - For using some of his code.
Malak044 - For adding french translations, and helping me with making some of the code, and testing ;)
stonedegg - Adding german translation
Chrisber - For autojump code.
Attached Files
File Type: txt trikz.phrases.txt (4.5 KB, 1285 views)
File Type: zip trikz.zip (99.1 KB, 2851 views)
File Type: sp Get Plugin or Get Source (trikz.sp - 1123 views - 38.6 KB)
File Type: smx trikz.smx (26.7 KB, 1113 views)

Last edited by ojmdk476oj; 12-27-2012 at 10:10. Reason: New version 0.6.6
ojmdk476oj is offline