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

FF2 [Abilities] Fog Effects (BETA)


Post New Thread Reply   
 
Thread Tools Display Modes
93SHADoW
AlliedModders Donor
Join Date: Jul 2014
Location: Houston, TX
Old 07-19-2016 , 17:32   Re: [Abilities] Fog Effects (BETA)
Reply With Quote #11

This patch should actually fix servers crashing.

version bumped to v1.03.

Support for sky_camera coming soon....
Spoiler
__________________

Last edited by 93SHADoW; 07-19-2016 at 17:35.
93SHADoW is offline
Send a message via AIM to 93SHADoW Send a message via Skype™ to 93SHADoW
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 07-21-2016 , 02:56   Re: [Abilities] Fog Effects (BETA)
Reply With Quote #12

i dont think sky camera fog is networked....
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
93SHADoW
AlliedModders Donor
Join Date: Jul 2014
Location: Houston, TX
Old 08-04-2016 , 13:56   Re: [Abilities] Fog Effects (BETA)
Reply With Quote #13

Heres v1.04.

- Actually fixed a critical bug that caused servers to crash related to deleting an existing "env_fog_controller"
- Will no longer try to find an existing "env_fog_controller" and instead spawn a separate "env_fog_controller" to prevent this issue in the first place.

Spoiler
__________________

Last edited by 93SHADoW; 08-04-2016 at 13:59.
93SHADoW is offline
Send a message via AIM to 93SHADoW Send a message via Skype™ to 93SHADoW
jaguar1
Member
Join Date: Feb 2016
Old 10-16-2016 , 12:25   Re: [Abilities] Fog Effects (BETA)
Reply With Quote #14

Still crashing...
no logs
jaguar1 is offline
93SHADoW
AlliedModders Donor
Join Date: Jul 2014
Location: Houston, TX
Old 10-17-2016 , 10:54   Re: [Abilities] Fog Effects (BETA)
Reply With Quote #15

Quote:
Originally Posted by jaguar1 View Post
Still crashing...
no logs
Running the latest version? Unless TF2 messed with something again...
__________________
93SHADoW is offline
Send a message via AIM to 93SHADoW Send a message via Skype™ to 93SHADoW
jaguar1
Member
Join Date: Feb 2016
Old 10-17-2016 , 12:01   Re: [Abilities] Fog Effects (BETA)
Reply With Quote #16

Quote:
Originally Posted by SHADoW NiNE TR3S View Post
Running the latest version? Unless TF2 messed with something again...
yes im running the lastest version
i tried Naydef version too

hability works fine but when the round ends my server crash
jaguar1 is offline
Naydef
Senior Member
Join Date: Dec 2015
Location: Doom Town, Nevada
Old 10-18-2016 , 12:39   Re: [Abilities] Fog Effects (BETA)
Reply With Quote #17

Quote:
Originally Posted by jaguar1 View Post
yes im running the lastest version
i tried Naydef version too

hability works fine but when the round ends my server crash
Don't use my version!
__________________
My plugins:
*None for now*


Steam:
naydef
Naydef is offline
AnubisTF2
Senior Member
Join Date: Oct 2015
Old 08-05-2017 , 21:58   Re: [Abilities] Fog Effects (BETA)
Reply With Quote #18

Well, this is strange but:
When the ability is used,
And if the boss LOSES, not wins but loses,
my server crashes
Sooo Ive got no idea how this works but it does.
AnubisTF2 is offline
Tim q
Senior Member
Join Date: Aug 2020
Old 08-19-2020 , 21:01   Re: [Abilities] Fog Effects (BETA)
Reply With Quote #19

But how to add fog only for red team?
Tim q is offline
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
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 12:06.


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