Raised This Month: $ Target: $400
 0% 

FF2 Give Spy SpeedBoost on Cloak?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
UberMedicFully
Senior Member
Join Date: Oct 2019
Location: In 2Fort chilling
Old 02-07-2021 , 01:12   Give Spy SpeedBoost on Cloak?
Reply With Quote #1

Hi uhhh, i want to give the Spy the Dead Ringer Effect(Speed Boost) on the Invis Watch when he Cloaks
Do i need to do smthing in the Sourcecode or is it possible through the Weapons.cfg
If through the Sourcecode only, could someone give me a example because i never coded and could need help xD
__________________
Steam
FF2 Developer
My Public Hales
I love to make Freaks that are related to TF2
UberMedicFully is offline
LordHotPocketHomicide
Member
Join Date: Aug 2016
Location: This Realm of Existence
Old 02-08-2021 , 15:35   Re: Give Spy SpeedBoost on Cloak?
Reply With Quote #2

I'm fairly certain you'd need to write a custom attribute/ability for it. I was actually planning on writing this exact idea for my next project, so I'll be sure to let you know when it's done
__________________
Professional retard. I might borrow some code, but I always try to give credit when I do! If you've noticed I've borrowed some of your code, and you have a problem with that, please add me on Steam and let me know so I can correct the problem as soon as possible!
LordHotPocketHomicide is offline
UberMedicFully
Senior Member
Join Date: Oct 2019
Location: In 2Fort chilling
Old 02-09-2021 , 00:52   Re: Give Spy SpeedBoost on Cloak?
Reply With Quote #3

Quote:
Originally Posted by LordHotPocketHomicide View Post
I'm fairly certain you'd need to write a custom attribute/ability for it. I was actually planning on writing this exact idea for my next project, so I'll be sure to let you know when it's done
Alright man keep me Up to date!
__________________
Steam
FF2 Developer
My Public Hales
I love to make Freaks that are related to TF2
UberMedicFully is offline
LordHotPocketHomicide
Member
Join Date: Aug 2016
Location: This Realm of Existence
Old 02-09-2021 , 13:53   Re: Give Spy SpeedBoost on Cloak?
Reply With Quote #4

Quote:
Originally Posted by UberMedicFully View Post
Alright man keep me Up to date!
Aite, so the ability you were looking for is finished. This isn't the full cloak pack, but I figured I'd get the speed boost out of the way first so I could send it to you ASAP.

Code:
"abilityX"
{
	"name"			"cloakpack_speed"
	"arg0"			"520.0" 	    //Boss' speed while cloaked (1.0 - 520.0)
	"plugin_name"	        "ff2_cloakpack"
}
__________________
Professional retard. I might borrow some code, but I always try to give credit when I do! If you've noticed I've borrowed some of your code, and you have a problem with that, please add me on Steam and let me know so I can correct the problem as soon as possible!

Last edited by Batfoxkid; 02-10-2021 at 11:52. Reason: Removed attachment (No source code) | See post below
LordHotPocketHomicide is offline
Scag
AlliedModders Donor
Join Date: May 2017
Location: Crashing Hale
Old 02-09-2021 , 19:10   Re: Give Spy SpeedBoost on Cloak?
Reply With Quote #5

Quote:
Originally Posted by LordHotPocketHomicide View Post
Spoiler
You might want to provide the source for that file.
__________________
Over-engineering is underrated.

GitHub
BTC
ETH

Retired
Scag is offline
LordHotPocketHomicide
Member
Join Date: Aug 2016
Location: This Realm of Existence
Old 02-09-2021 , 23:07   Re: Give Spy SpeedBoost on Cloak?
Reply With Quote #6

Quote:
Originally Posted by Scag View Post
You might want to provide the source for that file.
You are correct, I'm an idiot. I made the same dumb mistake I make with most of my plugins, so the version I sent earlier only works for the first round

Anyway, here's the updated version + source. Still not complete, but it works for more than just one round now.
Attached Files
File Type: sp Get Plugin or Get Source (ff2_cloakpack.sp - 21 views - 10.8 KB)
File Type: smx ff2_cloakpack.smx (7.8 KB, 17 views)
__________________
Professional retard. I might borrow some code, but I always try to give credit when I do! If you've noticed I've borrowed some of your code, and you have a problem with that, please add me on Steam and let me know so I can correct the problem as soon as possible!
LordHotPocketHomicide 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 17:33.


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