Quote:
Originally Posted by zyox123cc
Dragon's Fury
Gas Passer
Hot Hand
Thermal Thruster
Will not appear in the upgrade menu
but Second Banana Will show
|
When new
weapon classes are added into the game you have to manually add them into your Uber Upgrades configuration files.
For example, the Air Strike rocket launcher was introduced into the game. It has a weapon class of "tf_weapon_rocketlaucher_airstrike". That weapon class didn't exist in the \sourcemod\configs\uu_weapons.txt file. So... you have to add it and link it to a menu that appear in the list of menus (\sourcemod\configs\uu_lists.txt). We want to upgrade with the same menu options of any other rocket launcher so we'll use the existing menu for rocket launchers which is "expweap".
So... for the example to work you'd use a good notepad editor like Notepad++ to edit the file "\sourcemod\configs\uu_weapons.txt". Your edit will be to add this line:
"tf_weapons_rocketlauncher_airstrike" "expweap"
While you are at it, add this line for the Classic sniper rifle to allow sniper rifle menu upgrades:
"tf_weapon_sniperrifle_classic" "snipe"
Doing the above will allow your players to upgrade the Air Strike like any other rocket launcher and the Classic like any other sniper rifle.
That doesn't help you with the some of the Inferno weapons (Dragon's Fury, Hot Hand, Gas Passer). Those weapons don't really have an exact in game equivalent.
For the Hot Hand, you may want to treat it like any other Pyro melee weapon. If so, you could add the weapon class to your "uu_weapons.txt" file and link it to to the existing pyro melee weapons menu like this:
"tf_weapon_slap" "melpyr"
However, for the Dragon's Fury and Gas Passer you'll probably want to develop a new menu list by editing the "uu_lists.txt" file. This isn't easy, but can be done. Menu items in that list have to match existing attributes in the "uu_attributes.txt" file as well as the "\sourcemod\translations\tf2items_uu.phrases. txt" file. The "uu_attributes.txt" file is also where you can edit the cost of a specific upgrade.
Weapon classes for Inferno items are: tf_weapon_rocketlauncher_fireball, tf_weapon_rocketpack, tf_weapon_jar_gas, and tf_weapon_slap
You can visit my server (HappyLand Uber Upgrades and Bots) to get an idea on what attributes to use with inferno weapon upgrades.
I hope this helps.