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

FF2 Some questions about some plugins


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kolaxie
Member
Join Date: Aug 2021
Location: I live inside internet
Old 09-18-2021 , 22:17   Some questions about some plugins
Reply With Quote #1

Hey everyone, i need some help with some plugins, if some of you can help i would really appreciate.

Today i was working on a boss, and i decided to give him slam and lunge ability from saxton hale rewamp (Saxtonv2) (https://forums.alliedmods.net/showthread.php?t=261073), and when i used him, i noticed that the abilities seems to only affect red players. (So if the boss is on red team he litteraly slam and lunge on himself.) and he don't do any damage to blue, i have no idea how to edit such a thing to affect both team. (Meaning if the boss is red, he can damage blue without hurting himself). If anyone got idea i would really appreciate.

I also wanted to know how to give a weapon or dynamic_melee_management that will get removed and restored to original weapon after the boss hit someone, or if he doesn't hit someone after a certain time the weapon get restored. (for example, a fists switching to GRU and get restored to fists after punching someone or if he doesn't hit someone in 5s)

Thanks to anyone who can help.
Kolaxie is offline
Naydef
Senior Member
Join Date: Dec 2015
Location: Doom Town, Nevada
Old 09-21-2021 , 08:27   Re: Some questions about some plugins
Reply With Quote #2

Improved saxton, modified to work with the BvB mode. Test it and report (the plugin was packed with a lot of unnecessary stuff).
It was mostly replacing the FF2_GetBossTeam calls with GetClientTeam(bossIdx).

Edit: Just found this.
Did the same steps and uploaded there.
Attached Files
File Type: sp Get Plugin or Get Source (improved_saxton.sp - 51 views - 80.3 KB)
__________________
My plugins:
*None for now*


Steam:
naydef

Last edited by Naydef; 09-21-2021 at 08:47.
Naydef is offline
Kolaxie
Member
Join Date: Aug 2021
Location: I live inside internet
Old 09-21-2021 , 16:24   Re: Some questions about some plugins
Reply With Quote #3

Quote:
Originally Posted by Naydef View Post
Improved saxton, modified to work with the BvB mode. Test it and report (the plugin was packed with a lot of unnecessary stuff).
It was mostly replacing the FF2_GetBossTeam calls with GetClientTeam(bossIdx).

Edit: Just found this.
Did the same steps and uploaded there.
Hey Naydef, i did some test and the hale still lunge and slam on himself, doing no damage to blue team
Kolaxie is offline
Naydef
Senior Member
Join Date: Dec 2015
Location: Doom Town, Nevada
Old 09-22-2021 , 07:00   Re: Some questions about some plugins
Reply With Quote #4

Hm, I'm not sure what went wrong. Abilities do not work correctly when the boss is in Red team only?
I can't find the issue in the code, did you properly replaced and reloaded the plugin?
__________________
My plugins:
*None for now*


Steam:
naydef
Naydef is offline
A_T_R
Member
Join Date: Jun 2021
Location: KSA
Old 09-22-2021 , 07:39   Re: Some questions about some plugins
Reply With Quote #5

holy crap whats up Naydef its been so long bro
A_T_R is offline
A_T_R
Member
Join Date: Jun 2021
Location: KSA
Old 09-22-2021 , 07:42   Re: Some questions about some plugins
Reply With Quote #6

Quote:
Originally Posted by Naydef View Post
Hm, I'm not sure what went wrong. Abilities do not work correctly when the boss is in Red team only?
I can't find the issue in the code, did you properly replaced and reloaded the plugin?
hey Naydef i have a hale called freak bot master don't mind if you help me with the coding stuff or not interested?

discord:ATR#1773
steam:https://steamcommunity.com/profiles/76561198344655266/
A_T_R is offline
Naydef
Senior Member
Join Date: Dec 2015
Location: Doom Town, Nevada
Old 09-22-2021 , 08:25   Re: Some questions about some plugins
Reply With Quote #7

Quote:
Originally Posted by A_T_R View Post
hey Naydef i have a hale called freak bot master don't mind if you help me with the coding stuff or not interested?

discord:ATR#1773
steam:https://steamcommunity.com/profiles/76561198344655266/
Offtopic:
Can assist you with some plugin stuff. Please use Sourcemod PM.
__________________
My plugins:
*None for now*


Steam:
naydef
Naydef is offline
Kolaxie
Member
Join Date: Aug 2021
Location: I live inside internet
Old 09-22-2021 , 13:57   Re: Some questions about some plugins
Reply With Quote #8

Quote:
Originally Posted by Naydef View Post
Hm, I'm not sure what went wrong. Abilities do not work correctly when the boss is in Red team only?
I can't find the issue in the code, did you properly replaced and reloaded the plugin?
Yeah it only affect red team, if i make the boss blue the abilities work fine, and yeah i properly replaced it and reloaded the plugin.
Kolaxie is offline
Naydef
Senior Member
Join Date: Dec 2015
Location: Doom Town, Nevada
Old 09-24-2021 , 06:13   Re: Some questions about some plugins
Reply With Quote #9

I just tested the fixed version and both lunge and slam work work correctly when the boss is in red team and BvB is active.
I'm not really sure what happens and why it won't work for you.
Probably show your config and ff2 version your server is running.

I'm just attaching a version of improved_saxton with the version string now being 1.0.5 fixed so that you can double check you're running the fixed version.
Attached Files
File Type: sp Get Plugin or Get Source (improved_saxton.sp - 54 views - 80.4 KB)
__________________
My plugins:
*None for now*


Steam:
naydef
Naydef is offline
Kolaxie
Member
Join Date: Aug 2021
Location: I live inside internet
Old 09-27-2021 , 15:09   Re: Some questions about some plugins
Reply With Quote #10

Quote:
Originally Posted by Naydef View Post
I just tested the fixed version and both lunge and slam work work correctly when the boss is in red team and BvB is active.
I'm not really sure what happens and why it won't work for you.
Probably show your config and ff2 version your server is running.

I'm just attaching a version of improved_saxton with the version string now being 1.0.5 fixed so that you can double check you're running the fixed version.
I use Unofficial 1.19.9 and here is the config if you want to check it.
Attached Files
File Type: cfg FreakFortress2.cfg (17.3 KB, 40 views)
Kolaxie 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 20:12.


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