Garry's Mod

Garry's Mod

Team Fortress 2 Bots [2025]
MrNiceGuy518  [开发者] 2015 年 12 月 31 日 下午 7:56
Manual Fixes + Features
Since officially updating the addon as a whole is such a major pain in the ♥♥♥, here are some manual workarounds for the TF2 Bots.

Feel free to post and request your own, too!


Upgrading sentries:
Use this console command to bind a key of your choice to upgrate whatever sentry you're aiming at!

bind <key> "lua_run local los = Entity(1):GetEyeTrace() if (los.Entity:GetClass() == 'npc_sentry_red' || los.Entity:GetClass() == 'npc_sentry_blue') then los.Entity:Upgrade() end"


Upgrading dispensers:
This is essentially the same command as upgrading sentries. The only difference being the entitiy's name.

bind <key> "lua_run local los = Entity(1):GetEyeTrace() if (los.Entity:GetClass() == 'npc_dispenser_red' || los.Entity:GetClass() == 'npc_dispenser_blue') then los.Entity:Upgrade() end"


Repairing Buildings:
This command will reset the health of a sentry or a dispenser. If you'd like, you can make the building tougher or weaker by changing 100 to whatever you want!

bind <key> "lua_run local los = Entity(1):GetEyeTrace() if (los.Entity:GetClass() == 'npc_dispenser_red' || los.Entity:GetClass() == 'npc_dispenser_blue') || (los.Entity:GetClass() == 'npc_sentry_red' || los.Entity:GetClass() == 'npc_sentry_blue') then los.Entity:SetHealth(100) end"
最后由 MrNiceGuy518 编辑于; 2016 年 2 月 25 日 上午 5:29
< >
正在显示第 1 - 15 条,共 24 条留言
MrNiceGuy518  [开发者] 2015 年 12 月 31 日 下午 8:01 
Just so people will see the thread...
Wgairborne 2015 年 12 月 31 日 下午 8:03 
Hey dude thanks again for it! (if you guys dont know i talked with him to get it)
Wgairborne 2015 年 12 月 31 日 下午 8:04 
also if you try to upgrade it with the bind command over level 3 nothing happens. just saying!
MrNiceGuy518  [开发者] 2015 年 12 月 31 日 下午 8:04 
No problem. I'd like to support the addon more, but honestly I really bit off more than I could chew with this thing.
Calamari 2016 年 1 月 3 日 上午 8:28 
引用自 wgairborne
also if you try to upgrade it with the bind command over level 3 nothing happens. just saying!
*facepalm*
KingViper115 2016 年 1 月 20 日 上午 5:43 
What about the dispenser?
Wgairborne 2016 年 1 月 22 日 下午 11:28 
引用自 Uchiha_viper
What about the dispenser?
try to tinker with it and it might work.....
THE Soviet WIZARD 2016 年 2 月 23 日 下午 6:41 
How do you repair buildings?
Wgairborne 2016 年 2 月 23 日 下午 8:38 
How do you repair buildings?
That Really isnt possible, :/ but if you defend it well, you should be fine :steamhappy:
THE Soviet WIZARD 2016 年 2 月 24 日 上午 4:00 
Thx :D
THE Soviet WIZARD 2016 年 2 月 24 日 上午 4:00 
I also have one more question
THE Soviet WIZARD 2016 年 2 月 24 日 上午 4:01 
is it possible to build robots on the tele-porter thingy like Robo- Engie does?
Wgairborne 2016 年 2 月 24 日 下午 4:26 
is it possible to build robots on the tele-porter thingy like Robo- Engie does?
We dont know this either, but supply him with a bunch of robo parts and he will constantly build them (well until his system breaks) XD :)
最后由 Wgairborne 编辑于; 2016 年 2 月 24 日 下午 4:27
THE Soviet WIZARD 2016 年 2 月 24 日 下午 5:49 
True
THE Soviet WIZARD 2016 年 2 月 24 日 下午 5:49 
:D
< >
正在显示第 1 - 15 条,共 24 条留言
每页显示数: 1530 50