Raised This Month: $ Target: $400
 0% 

[TF2] Uber Upgrades v0.9.4 (beta version 11/14/2013)


Post New Thread Reply   
 
Thread Tools Display Modes
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 09-11-2015 , 19:48   Re: [TF2] Uber Upgrades v0.9.4 (beta version 11/14/2013)
Reply With Quote #131

Quote:
Originally Posted by Jose76Tron View Post
How can I add some weapons names instead of classes to the uu_weapons.txt?
The weapon name is not necessary, or used. Instead, you need to know the 'Weapon Class' used for that weapon, which can be found here: https://wiki.alliedmods.net/Team_for...nition_indexes

Here's a real example of what I did when a new weapon was introduced to TF2 called 'The Air Strike', which is like a Rocket Launcher:

Problem: New weapon added to game called 'Air Strike'. Players who had the Air Strike equipped could not upgrade it using the Uber Upgrades Mod.

Cause: The weapon class for the Air Strike does not exist in uu_weapons.txt file.

Solution:
1. Use link above to open up page on AlliedModders website that lists weapon classes.
2. Search page for 'The Air Strike'. Locate the weapon class listed for it.
3. In this case, the Weapon Class is "tf_weapon_rocketlauncher_airstrike".
4. Open your uu_weapons.txt file for editing (using notepad++).
6. Review the list and find a similar weapon within the file for comparison. In this case, The Air Strike is most similar to a Rocket Launcher. The rocket launcher has a type listed of "expweap", so we'll use that as well for The Air Strike.
7. Add an a line of "tf_weapon_rocketlauncher_airstrike" "expweap" within the file.
8. Save it. You are done.

The next time you start your game server players should be able to upgrade The Air Strike.

I hope this helps...

Last edited by PC Gamer; 09-11-2015 at 19:49.
PC Gamer is offline
MaloModo
Veteran Member
Join Date: Aug 2008
Old 12-29-2015 , 12:16   Re: [TF2] Uber Upgrades v0.9.4 (beta version 11/14/2013)
Reply With Quote #132

Anyhow care to maintain/update this fun plugin? I may be willing to throw a few bones at someone who has a proven track record of competence xD These "bones" would be in USD ;P
MaloModo is offline
dildoughy
Member
Join Date: Nov 2015
Old 05-09-2016 , 19:08   Re: [TF2] Uber Upgrades v0.9.4 (beta version 11/14/2013)
Reply With Quote #133

Man, the menu panel will NOT close. Pressing 0 (which I have rebound to weapon slot 10, etc., etc., so it works with all other Sourcemod menus) triggers the menu close sound but it stays up. If I try to access any buy submenus it immediately flashes back to the main menu.

Eeeeeee.
dildoughy is offline
dildoughy
Member
Join Date: Nov 2015
Old 05-09-2016 , 19:13   Re: [TF2] Uber Upgrades v0.9.4 (beta version 11/14/2013)
Reply With Quote #134

Also, this is probably quite low-priority, but !buy is a very generic trigger that clashes with Playpoints, etc. Is there a way to change the say command trigger to something like !uubuy? Thanks very much.
dildoughy is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 05-09-2016 , 22:13   Re: [TF2] Uber Upgrades v0.9.4 (beta version 11/14/2013)
Reply With Quote #135

dildoughy... These commands/events should also work to get to the buy menu:
1. !buy
2. !upgrade
3. walking into a locker
4. spawning
5. pressing the two keys: TAB+R
PC Gamer is offline
dildoughy
Member
Join Date: Nov 2015
Old 05-13-2016 , 20:45   Re: [TF2] Uber Upgrades v0.9.4 (beta version 11/14/2013)
Reply With Quote #136

Thanks! Tab+R does nothing for me but I'm not too worried about it, the other say cmds work fine However, the menu absolutely refuses to close and I'm still trying to pinpoint what the conflict or issue is :/
dildoughy is offline
SirTinyHead
New Member
Join Date: May 2016
Old 05-18-2016 , 22:07   ugh
Reply With Quote #137

Every few rounds it removes all my upgrades and gives me the money to spend again. WHY?! IT IS SO ANNOYING WHEN I GET TO HIGH LEVELS AND I HAVE TO GO GUESS WHAT LEVEL I HAD? Any way to fix this?
SirTinyHead is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 05-18-2016 , 23:20   Re: ugh
Reply With Quote #138

Quote:
Originally Posted by SirTinyHead View Post
Every few rounds it removes all my upgrades and gives me the money to spend again. WHY?! IT IS SO ANNOYING WHEN I GET TO HIGH LEVELS AND I HAVE TO GO GUESS WHAT LEVEL I HAD? Any way to fix this?
See post #96 in this thread. It will tell you what lines to comment out in the sourcecode in order to keep your upgrades between rounds.
PC Gamer is offline
baozi31
New Member
Join Date: May 2016
Old 05-22-2016 , 03:40   Re: [TF2] Uber Upgrades v0.9.4 (beta version 11/14/2013)
Reply With Quote #139

I try compile all source code files to .sp file, but always display this error, anyone can help?Thanks!!


tf2attributes_ubup.sp(1870) : warning 213: tag mismatch
tf2attributes_ubup.sp(1842) : error 180: function return type differs from prototype. expected 'void', but got 'int'

1 Error.
"fail"

Last edited by baozi31; 05-22-2016 at 04:09.
baozi31 is offline
PC Gamer
Veteran Member
Join Date: Mar 2014
Old 05-22-2016 , 13:40   Re: [TF2] Uber Upgrades v0.9.4 (beta version 11/14/2013)
Reply With Quote #140

I found that errors occur when compiling this plugin with Sourcemod 1.7x. I managed to compile it without errors by using Sourcemod 1.6x.

I hope this helps...
PC Gamer 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 12:48.


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