Raised This Month: $12 Target: $400
 3% 

[HELP] TF2 Flamethrower Halloween particle


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
UberMedicFully
Senior Member
Join Date: Oct 2019
Location: In 2Fort chilling
Old 01-16-2023 , 15:58   [HELP] TF2 Flamethrower Halloween particle
Reply With Quote #1

Hello, I would like to trigger the Flamethrower halloween spell when igniting somebody through the plugin.
I also can't seem to find the particle that does that so if the first option doesnt work, that i could just attach it to the victim manually.
__________________
Steam
FF2 Developer
My Public Hales
I love to make Freaks that are related to TF2
UberMedicFully is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 01-16-2023 , 17:36   Re: [HELP] TF2 Flamethrower Halloween particle
Reply With Quote #2

You can achieve the green flame by using TF2Attributes to apply attribute 1008, "SPELL: Halloween green flames" to the weapon.

Let me know if you need help.
PC Gamer is offline
UberMedicFully
Senior Member
Join Date: Oct 2019
Location: In 2Fort chilling
Old 01-16-2023 , 17:44   Re: [HELP] TF2 Flamethrower Halloween particle
Reply With Quote #3

I totatlly forgot to enable the holiday for fullmoon, I will reply when it worked, thank you anyway!
__________________
Steam
FF2 Developer
My Public Hales
I love to make Freaks that are related to TF2
UberMedicFully is offline
UberMedicFully
Senior Member
Join Date: Oct 2019
Location: In 2Fort chilling
Old 01-16-2023 , 17:53   Re: [HELP] TF2 Flamethrower Halloween particle
Reply With Quote #4

Didn't work, sadly, in Freak Fortress 2 the boss has a ubersaw, i guess thats why it doesnt work?
__________________
Steam
FF2 Developer
My Public Hales
I love to make Freaks that are related to TF2
UberMedicFully is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 01-16-2023 , 18:21   Re: [HELP] TF2 Flamethrower Halloween particle
Reply With Quote #5

The "SPELL: Halloween green flames" attribute only works on flamethrowers. You can make a plugin that applies it to all Pyros or only apply it to the Pyro(s) you target.
PC Gamer is offline
UberMedicFully
Senior Member
Join Date: Oct 2019
Location: In 2Fort chilling
Old 01-16-2023 , 18:28   Re: [HELP] TF2 Flamethrower Halloween particle
Reply With Quote #6

Well, the boss ignites victims upon rage and it would look fancier with the green flames, therefore its a medic boss, i guess its impossible then.
__________________
Steam
FF2 Developer
My Public Hales
I love to make Freaks that are related to TF2
UberMedicFully is offline
BeepIsla
Member
Join Date: Mar 2020
Location: Germany
Old 01-16-2023 , 19:51   Re: [HELP] TF2 Flamethrower Halloween particle
Reply With Quote #7

In theory you have to ignite the target with a specific weapon and set that weapon to have green flames via attributes.

So you have to create a flamethrower, put it anywhere in the world doesn't matter, don't even have to give anyone owner nor equip it, and then call "CTFPlayerShared::Burn" with that weapon. SourceMod provides a "TF2_IgnitePlayer" function which does exactly that but it does not support passing the weapon entity (Yet, maybe someone will make a PR for it, see SourceMod Github Repo). So for now you would have to SDKCall it manually probably.

Note: For the duration parameter you would have to be careful because it scales with the weapon entity based on increased or decreased burn time

Last edited by BeepIsla; 01-16-2023 at 19:58.
BeepIsla is offline
UberMedicFully
Senior Member
Join Date: Oct 2019
Location: In 2Fort chilling
Old 01-16-2023 , 21:35   Re: [HELP] TF2 Flamethrower Halloween particle
Reply With Quote #8

Thank you alot for the response, will be testing tomorrow!
It's weird that the TF2_Ignite doesnt work like that tbh.
__________________
Steam
FF2 Developer
My Public Hales
I love to make Freaks that are related to TF2
UberMedicFully 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 07:06.


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