Furien Supreme v5
Updated at : 05/03/2024
Looking for a Furien API? Now you can easily register Classes and Weapons!
The best part? Furiens can now see the invisible furiens which improves the team gameplay.
Plus you can use player models without any crash issue since it has a stable model set system and a well made auto team balance & team swap system. Includes Wallhang feature!
Information & Differences- Invisibility is set on AddToFullPack, this way furiens can see furiens (half invisible)
- Easy to register Classes
- Easy to register Weapons
- Allows you to build special weapons like converting Zombie weapons into this Mod
- Classes can have it's own model
- You can easily register a class or weapon for VIP/Admin only (Set by Flag)
- AutoJoin Feature (enable/disable) on configuration file
- Auto switch teams + auto team balance -> Safe
- Wallhang feature (Furiens & Humans, configurable)
Configuration File
Code:
;If 1 Furiens can NOT pick weapons from ground
WEAPONS_HUMANS_ONLY 1
; If 1 bomb will be removed
PLANT_NOT_ALLOWED 0
; If 1 player will autojoin
AUTO_JOIN_TEAM 1
; Game Name
GAME_NAME "Furien Supreme"
; Models
HUMAN_MODEL gign
FURIEN_MODEL leet
; Default/Humans Values
SPEED_DEFAULT 350.0
DEFAULT_GRAVITY 800.0
; Enable Wallhang feature
; 0 - Disable
; 1 - Enable only for Furiens
; 2 - Enable for Furiens & Humans
ENABLE_WALLHANG 1
; Furien Wallhang speed - must be float
TWH_SPEED 600.0
; Human Wallhang speed - must be float
CTWH_SPEED 300.0
Include File
Code:
#if defined _furien_supreme_included
#endinput
#endif
#define _furien_supreme_included
enum {
Primary_Weapon,
Secondary_Weapon
}
/**
* Registers Furien Classes
*
* @param szName Class Name
* @param szDesc Class Description
* @param szModel Player model
* @param fSpeed Class Speed
* @param fGravity Class Gravity
* @param szFlag Flag required to use the Class
* @param szFlagDesc Description - ie. "VIP"
* @return An internal Furien Class ID
*/
native furien_register_class(const szName[], const szDesc[], const szModel[], Float:fSpeed, Float:fGravity, const szFlag[], const szFlagDesc[])
/**
* Registers Weapons
*
* @param szName Class Name
* @param Secondary Primary = 0 | Secondary = 1
* @param szFlag Flag required to use the Weapon
* @param szFlagDesc Description - ie. "VIP"
* @return An internal Weapon Class ID
*/
native furien_register_weapon(const szName[], Secondary, const szFlag[], const szFlagDescription[])
/**
* Get furien Class
*
* @param Id Player Index
* @return Furien Class ID
*/
native furien_get_user_class(id)
/**
* Called when a player choses his Furien Class
*
* @param id Player's Index
* @param ClassID Index of the Class. Required on sub-plugins
*/
forward furien_class_selected(id, ClassID)
/**
* Called when a player choses his Primary/Secondary Weapons
*
* @param id Player's Index
* @param WeaponID INTERNAL Index of the Weapon. Required on sub-plugins
*/
forward furien_primary_selected(id, WeaponID)
forward furien_secondary_selected(id, WeaponID)
/**
* Called when after player spawned and stuff assigned
*
* @param id Player's Index
*/
forward furien_spawn_post(id)
/**
* Get User Gravity
*
* @param Id Player Index
* @return User Gravity
*/
native Float:furien_get_user_gravity(id)
/**
* Set User Gravity
*
* @param Id Player Index
* @param NewGravity New Gravity's float value
*/
native furien_set_user_gravity(id, Float: NewGravity)
/**
* Get User Speed
*
* @param Id Player Index
* @return User Speed
*/
native Float:furien_get_user_speed(id)
/**
* Set User Speed
*
* @param Id Player Index
* @param NewSpeed New Speed's float value
*/
native furien_set_user_speed(id, Float: NewSpeed)
I want to credit ConnorMcLeod for his awesome work on the past.