Quote:
Originally Posted by PC Gamer
I changed this plugin several times over the last couple of days in an effort to simplify it. This latest version requires TFEconData and TF2Attributes by the talented nosoop. The use of his includes greatly simplifies things for you since you don't need to know the individual item classnames or weapon slots.
I added in a few examples for you. The plugin looks for Bot names of: Fred, Redimus, Fake Batman, Beepman, Samurai, UBDead
If it finds a Bot with one of those names it will give the cosmetics, weapons, and attributes associated with that name to the Bot.
For example, the Bot named Samurai will be a DemoMan wearing samurai clothing, have a sword and shield, will have 5,000 health, cannot use health packs, has 700% damage bonus, has 60% faster attack speed, has 3X melee range, does 1900% more impact damage, and turns victims into gold.
As you might imagine Beepman is an Engineer with Beepman outfit and 2,000 hp. He has an unusual Alien Tech shotgun and builds instantly. His sentry and dispenser have twice the range. Weapons and sentry do more damage.
Fake Batman works for any class. It keeps the current class and adds a Batman costume and gives a Golden Frying Pan. No other changes are made.
Fred and Redimus give exactly what you requested. I made Redimus' Force-A-Nature Australium.
For real chaos try the bot named UBDead (case matters in the spelling of Bot names). It will not disappoint.
The extreme examples I made should do a good job illustrating just how powerful this plugin can be for you. I like this plugin enough to maybe add it in the plugins section.
Plugin Name: Botbuilder
Plugin Dependencies:
TF2Attributes by nosoop. Link: https://github.com/nosoop/tf2attributes
TFEconData by nosoop. Link: https://github.com/nosoop/SM-TFEconData
|
I'm getting an error from Econ saying
"//// botbuilder.sp
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(39) : error 010: invalid function or declaration
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(45) : error 001: expected token: "(", but found "-identifier-"
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(45) : error 001: expected token: ";", but found "("
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(50) : error 001: expected token: "(", but found "-identifier-"
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(50) : error 001: expected token: ";", but found "("
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(55) : error 001: expected token: "(", but found "-identifier-"
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(55) : error 001: expected token: ";", but found "("
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(60) : error 001: expected token: "(", but found "-identifier-"
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(60) : error 001: expected token: ";", but found "("
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(66) : error 001: expected token: "(", but found "-identifier-"
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(66) : error 001: expected token: ";", but found "("
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(76) : error 001: expected token: "(", but found "-identifier-"
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(76) : error 001: expected token: ";", but found "("
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(81) : error 001: expected token: "(", but found "-identifier-"
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(81) : error 001: expected token: ";", but found "("
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(87) : error 001: expected token: "(", but found "-identifier-"
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(87) : error 001: expected token: ";", but found "("
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(95) : error 001: expected token: "(", but found "-identifier-"
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(95) : error 001: expected token: ";", but found "("
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(101) : error 001: expected token: "(", but found "-identifier-"
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(101) : error 001: expected token: ";", but found "("
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(106) : error 001: expected token: "(", but found "-identifier-"
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(106) : error 001: expected token: ";", but found "("
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(111) : error 001: expected token: "(", but found "-identifier-"
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(111) : error 001: expected token: ";", but found "("
// D:\Release (1)\Servers\REVZS\Server\tf\addons\sourcemod\ scripting\include\tf_econ_data.inc(122) : error 001: expected token: "(", but found "-identifier-"