AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Subplugin Submission [ZP] Addon: Team Semiclip 3.3.1 [5 Jun 2017] (https://forums.alliedmods.net/showthread.php?t=167330)

schmurgel1983 09-14-2011 12:49

[ZP] Addon: Team Semiclip 3.3.1 [5 Jun 2017]
 
5 Attachment(s)
Zombie Plague
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
  • 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 humans, zombies, admins
  • render visual for alive, death and spectators
  • entities movement while in semiclip
  • no one gets blocked before first zombie is choosen

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: engine, fakemeta, hamsandwich

Other Versions: [Go Top]

For normal Counter-Strike 1.6 or Condition-Zero version click here.
For Day of Defeat 1.3 version click here.

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

// ---------------------------------
// --------- Zombie Plague ---------
// ---------------------------------
//  Team Semiclip 3.3.1 Config File
// ---------------------------------
// Any changes you make here will be
// automatically loaded at map start

echo Executing [ZP] 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 zp_team_semiclip_info.txt for more information) [0-both have / 1-Zombies don't have / 2-Humans 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 zp_team_semiclip_info.txt for more information) [0-disabled / 1-Zombies / 2-Humans / 3-Both]
semiclip_button_trigger 32 // What button's trigger semiclip (look zp_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 disable Game mode Event or 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]

// Gamemodes
// ---------
semiclip_disable_on_infection 0 // disable semiclip on Infection Mode
semiclip_disable_on_multiple 0 // disable semiclip on Multiple Infection Mode
semiclip_disable_on_nemesis 0 // disable semiclip on Nemesis Mode
semiclip_disable_on_survivor 0 // disable semiclip on Survivor Mode
semiclip_disable_on_swarm 0 // disable semiclip on Swarm Mode
semiclip_disable_on_plague 0 // disable semiclip on Plague Mode
semiclip_disable_on_armageddon 0 // disable semiclip on Armageddon Mode (only zp50)

// Nightmare
// ---------
semiclip_disable_on_sniper 0 // disable semiclip on Sniper Mode
semiclip_disable_on_assassin 0 // disable semiclip on Assassin Mode
semiclip_disable_on_armageddon 0 // disable semiclip on Armageddon Mode
semiclip_disable_on_versus 0 // disable semiclip on Survivors vs Assassins Mode
semiclip_disable_on_apocalypse 0 // disable semiclip on Apocalypse Mode
semiclip_disable_on_hunt 0 // disable semiclip on Hunter and Hunted Mode
semiclip_disable_on_nightmare 0 // disable semiclip on Nightmare Mode

// Other
semiclip_knife_trace 0 // Knife trace to next enemy when you stay inside a teammate and aiming a enemy [0-disabled / 1-Zombies / 2-Humans / 3-Both]

// 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 zp nemesis/survivor glow) [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 Admin > Normal!
// --------------------------------------------------
semiclip_color_admin_flag "b" // Admin color access flag (look user.ini, b - reservation)
semiclip_color_admin_zombies "255 63 63" // Admin zombies render color "RRR GGG BBB" [0-255]
semiclip_color_admin_humans "153 204 255" // Admin humans render color "RRR GGG BBB" [0-255]
semiclip_color_zombies "255 63 63" // Zombies render color "RRR GGG BBB" [0-255]
semiclip_color_humans "153 204 255" // Humans 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_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 -> human team has automatic semiclip, zombies don't have it!

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


    --------------------------------------------------------------------------------------------------------------------
    semiclip_block_team 2 -> zombie team has automatic semiclip, humans don't have it!

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


    --------------------------------------------------------------------------------------------------------------------
    semiclip_block_team 3 -> zombie and human team don't have automatic semiclip!

    semiclip_button 0 -> both teams don't have any semiclip
    semiclip_button 1 -> zombies have semiclip on button trigger, humans don't have any semiclip
    semiclip_button 2 -> humans have semiclip on button trigger, zombies 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

zp_team_semiclip.sma: v3.6 - v4.3 fix5
zp50_team_semiclip.sma: v5.0+ (Recommended 5.0.7+)

v1.2.0 - v3.2.1 views 14210

abdul-rehman 09-14-2011 14:40

Re: [zp50] Team Semiclip 2.0.0 [09-14-11]
 
Looks Nice
Btw:
Code:
    set_tr2(trace, TR_AllSolid, get_tr2(0, TR_AllSolid))     set_tr2(trace, TR_StartSolid, get_tr2(0, TR_StartSolid))     set_tr2(trace, TR_InOpen, get_tr2(0, TR_InOpen))     set_tr2(trace, TR_InWater, get_tr2(0, TR_InWater))     set_tr2(trace, TR_iHitgroup, get_tr2(0, TR_iHitgroup))
Is it necessary to set those if you are not altering them at all ?

schmurgel1983 09-14-2011 14:45

Re: [zp50] Team Semiclip 2.0.0 [09-14-11]
 
Quote:

Originally Posted by abdul-rehman (Post 1555256)
Looks Nice
Is it necessary to set those if you are not altering them at all ?

thanks, when someone catch this trace, he get false result when i not change it.

Gam3ronE 11-27-2011 15:55

Re: [zp50] Team Semiclip 2.0.0 [09-14-11]
 
Can you add options to turn off semi-clip in survivor and nemesis rounds?

Gam3ronE 12-03-2011 07:36

Re: [zp50] Team Semiclip 2.0.0 [09-14-11]
 
Quote:

Originally Posted by Graham (Post 1603791)
Can you add options to turn off semi-clip in survivor and nemesis rounds?

BUMP

schmurgel1983 12-05-2011 17:42

Re: [zp50] Team Semiclip 2.0.0 [09-14-11]
 
Quote:

Originally Posted by Graham (Post 1606846)
BUMP

i working on it in few days, current i have no time, while new content wow 4.3 ^^ but i try to finish it befor the dollar crash.

Excalibur.007 12-07-2011 09:40

Re: [zp50] Team Semiclip 2.0.0 [09-14-11]
 
You do not have to use do_random_spawn(index). You've this in 5.0.7!

PHP Code:

#include <zp50_random_spawn>
zp_random_spawn_do(playertrue

True to use CS:DM spawn points
False to use default spawn points

schmurgel1983 12-08-2011 08:10

Re: [zp50] Team Semiclip 2.1.0 [12-08-11]
 
Quote:

Originally Posted by Excalibur.007 (Post 1609151)
You do not have to use do_random_spawn(index). You've this in 5.0.7!

PHP Code:

#include <zp50_random_spawn>
zp_random_spawn_do(playertrue

True to use CS:DM spawn points
False to use default spawn points

thanks :)

What's new?
Code:

v2.1.0:
    - Added: Default gamemodes support to disable
      plugin for the gamemodes
    - Change: csdm spawns using zp_random_spawn_do
      from zp 5.0.7, use cs_ham_bots_api

// Gamemodes
semiclip_disable_on_infection 0 // disable semiclip on Infection Mode
semiclip_disable_on_multiple 0 // disable semiclip on Multiple Infection Mode
semiclip_disable_on_nemesis 0 // disable semiclip on Nemesis Mode
semiclip_disable_on_survivor 0 // disable semiclip on Survivor Mode
semiclip_disable_on_swarm 0 // disable semiclip on Swarm Mode
semiclip_disable_on_plague 0 // disable semiclip on Plague Mode
semiclip_disable_on_armageddon 0 // disable semiclip on Armageddon Mode

Requirements:
Mods: Counter-Strike 1.6 or Condition-Zero
AMXX: Version 1.8.0 or later
Module: engine, fakemeta, hamsandwich

ZP Version: 5.0.7

Gam3ronE 12-09-2011 16:51

Re: [zp50] Team Semiclip 2.1.0 [12-08-11]
 
Have you got a version which works for 4.3? Or does it already work for that? Good job by the way!

schmurgel1983 12-09-2011 19:33

Re: [zp50] Team Semiclip 2.1.0 [12-08-11]
 
current, its only for 5.0.7


All times are GMT -4. The time now is 05:40.

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