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

[TF2] TFGuard


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NameUser
Senior Member
Join Date: Apr 2012
Location: Bay Area, California
Old 10-16-2013 , 19:41   [TF2] TFGuard
Reply With Quote #1

I came up with a somewhat unique idea for a plugin, but I'm thinking it's a bit too hard to code.

I'm going to leave this idea here and see if anyone wants to pick it up.

Description: TFBots (renamed to TFGuard) can be assigned to players via a command (sm_bodyguard [name] [duration]) to protect the targeted player for a specified duration, or until the round ends. The basic functions are that the bot will follow the player around (or teleport to the player if he strays too far) destroying any threat it perceives as dangerous to the assigned player. and acts basically like a regular TFBot. The bot's class choices should randomize between Scout/Soldier/Demoman/Spy. TF2Attributes could be incorporated to provide a small damage OR fire rate increase for the TFGuard so it will be more effective in a combat situation.

Commands: - sm_bodyguard [name of target] [duration]

Additional notes: Due to the complexity of this plugin, this may require a MetaMod extension. Also, this plugin must require navs to work.


What do y'all think?Additional ideas are welcome.
__________________
NameUser is offline
Send a message via Skype™ to NameUser
Blackglade
Senior Member
Join Date: Jul 2012
Location: NYC
Old 10-16-2013 , 20:57   Re: [TF2] TFGuard
Reply With Quote #2

So basically like your own personal body guard. It is certainly an interesting idea but there are several key problems. The first and foremost is how is it going to detect this "incoming danger?" I mean an idea would be to scan within a certain radius of the player and see if there is any1 on the other team within that radius and then attack that player. In either case it requires a somewhat advanced AI system within TF2 and better than the 1 it already comes with.
Blackglade is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 10-16-2013 , 21:15   Re: [TF2] TFGuard
Reply With Quote #3

You could also have it read for damage infliction upon the player, then have it attack said player with a death command. If that's something you would want unless you wanted it to actually fire at the player in combat, then that would be more difficult I imagine.
Maxximou5 is offline
matchaboy
Senior Member
Join Date: Jun 2013
Location: Bananaland
Old 10-19-2013 , 02:39   Re: [TF2] TFGuard
Reply With Quote #4

I think this would be kinda difficult, cos some servers dont allow bots, there might be crashes here and there, i'm working on it currently, nothing is confirmed.
__________________
Learning how to make plugins.
matchaboy is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 10-19-2013 , 06:29   Re: [TF2] TFGuard
Reply With Quote #5

The only problem is forcing bots to follow person. Only way I may suggest - target must hold the briefcase. They don't have another logic/reason to follow.
Leonardo is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 10-19-2013 , 07:19   Re: [TF2] TFGuard
Reply With Quote #6

They do, medics follow heal targets. Youd have to find some way to hack into the bot api though
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 10-19-2013 , 09:41   Re: [TF2] TFGuard
Reply With Quote #7

oh. right.
you can spawn tfbot as medic and then turn them into someone else. they will follow target trying to heal him.
Leonardo is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 10-19-2013 , 09:49   Re: [TF2] TFGuard
Reply With Quote #8

Quote:
Originally Posted by Leonardo View Post
oh. right.
you can spawn tfbot as medic and then turn them into someone else. they will follow target trying to heal him.
dunno if that was sarcastic or if you can really do that. you could also transform the whole CS Bot extension which controls what the bot can target.
Mitchell is offline
Leonardo
Veteran Member
Join Date: Feb 2010
Location: 90's
Old 10-19-2013 , 09:53   Re: [TF2] TFGuard
Reply With Quote #9

Quote:
Originally Posted by Mitchell View Post
dunno if that was sarcastic or
no. when I tried to force my bots join some more useful classes instead of medics (2 of 5 bots - medics) by changing class right after spawn. they kepts trying to heal.
Leonardo is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 10-19-2013 , 10:02   Re: [TF2] TFGuard
Reply With Quote #10

Quote:
Originally Posted by Leonardo View Post
no. when I tried to force my bots join some more useful classes instead of medics (2 of 5 bots - medics) by changing class right after spawn. they kepts trying to heal.
But wouldnt he try to heal any player, making it hard to make the bot actually follow the player that used the command?
Mitchell 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 23:52.


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