Raised This Month: $37 Target: $400
 9% 

FF2 Boss ability after losing first life.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
PongeDoge
New Member
Join Date: Feb 2021
Old 02-21-2021 , 15:04   Boss ability after losing first life.
Reply With Quote #1

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.
PongeDoge is offline
J0BL3SS
Senior Member
Join Date: Sep 2020
Location: vsh_sands_v3
Old 02-22-2021 , 02:42   Re: Boss ability after losing first life.
Reply With Quote #2

"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"
}
__________________
My Steam Profile
My Discord Name: J0BL3SS#5320


J0BL3SS is offline
PongeDoge
New Member
Join Date: Feb 2021
Old 02-26-2021 , 11:37   Re: Boss ability after losing first life.
Reply With Quote #3

OH damn thank my dude. This will help me. Thank you again
PongeDoge is offline
PongeDoge
New Member
Join Date: Feb 2021
Old 02-26-2021 , 11:41   Re: Boss ability after losing first life.
Reply With Quote #4

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.
PongeDoge is offline
J0BL3SS
Senior Member
Join Date: Sep 2020
Location: vsh_sands_v3
Old 02-26-2021 , 13:18   Re: Boss ability after losing first life.
Reply With Quote #5

Quote:
Originally Posted by PongeDoge View Post
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
__________________
My Steam Profile
My Discord Name: J0BL3SS#5320


J0BL3SS is offline
PongeDoge
New Member
Join Date: Feb 2021
Old 02-26-2021 , 13:53   Re: Boss ability after losing first life.
Reply With Quote #6

Thank you so much

This was a big help

PongeDoge is offline
Reply


Thread Tools
Display Modes

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 22:00.


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