[HELP] TF2 Flamethrower Halloween particle
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. |
Re: [HELP] TF2 Flamethrower Halloween particle
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. |
Re: [HELP] TF2 Flamethrower Halloween particle
I totatlly forgot to enable the holiday for fullmoon, I will reply when it worked, thank you anyway!
|
Re: [HELP] TF2 Flamethrower Halloween particle
Didn't work, sadly, in Freak Fortress 2 the boss has a ubersaw, i guess thats why it doesnt work?
|
Re: [HELP] TF2 Flamethrower Halloween particle
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.
|
Re: [HELP] TF2 Flamethrower Halloween particle
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.
|
Re: [HELP] TF2 Flamethrower Halloween particle
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 |
Re: [HELP] TF2 Flamethrower Halloween particle
Thank you alot for the response, will be testing tomorrow!
It's weird that the TF2_Ignite doesnt work like that tbh. |
All times are GMT -4. The time now is 02:18. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.