AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   VSH / Freak Fortress (https://forums.alliedmods.net/forumdisplay.php?f=154)
-   -   FF2 [Subplugin] Rage sentry and Teletrap (https://forums.alliedmods.net/showthread.php?t=327400)

LeAlex14 09-16-2020 12:42

[Subplugin] Rage sentry and Teletrap
 
2 Attachment(s)
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

artvin_boy 09-30-2020 04:28

Re: [Subplugin] Rage sentry and Teletrap
 
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!

LeAlex14 10-19-2020 04:56

Re: [Subplugin] Rage sentry and Teletrap
 
Quote:

Originally Posted by artvin_boy (Post 2719635)
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

Hoto Cocoa 12-19-2020 07:30

Re: [Subplugin] Rage sentry and Teletrap
 
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.

LeAlex14 12-20-2020 05:36

Re: [Subplugin] Rage sentry and Teletrap
 
Quote:

Originally Posted by Hoto Cocoa (Post 2729331)
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).

Tim q 03-22-2021 17:16

Re: [Subplugin] Rage sentry and Teletrap
 
Still don't works.


All times are GMT -4. The time now is 22:06.

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