Raised This Month: $ Target: $400
 0% 

FF2 [FF2R - Subplugin] Custom Arms


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sandust
New Member
Join Date: Oct 2022
Old 10-11-2023 , 22:42   [FF2R - Subplugin] Custom Arms
Reply With Quote #1

As I promised, I post my plugin here. It is very simple plugin. It just allow bosses to use custom arms model. Like official VSH. If you already use Zabaniya001's TF2CA-weaponmodel_override, you don't need to use this. Just add attributes to boss's weapon.

PHP Code:
"rage_custom_arms"
{
    
"arm_model"    "models/weapons/c_models/c_scout_arms.mdl"

    "plugin_name"    "ff2r_arm"

Maybe some people want to use custom animations for their abilities. Here's how(It is snippet of my saxton
abilities code).
PHP Code:
public void PerformLunge(int clientAbilityData abilityfloat gameTime) {
    
char anim[128];
    
ability.GetString("start_anim"animsizeof(anim));
    if (
anim[0]) {
        
SetViewmodelAnimation(clientanim);
    }
}

stock void SetViewmodelAnimation(int client, const char[] activity) {
    
char buffer[PLATFORM_MAX_PATH];
    
Format(buffersizeof(buffer), "self.ResetSequence(self.LookupSequence(`%s`))"activity);
    
SetVariantString(buffer);
    
AcceptEntityInput(GetEntPropEnt(clientProp_Send"m_hViewModel"), "RunScriptCode");

Attached Files
File Type: smx ff2r_arm.smx (7.8 KB, 59 views)
File Type: sp Get Plugin or Get Source (ff2r_arm.sp - 65 views - 1.4 KB)
Sandust is offline
Frixu
Senior Member
Join Date: Mar 2021
Location: Poland
Old 10-12-2023 , 07:53   Re: [FF2R - Subplugin] Custom Arms
Reply With Quote #2

can you rewrite ff2_ragesound plugin?
and do ability name can use suffixes
Frixu is offline
Sandust
New Member
Join Date: Oct 2022
Old 10-12-2023 , 10:42   Re: [FF2R - Subplugin] Custom Arms
Reply With Quote #3

Quote:
Originally Posted by Frixu View Post
can you rewrite ff2_ragesound plugin?
and do ability name can use suffixes
I don't know why you want to use that. Just use "sound_ability_serverwide".

example:
PHP Code:
    "sound_ability_serverwide"
    
{
        
"saxton_hale/saxton_hale_responce_rage1.wav"    "5"
        "saxton_hale/saxton_hale_responce_rage3.wav"    "5"
        "saxton_hale/saxton_hale_responce_rage4.wav"    "5"

        "saxton_hale/saxton_hale_132_jump_1.wav"    "6"
        "saxton_hale/saxton_hale_132_jump_2.wav"    "6"
        "saxton_hale/saxton_hale_responce_jump1.wav"    "6"
    

Sandust is offline
Frixu
Senior Member
Join Date: Mar 2021
Location: Poland
Old 10-12-2023 , 17:55   Re: [FF2R - Subplugin] Custom Arms
Reply With Quote #4

Quote:
Originally Posted by Sandust View Post
I don't know why you want to use that. Just use "sound_ability_serverwide".

example:
PHP Code:
    "sound_ability_serverwide"
    
{
        
"saxton_hale/saxton_hale_responce_rage1.wav"    "5"
        "saxton_hale/saxton_hale_responce_rage3.wav"    "5"
        "saxton_hale/saxton_hale_responce_rage4.wav"    "5"

        "saxton_hale/saxton_hale_132_jump_1.wav"    "6"
        "saxton_hale/saxton_hale_132_jump_2.wav"    "6"
        "saxton_hale/saxton_hale_responce_jump1.wav"    "6"
    

So rewrite ff2_tempMelee plugin
Frixu is offline
Frixu
Senior Member
Join Date: Mar 2021
Location: Poland
Old 10-12-2023 , 18:09   Re: [FF2R - Subplugin] Custom Arms
Reply With Quote #5

And please can someone rewrite ff2_dynamic_defaults?
Frixu 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 03:43.


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