Raised This Month: $7 Target: $400
 1% 

FF2 [Subplugin] Rage sentry and Teletrap


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
LeAlex14
Member
Join Date: Jun 2020
Location: La France
Old 09-16-2020 , 12:42   [Subplugin] Rage sentry and Teletrap
Reply With Quote #1

Hey everyone !!! I just finished my 2nd plugin.

History :
Inspired by Pelipoika's Tf2 building spawner extreme, and I created it because Valve remove ent_create client command... Thanks Valve...

How to use ?
You can build sentries, teletrap or have a sentryhat. Yes !!! A sentry in your head :


Code:
"abilityX"
	{
		"name" "sentryhat"
		"arg0" "0"
		"arg1" "3" // Level of sentryhat
		"arg2"	"100" // Hp of sentryhat
		"arg3"	"8"		// Flag of sentry (2 = invulnerable; 4 = can be upgradable (by blu ingeneer); 8 = infinite ammo; 10 = op sentry (invunerable + infinite ammo); 12 = Ugradable infinite ammo; 14 = all)
		"arg4"	"15.0"  // Sentryhat's live time, set to 0 for infinite sentry live (can be destroyed)
		"arg5"	"1"		// Style of sentryhat (1 = normal sentry; 2 = mini sentry (yes mini sentry level 3); 3 = disposable sentry (like mvm))
		"arg6"	"0"		// 0 = Disable random sentryhat, 1 = random level and type, 2 = random level, 3 = random type
		"arg7"	"0"		// Activate random heal
		"arg8"	"0"	// Random heal min
		"arg9"	"0"	// Random heal max
		"plugin_name" "ff2_ragesentry"
	}

"abilityX"
	{
		"name" "Spawn_sentry"
		"arg0" "0"
		"arg1" "2" // Level of sentry
		"arg2"	"100" // Hp of sentry
		"arg3"	"8"		// Flag of sentry (2 = invulnerable; 4 = can be upgradable (by blu ingeneer); 8 = infinite ammo; 10 = op sentry (invunerable + infinite ammo); 12 = Ugradable infinite ammo; 14 = all)
		"arg4"	"15.0"  // Sentry's live time, set to 0 for infinite sentry live (can be destroyed)
		"arg5"	"1"		// Style of sentry (1 = normal sentry; 2 = mini sentry (yes mini sentry level 3); 3 = disposable sentry (like mvm))
		"arg6"	"2"		// 0 = Disable random sentry, 1 = random level and type, 2 = random level, 3 = random type
		"arg7"	"0"		// Activate random heal
		"arg8"	"0"	// Random heal min
		"arg9"	"0"	// Random heal max
		"plugin_name" "ff2_ragesentry"
	}

"abilityX"
	{
		"name" "teletrap"
		"arg0" "0"
		"arg1" "250" // Hp of teletrap
		"arg2"	"10.0" // Teletrap duration
                "arg3"	"2000" // Teletrap range
		"arg4"	"1"  // Hud notify 0 = off, 1 = on
		"plugin_name" "ff2_ragesentry"
	}
No compatible with ams

Next project and update :
Modify range, damage and firing speed of sentry, if someone know how without touch of builder's attributes, could it modify directly and repost the file.

Make TrollEngineer boss !

Credit :
Pelipoika's Tf2 building spawner extreme : https://forums.alliedmods.net/showthread.php?p=2148102
Attached Files
File Type: smx ff2_ragesentry.smx (9.8 KB, 103 views)
File Type: sp Get Plugin or Get Source (ff2_ragesentry.sp - 92 views - 16.2 KB)

Last edited by LeAlex14; 10-18-2020 at 11:33. Reason: Plugin update
LeAlex14 is offline
artvin_boy
Junior Member
Join Date: Sep 2020
Location: Ottoman Empire
Old 09-30-2020 , 04:28   Re: [Subplugin] Rage sentry and Teletrap
Reply With Quote #2

I like the Sentry Rage, it's perfect for what i use, Is it possible that you could make a dispenser rage aswell? If not, thats fine, otherwise, great plugin!
__________________
Sup.
artvin_boy is offline
LeAlex14
Member
Join Date: Jun 2020
Location: La France
Old 10-19-2020 , 04:56   Re: [Subplugin] Rage sentry and Teletrap
Reply With Quote #3

Quote:
Originally Posted by artvin_boy View Post
I like the Sentry Rage, it's perfect for what i use, Is it possible that you could make a dispenser rage aswell? If not, thats fine, otherwise, great plugin!
Hey, check this: https://forums.alliedmods.net/showthread.php?t=327972
LeAlex14 is offline
Hoto Cocoa
Senior Member
Join Date: Jun 2018
Location: Somewhere
Old 12-19-2020 , 07:30   Re: [Subplugin] Rage sentry and Teletrap
Reply With Quote #4

Hey, But this plugin just crash my client everytime I use the rage.
Error log? No, the server was still fine but only my game crashed.

Code:
L 12/19/2020 - 20:27:52: [SM] Exception reported: Entity 259 (259) is not a CBaseEntity
L 12/19/2020 - 20:27:52: [SM] Blaming: freaks\ff2_ragesentry.ff2
L 12/19/2020 - 20:27:52: [SM] Call stack trace:
L 12/19/2020 - 20:27:52: [SM]   [0] AcceptEntityInput
L 12/19/2020 - 20:27:52: [SM]   [1] Line 58, ff2_ragesentry.sp::Healsentryhat
So I bet I cannot use the sentry hat, but well neither spawnsentry not teletrap works for me.
And of course it crashs me game.
__________________

Last edited by Hoto Cocoa; 12-19-2020 at 07:31.
Hoto Cocoa is offline
LeAlex14
Member
Join Date: Jun 2020
Location: La France
Old 12-20-2020 , 05:36   Re: [Subplugin] Rage sentry and Teletrap
Reply With Quote #5

Quote:
Originally Posted by Hoto Cocoa View Post
Hey, But this plugin just crash my client everytime I use the rage.
Error log? No, the server was still fine but only my game crashed.

Code:
L 12/19/2020 - 20:27:52: [SM] Exception reported: Entity 259 (259) is not a CBaseEntity
L 12/19/2020 - 20:27:52: [SM] Blaming: freaks\ff2_ragesentry.ff2
L 12/19/2020 - 20:27:52: [SM] Call stack trace:
L 12/19/2020 - 20:27:52: [SM]   [0] AcceptEntityInput
L 12/19/2020 - 20:27:52: [SM]   [1] Line 58, ff2_ragesentry.sp::Healsentryhat
So I bet I cannot use the sentry hat, but well neither spawnsentry not teletrap works for me.
And of course it crashs me game.
I go make change (tf2 update thanks Valve).
LeAlex14 is offline
Tim q
Senior Member
Join Date: Aug 2020
Old 03-22-2021 , 17:16   Re: [Subplugin] Rage sentry and Teletrap
Reply With Quote #6

Still don't works.
Tim q 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 00:21.


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