View Single Post
J0BL3SS
Senior Member
Join Date: Sep 2020
Location: Turkey/Istanbul
Old 02-21-2021 , 13:56   Re: [Abilities] Fog Effects (BETA)
Reply With Quote #20

  • Ver 1.05
  • AMS Triggers Changed to AMS_IsSubabilityReady(). Now ff2_fog usable with lifeloss.
  • If Someone respawnes while fog is active, the player will be affected as well (Reanimator Respawn for example)
  • Added both "rage_fog_fx" and "fog_fx" an argument that determines who should effected by fog
  • Ver 1.06
  • Ooopsie my bad, fixed ability that shows 0 rage on every boss even they don't have fog ability that uses AMS

New Fog Effect Rage Ability:
Code:
"abilityX"
{
	"name"	"rage_fog_fx"
	"arg1"	"0" // blend
	
	// color 1
	"arg2"	"0"	// red
	"arg3"	"0"	// green
	"arg4"	"0"	// blue
	
	// color 2
	"arg5"	"0"	// red
	"arg6"	"0"	// green
	"arg7"	"0"	// blue
	
	// fog properties
	"arg8"	"64.0"	// fog start distance
	"arg9"	"384.0"	// fog end distance
	"arg10"	"1.0"	// fog density
	"arg11"	"10.0"	// duration
	"arg12"	"1"		// effect; 0=all,1=non-boss team,2=everyone expect boss(s)

	// only needed if using AMS
	"arg1001"	"0.0" // delay before first use 
	"arg1002"	"30.0" // cooldown 
	"arg1003"	"Darken" // name 
	"arg1004"	"Every town has an Elm Street" // description 
	"arg1005"	"50.0" // rage cost 
	"arg1006"	"0" // index for ability in the AMS menu 
	
	"plugin_name"	"ff2_fog"
}
For Sounds:
Code:
"sound_fogeffect"
{
	"1"	"freak_fortress_2/myboss/darken01.mp3"
	"2"	"freak_fortress_2/myboss/darken02.mp3"
}
New Passife Fog Effect:
Code:
"abilityX"
{
	"name"	"fog_fx"
	"arg1"	"0" // blend
	
	// color 1
	"arg2"	"0"	// red
	"arg3"	"0"	// green
	"arg4"	"0"	// blue
	
	// color 2
	"arg5"	"0"	// red
	"arg6"	"0"	// green
	"arg7"	"0"	// blue
	
	// fog properties
	"arg8"	"64.0"	// fog start distance
	"arg9"	"384.0"	// fog end distance
	"arg10"	"1.0"	// fog density
	"arg11"	"1"		// effect; 0=all,1=non-boss team,2=everyone expect boss(s)
	
	"plugin_name"	"ff2_fog"
}
Attached Files
File Type: sp Get Plugin or Get Source (ff2_fog.sp - 86 views - 13.1 KB)
File Type: smx ff2_fog.smx (10.6 KB, 74 views)
__________________
My Steam Profile
My Discord Name: J0BL3SS#5320 | j0bl3ss

I don't really look at steam or alliedmodders, contact me from discord if you need it.

Last edited by J0BL3SS; 04-02-2021 at 13:38. Reason: Forgot to attach
J0BL3SS is offline