AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   VSH / Freak Fortress (https://forums.alliedmods.net/forumdisplay.php?f=154)
-   -   FF2 Boss ability after losing first life. (https://forums.alliedmods.net/showthread.php?t=330799)

PongeDoge 02-21-2021 15:04

Boss ability after losing first life.
 
Hello,

Im fairly new to making bosses and I know I should probably stick to the basics, but I dont wanna be a basic bitch and just add a half assed freak to my fav server.

Anyways to continue on with what im writing about.

I want to make it so that my boss, after losing his first life, turns invisible and is able to melee while invis. Im fairly new to this CFG stuff so sorry if this is an easy thing to write code for.

Any kind of help is appreciated. Thanks.

P.S. Id rather learn how to do this kinda stuff so I can add it to future hales rather than copy and pasting it into my code, but either or is fine.

J0BL3SS 02-22-2021 02:42

Re: Boss ability after losing first life.
 
"Arg0" of all abilities in FF2 works separately from the subplugin. "Arg0" sets when the ability will run
-1 : Lifeloss, 0: Rage, 1: Used for charge abilities.
for example:

Code:

"ability4"
{
        "name"                "rage_stunsg"        // ability name
        "arg0"                "-1"                        // the arg0
        "arg1"                "6.125"                        // duration
        "plugin_name"        "ffbat_defaults"        //subplugin name
}

This Ability will launch when boss loses a life.

Also there is COnditions exist. https://wiki.teamfortress.com/wiki/Cheats

Conndition 66 Used with Invisiblity Spell. Makes you flicker while attack.

And an ability existed for using conditions:
Code:

"abilityX"
{
        "name"        "rage_tfcondition"
        "arg1" "72 ; 7 ; 66 ; 7" // Boss Conditions (TFCond ; Duration)
        "arg2" "48 ; 7 ; 103 ; 7 " // Player Conditions (TFCond ; Duration)
        "arg3" "800" // Distance
        "plugin_name"        "ff2_tfcond"
}


PongeDoge 02-26-2021 11:37

Re: Boss ability after losing first life.
 
OH damn thank my dude. This will help me. Thank you again

PongeDoge 02-26-2021 11:41

Re: Boss ability after losing first life.
 
Wait so does that mean that "arg0" can be used with what im trying to do?

Something like:

"abilityX"
{
"name" "rage_tfcondition"
"arg0" "-1"
"arg1" "72 ; 7 ; 66 ; 7" // Boss Conditions (TFCond ; Duration)
"arg2" "48 ; 7 ; 103 ; 7 " // Player Conditions (TFCond ; Duration)
"arg3" "800" // Distance
"plugin_name" "ff2_tfcond"
}

Im going to guess this is how it can be used, correct me if im wrong.

J0BL3SS 02-26-2021 13:18

Re: Boss ability after losing first life.
 
Quote:

Originally Posted by PongeDoge (Post 2738398)
Wait so does that mean that "arg0" can be used with what im trying to do?

Something like:

"abilityX"
{
"name" "rage_tfcondition"
"arg0" "-1"
"arg1" "72 ; 7 ; 66 ; 7" // Boss Conditions (TFCond ; Duration)
"arg2" "48 ; 7 ; 103 ; 7 " // Player Conditions (TFCond ; Duration)
"arg3" "800" // Distance
"plugin_name" "ff2_tfcond"
}

Im going to guess this is how it can be used, correct me if im wrong.

yes, if youre using Batfoxkid's Freak Fortress for, all arg0's used for:
-1 - Lifeloss
0 - Rage
1 - Every 0.2 seconds
2 - Every 0.2 seconds
3 - Every 0.2 seconds
4 - Player Killed
5 - Boss Killed
6 - Backstabbed
7 - Market Gardened

PongeDoge 02-26-2021 13:53

Re: Boss ability after losing first life.
 
Thank you so much

This was a big help

:)


All times are GMT -4. The time now is 10:30.

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