AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   [CS|CZ] Team Semiclip 3.3.1 [5 Jun 2017] (https://forums.alliedmods.net/showthread.php?t=137980)

schmurgel1983 09-11-2010 16:56

[CS|CZ] Team Semiclip 3.3.1 [5 Jun 2017]
 
36 Attachment(s)
Team Semiclip v3.3.1
Release: 11 Sep 2010 | Last Update: 5 Jun 2017

Content

Features: [Go Top]
  • team semiclip
  • single / both teams
  • enemy trespass
  • hostage support
  • button activation (customize)
  • boosting
  • unstuck on team change
  • preparation (own unstuck algorithm)
  • duration (own unstuck algorithm)
  • knife trace to next enemy
  • constant / fading render
  • render for ct, terror, admins, hostages and vip
  • render visual for alive, death and spectators
  • entities movement while in semiclip

Requirements: [Go Top]
  • Mods: Counter-Strike 1.6 or Condition-Zero
  • Metamod: Version 1.19 or later
  • AMXX: Version 1.8.1 or later
  • Module: cstrike, engine, fakemeta, hamsandwich

Other Versions: [Go Top]

For Zombie Plague 3.6 to 5.0 version click here.
For Day of Defeat 1.3 version click here.

Youtube: [Go Top]
Cvars: [Go Top]
Code:

// ---------------------------------
// -------- Counter-Strike ---------
// --------------- & ---------------
// -------- Condition Zero ---------
// ---------------------------------
//  Team Semiclip 3.3.1 Config File
// ---------------------------------
// Any changes you make here will be
// automatically loaded at map start

echo Executing Team Semiclip 3.3.1 Configuration File

// General
// -------
semiclip 1 // Enable or disable semiclip [0-disabled / 1-enabled]
semiclip_block_team 0 // Which team has semiclip (look cs_team_semiclip_info.txt for more information) [0-both have / 1-Terror don't have / 2-CT don't have / 3-Both don't have]
semiclip_enemies 0 // Trespass enemies [0-disabled / 1-enabled]
semiclip_radius 250.0 // Semiclip radius [0.0 - 65535.0]

// Button
// IMPORTANT: Priority is semiclip_block_team > semiclip_button!
// -------------------------------------------------------------
semiclip_button 0 // Button semiclip (look cs_team_semiclip_info.txt for more information) [0-disabled / 1-Terror / 2-CT / 3-Both]
semiclip_button_trigger 32 // What button's trigger semiclip (look cs_team_semiclip_info.txt for more information) [1 - 65535]
semiclip_button_anti_boost 1 // Anti boost if players are inside each other [0-disabled / 1-enabled]
semiclip_button_anti_stuck 0 // Anti stuck if players are inside each other [0-disabled / 1-enabled]

// Unstuck
// IMPORTANT: Unstuck trigger only on Preparation ends, Duration ends and Team change Event!
// -----------------------------------------------------------------------------------------
semiclip_unstuck 4 // Unstuck [0-disabled / 1-specified team / 2-csdm / 3-random around own place / 4-trespass]
semiclip_unstuck_render 1 // Effect unstuck 4 only (trespass) - Render enemies [0-disabled / 1-enabled]
semiclip_unstuck_delay 0 // Unstuck delay in seconds [0-instant / 0.1 - 65535.0]

// Hostage
// -------
semiclip_hostage 0 // Hostage semiclip [0-disabled / 1-Terror / 2-CT / 3-Both]

// Other
// IMPORTANT: Duration has higher priority as Preparation!
// -------------------------------------------------------
semiclip_knife_trace 0 // Knife trace to next enemy when you stay inside a teammate and aiming a enemy [0-disabled / 1-Terror / 2-CT / 3-Both]
semiclip_preparation 0 // Specifies time for "no one block" at the beginning of each round in seconds [0-disabled / 0.1 - 65535.0]
semiclip_duration 0 // Specifies time to force this plugin only to works at the beginning of each round in seconds [0-disabled / 0.1 - 65535.0]

// Render
// ------
semiclip_render 0 // Render options [0-disabled / 1-normal / 2-fade]
semiclip_render_3rd_plugins 0 // Support 3rd party plugins, with auto correct render and glow (like csdm spawn protection) [0-disabled / 1-enabled]
semiclip_render_free_look 1 // Render players in free look mode [0-disabled / 1-enabled]

// Render -Normal-
// ---------------
semiclip_normal_mode 1 // Normal mode (look amxconst.inc -> Render for set_user_rendering) [0-5]
semiclip_normal_fx 19 // Normal fx (look amxconst.inc -> Fx for set_user_rendering) [0-20]
semiclip_normal_amt 4 // Normal amount [0-255]
semiclip_normal_spec 1 // Render for current spectating player [0-disabled / 1-enabled]

// Render -Fade-
// -------------
semiclip_fade_mode 2 // Fade mode (look amxconst.inc -> Render for set_user_rendering) [0-5]
semiclip_fade_fx 0 // Fade fx (look amxconst.inc -> Fx for set_user_rendering) [0-20]
semiclip_fade_min 130 // Min fade (stay inside other player or spectating player) [0-255]
semiclip_fade_max 225 // Max fade [0-255]
semiclip_fade_spec 1 // Render fade for current spectating player [0-disabled / 1-enabled]

// Color
// IMPORTANT: Color priority is Vip > Admin > Normal!
// --------------------------------------------------
semiclip_color_admin_flag "b" // Admin color access flag (look user.ini, b - reservation)
semiclip_color_admin_ter "255 63 63" // Admin terror render color "RRR GGG BBB" [0-255]
semiclip_color_admin_ct "153 204 255" // Admin ct render color "RRR GGG BBB" [0-255]
semiclip_color_ter "255 63 63" // Terror render color "RRR GGG BBB" [0-255]
semiclip_color_ct "153 204 255" // CT render color "RRR GGG BBB" [0-255]
semiclip_color_hos "192 148 32" // Hostage render color "RRR GGG BBB" [0-255]
semiclip_color_vip "192 148 32" // CT VIP render color "RRR GGG BBB" [0-255]

Plugin Customization Section: [Go Top]
Code:

const Float:CVAR_INTERVAL  = 6.0 /* ¬ 6.0 */
const Float:SPEC_INTERVAL  = 0.2 /* ¬ 0.2 */
const Float:RANGE_INTERVAL = 0.1 /* It's like a 10 FPS server ¬ 0.1 */

#define MAX_HOSTAGE    4  /* Have seen maps with more as 4 hostages ¬ 4 */
#define MAX_PLAYERS    32  /* Server slots ¬ 32 */
#define MAX_REG_SPAWNS        24  /* Max cached regular spawns ¬ 24 */
#define MAX_CSDM_SPAWNS 60  /* CSDM 2.1.2 value if you have more increase it ¬ 60 */
#define MAX_ENT_ARRAY  128 /* Is for max 4096 entities (128*32=4096) ¬ 128 */

Supported Entities: [Go Top] This plugin don't fix any kind of GoldSrc entity issues! Fixed in 3.2+ []
  • func_button
  • func_door
  • func_door_rotating
  • func_guntarget
  • func_pendulum
  • func_plat
  • func_platrot
  • func_rot_button
  • func_rotating
  • func_tank
  • func_trackchange
  • func_tracktrain
  • func_train
  • func_vehicle
  • momentary_door
  • momentary_rot_button

Multi Language: [Go Top]
Spoiler


FAQs: [Go Top]
  • Button triggers:
    Code:

    IN_ATTACK = 1
    IN_JUMP = 2
    IN_DUCK = 4
    IN_FORWARD = 8
    IN_BACK = 16
    IN_USE = 32
    IN_CANCEL = 64
    IN_LEFT = 128
    IN_RIGHT = 256
    IN_MOVELEFT = 512
    IN_MOVERIGHT = 1024
    IN_ATTACK2 = 2048
    IN_RUN = 4096
    IN_RELOAD = 8192
    IN_ALT1 = 16384
    IN_SCORE = 32768
    -----------------------------
    IN_USE + IN_RELOAD = 8224
    IN_DUCK + IN_USE + IN_JUMP = 38

  • Priority of semiclip_block_team and semiclip_button:
    Code:

    semiclip_block_team 0 -> both teams has automatic semiclip

    semiclip_button 0 -> any higher value as 0 is useless! <-
    semiclip_button 1 -> useless! both teams has automatic semiclip
    semiclip_button 2 -> useless! both teams has automatic semiclip
    semiclip_button 3 -> useless! both teams has automatic semiclip


    --------------------------------------------------------------------------------------------------------------------
    semiclip_block_team 1 -> ct team has automatic semiclip, terrors don't have it!

    semiclip_button 0 -> terrors don't have any semiclip <-
    semiclip_button 1 -> terrors have semiclip on button trigger <-
    semiclip_button 2 -> terrors don't have any semiclip but useless! ct team has automatic semiclip
    semiclip_button 3 -> terrors have semiclip on button trigger but useless! ct team has automatic semiclip


    --------------------------------------------------------------------------------------------------------------------
    semiclip_block_team 2 -> terror team has automatic semiclip, cts don't have it!

    semiclip_button 0 -> cts don't have any semiclip <-
    semiclip_button 1 -> cts don't have any semiclip but useless! terror team has automatic semiclip
    semiclip_button 2 -> cts have semiclip on button trigger <-
    semiclip_button 3 -> cts have semiclip on button trigger but useless! terror team has automatic semiclip


    --------------------------------------------------------------------------------------------------------------------
    semiclip_block_team 3 -> terror and ct team don't have automatic semiclip!

    semiclip_button 0 -> both teams don't have any semiclip
    semiclip_button 1 -> terrors have semiclip on button trigger, cts don't have any semiclip
    semiclip_button 2 -> cts have semiclip on button trigger, terrors don't have any semiclip
    semiclip_button 3 -> both teams have semiclip on button trigger


To Do List: [Go Top]
  • [] nothing

Credits: [Go Top]
Please post all bugs, feedbacks, suggestions, comments or improvements you may have.

https://forums.alliedmods.net/attach...1&d=1330508806< all versions

https://forums.alliedmods.net/attach...1&d=1330508806< v3.3.1 only

v1.2.0 - v3.3.0 views 48980

Tirant 09-11-2010 17:20

Re: Team Semiclip 1.2 [09-11-10]
 
You fixed the module?

schmurgel1983 09-11-2010 19:15

Re: Team Semiclip 1.2 [09-11-10]
 
what a kind of fix u mean?

Excalibur.007 09-11-2010 20:38

Re: Team Semiclip 1.2 [09-11-10]
 
The semi clip module i think.

lazarev 09-11-2010 23:52

Re: Team Semiclip 1.2 [09-11-10]
 
Quote:

Originally Posted by Tirant (Post 1297558)
You fixed the module?

I guess he used the code from that module.

Tirant 09-12-2010 03:19

Re: Team Semiclip 1.2 [09-11-10]
 
The code from the module was broken and laggy though. so I hope not.

schmurgel1983 09-12-2010 04:21

Re: Team Semiclip 1.2 [09-11-10]
 
this plugin runs on a full 32 zombie server, he don't laggy :)

Tirant 09-12-2010 04:58

Re: Team Semiclip 1.2 [09-11-10]
 
Shame the module version had a problem though. Good job then, next best thing.

AlexALX 09-13-2010 02:21

Re: Team Semiclip 1.2 [09-11-10]
 
with bots (PODBOT 3) it is laggy... And with change team... Use old team-semiclip. This is not worked.

schmurgel1983 09-13-2010 07:07

Re: Team Semiclip 1.4 (cs/cz/dod) [09-13-10]
 
What's new?
v1.4:
- added: 2 new cvars for render mode & amt
- made plugin 700% faster!
Code:

function maxtime
old = fwd_Player_PostThink 0.047323
new = fwd_Player_PostThink 0.005007
old = fwd_Player_PreThink_Post 0.035108
new = fwd_Player_PreThink_Post 0.005375



All times are GMT -4. The time now is 13:37.

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