Raised This Month: $32 Target: $400
 8% 

Furien Supreme v5 [API Classes & Weapons]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Gameplay       
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 05-05-2023 , 11:15   Furien Supreme v5 [API Classes & Weapons]
Reply With Quote #1

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.
Attached Files
File Type: inc furien_supreme.inc (2.3 KB, 123 views)
File Type: sma Get Plugin or Get Source (furien_supreme.sma - 60 views - 26.8 KB)
File Type: ini furien.ini (600 Bytes, 40 views)
__________________

Last edited by Jhob94; 03-05-2024 at 12:33.
Jhob94 is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 05-05-2023 , 11:16   Re: Furien Supreme [API Classes & Weapons]
Reply With Quote #2

Here you can find some basic Classes & weapons.
It requires furien_supreme.inc in order to compile!
I will give better examples later on monday. #Friday
Attached Files
File Type: sma Get Plugin or Get Source (furien_weapons.sma - 152 views - 1.7 KB)
File Type: sma Get Plugin or Get Source (furien_classes.sma - 163 views - 1.5 KB)
__________________

Last edited by Jhob94; 05-08-2023 at 15:00.
Jhob94 is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 05-08-2023 , 15:04   Re: Furien Supreme [API Classes & Weapons]
Reply With Quote #3

V0.0.2 - Added new features to check & change user speed/gravity

On attachment:
Parachute 1.3 edited so users don't lose their gravity


By the way, if you're running it give me a feedback.
Attached Files
File Type: sma Get Plugin or Get Source (furien_parachute.sma - 193 views - 13.5 KB)
__________________
Jhob94 is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 05-12-2023 , 13:08   Re: Furien Supreme [API Classes & Weapons]
Reply With Quote #4

V0.0.3 - Added Auto Team Balance & minor optimizations

To note: I added an auto team balance to make it a safe balance, since it stop players from switching team there are no crashes due to agressive team changes.
__________________
Jhob94 is offline
QuickDroLLL
Senior Member
Join Date: Dec 2021
Location: AMX Mod X Land
Old 05-13-2023 , 05:23   Re: Furien Supreme [API Classes & Weapons]
Reply With Quote #5

wow its cool i will try it on my servers for sure
QuickDroLLL is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 05-15-2023 , 09:38   Re: Furien Supreme [API Classes & Weapons]
Reply With Quote #6

V0.04 - Important Optimization/Fix

Added a check on Auto team balance or it could assume a repeated player (in case of more than 1 player got auto team balanced)
__________________
Jhob94 is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 07-12-2023 , 19:57   Re: Furien Supreme [API Classes & Weapons]
Reply With Quote #7

People running it, any request?
I am up to suggestions on weapons and classes
__________________
Jhob94 is offline
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 07-14-2023 , 18:43   Re: Furien Supreme [API Classes & Weapons]
Reply With Quote #8

zombie plague mod has some great graphic weapons you can port them to your mod to attract people
also add some images, it'll get others attention to try it out!
__________________
bigdaddy424 is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 07-17-2023 , 09:55   Re: Furien Supreme [API Classes & Weapons]
Reply With Quote #9

https://m.youtube.com/watch?v=OkoOk7...1lcnogZnVyaWVu

I don’t release those weapons because they are from CSO and they are not made by me. I am not sure if they can shared to public. I used to test the api.
__________________
Jhob94 is offline
bigdaddy424
Senior Member
Join Date: Oct 2021
Location: Jupiter
Old 07-17-2023 , 15:22   Re: Furien Supreme [API Classes & Weapons]
Reply With Quote #10

i totally understand you point but keep in mind that you an independent developer and as long as youre crediting the original authors you should be just fine. im very positive that no one will decide to file a lawsuit against you for using someone else's work. in fact they should be happy that theres people that appreciate its own work and use it.
anything that is posted on alliedmods or gamebanana its pretty much available for everyone to copy and use however the end wants. youre not releasing anything if its already on the web. youre just editing code so weapon shows on ct's menu
__________________
bigdaddy424 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:51.


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