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

[TF2] Spawn Sentry on death


Post New Thread Reply   
 
Thread Tools Display Modes
naris
AlliedModders Donor
Join Date: Dec 2006
Old 07-13-2010 , 17:52   Re: [TF2] Spawn Sentry on death
Reply With Quote #41

I did a quick and dirty update to this plugin to use the latest version of the sentry spawning code that I have.

Please note that this version of BuildSentry() can be used to build the new mini-sentries, but I have not changed anything in the actual sentryspawn plugin to enable that yet...
Attached Files
File Type: sp Get Plugin or Get Source (sentryspawner.sp - 224 views - 11.4 KB)
File Type: inc tf2_build.inc (16.7 KB, 176 views)
naris is offline
lilc420
New Member
Join Date: Aug 2010
Old 08-28-2010 , 22:47   Re: [TF2] Spawn Sentry on death
Reply With Quote #42

Ok.. since the creator is no longer here... anyone else know anything about this plugin?

1) How do you edit the number of sentries? (I tried in sentryspawner.sp but it changes nothing in game)

2) In the post above mine.. the "Get Plugin" link says "Plugin failed to compile! Please try contacting the author." .. any idea how to get the last update here with Random and Mini Sentry?
lilc420 is offline
lilc420
New Member
Join Date: Aug 2010
Old 08-29-2010 , 15:27   Re: [TF2] Spawn Sentry on death
Reply With Quote #43

Ok.. figured out how to compile a .sp to a .smx to make my changes. http://www.sourcemod.net/compiler.php

Now the problem I get now is an error when compiling the latest release in the post above.

Code:
SourcePawn Compiler 1.3.2
Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC

/home/groups/sourcemod/upload_tmp/phpTyJxiL.sp(71) : warning 217: loose indentation
/home/groups/sourcemod/upload_tmp/phpTyJxiL.sp(86) : warning 217: loose indentation
/home/groups/sourcemod/upload_tmp/phpTyJxiL.sp(95) : warning 217: loose indentation
/home/groups/sourcemod/upload_tmp/phpTyJxiL.sp(110) : warning 217: loose indentation
/home/groups/sourcemod/upload_tmp/phpTyJxiL.sp(165) : error 017: undefined symbol "TF2_SentryHealth"
/home/groups/sourcemod/upload_tmp/phpTyJxiL.sp(165) : warning 215: expression has no effect
/home/groups/sourcemod/upload_tmp/phpTyJxiL.sp(165) : error 001: expected token: ";", but found "]"
/home/groups/sourcemod/upload_tmp/phpTyJxiL.sp(165) : error 029: invalid expression, assumed zero
/home/groups/sourcemod/upload_tmp/phpTyJxiL.sp(165) : fatal error 127: too many error messages on one line

Compilation aborted.
4 Errors.
Any ideas what the changes are? I do not know any of this coding crap.
lilc420 is offline
h00x
Senior Member
Join Date: Jun 2009
Old 11-14-2010 , 13:51   Re: [TF2] Spawn Sentry on death
Reply With Quote #44

~/orangebox/tf/addons/sourcemod/scripting$ ./spcomp deathsentry.sp
SourcePawn Compiler 1.3.7-dev
Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC
deathsentry.sp(71) : warning 217: loose indentation
deathsentry.sp(86) : warning 217: loose indentation
deathsentry.sp(95) : warning 217: loose indentation
deathsentry.sp(110) : warning 217: loose indentation
/home/tf2/orangebox/tf/addons/sourcemod/scripting/include/tf2_build.inc(67) : error 017: undefined symbol "TFObjectType_Sentrygun"
/home/tf2/orangebox/tf/addons/sourcemod/scripting/include/tf2_build.inc(91) : error 017: undefined symbol "TFObjectType_Sentrygun"
/home/tf2/orangebox/tf/addons/sourcemod/scripting/include/tf2_build.inc(142) : error 017: undefined symbol "TFObjectType_Sentrygun"
3 Errors.
h00x is offline
Zaphod
Junior Member
Join Date: Oct 2010
Location: Ontario, Canada
Old 12-23-2010 , 17:23   Re: [TF2] Spawn Sentry on death
Reply With Quote #45

Great idea,

There is a hack in that a dead ringer spy can create multiples or can get stuck in it.
Zaphod is offline
Send a message via MSN to Zaphod
avgn360
Junior Member
Join Date: Aug 2012
Old 08-18-2012 , 08:26   Re: [TF2] Spawn Sentry on death
Reply With Quote #46

Can it be modified for just Red team use that advantage? (for MvM mode)
when I adjusted this, Blue Robot team also had after death sentury. X(
avgn360 is offline
sodalish
Junior Member
Join Date: Dec 2009
Location: Ontario, Canada
Old 08-18-2012 , 13:16   Re: [TF2] Spawn Sentry on death
Reply With Quote #47

Quote:
Originally Posted by avgn360 View Post
Blue Robot team also had after death sentury. X(
LOL- now that would suck.
sodalish is offline
josko
Member
Join Date: Dec 2008
Old 08-27-2012 , 08:30   Re: [TF2] Spawn Sentry on death
Reply With Quote #48

It would be nice with a cvar that only allowed sentries to be spawned if an engie died since it would make more sense too! You kill an engie, there is a small chance he'll spawn a sentry! hehe would be cool.
josko is offline
fastix
Junior Member
Join Date: May 2009
Old 01-20-2013 , 15:41   Re: [TF2] Spawn Sentry on death
Reply With Quote #49

Updated the build code with one from RTD. Also fixed intendation warnings and bumped plugin version to 0.4f. Rockets are still firing from the bottom of sentry though
Attached Files
File Type: sp Get Plugin or Get Source (sentryspawner.sp - 403 views - 6.5 KB)

Last edited by fastix; 01-21-2013 at 05:03. Reason: Added some credits to BuildSentry function
fastix is offline
coty9090
Senior Member
Join Date: Aug 2007
Old 07-20-2013 , 12:00   Re: [TF2] Spawn Sentry on death
Reply With Quote #50

Does this have a team restriction? For maybe red only? So that blue (bots in MvM) don't get them?
coty9090 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 16:19.


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