Raised This Month: $32 Target: $400
 8% 

[TF2] Power shop


Post New Thread Reply   
 
Thread Tools Display Modes
secondtimesold
Senior Member
Join Date: Feb 2015
Old 06-12-2015 , 11:14   Re: [TF2] Sh*tty power shop (as requested)
Reply With Quote #51

Ok, I think Ive added just about all the useful attributes I could find that would work.. here is my total config with all the attributes Ive added that test working.

If anyone has any others please share.

Quote:
"Sh*ttyPowerShop_Items"
{
"1"
{
"menuItemName" "+10% Speed (100)" //Name of the item in the menu
"attributName" "move speed bonus" //Name of the attribut, take a look here : https://wiki.teamfortress.com/wiki/L...tem_attributes
"defaultValue" "1.0" //Starting of the attribut value, if it's a perctange, always put 1 otherwise, 0 or more., take a look here https://wiki.teamfortress.com/wiki/L...tem_attributes
"increaseValue" "0.1" //Each time you buy the upgrade, add this vlaue to the actual value (defaultValue+increaseValue)
"maxValue" "2.0" //Maxium value of the upgrade.
"descriptionLine1" "Increase your speed by 10% !" //1nd descirption line of the item
"descriptionLine2" "Maxium upgrade : +100% !" //2nd descirption line of the item
"cost" "100" //Cost of eahc upgrades
"upgradetype" "1" //1 = PHYSIC MENU 2 = WEAPON MENU 3 = OTHER MENU
}

"2"
{
"menuItemName" "+5% Jump height (60)"
"attributName" "increased jump height"
"defaultValue" "1.0"
"increaseValue" "0.1"
"maxValue" "2.5"
"descriptionLine1" "Increase your jump height by 5% !"
"descriptionLine2" "Maxium jump height +150%"
"cost" "60"
"upgradetype" "1"
}

"3"
{
"menuItemName" "+25 Health (75)"
"attributName" "max health additive bonus"
"defaultValue" "0.0"
"increaseValue" "25.0"
"maxValue" "1000"
"descriptionLine1" "Increase your health by 25 !"
"descriptionLine2" "Maxium health 1000"
"cost" "75"
"upgradetype" "1"
}

"4"
{
"menuItemName" "1+ per Second Health regen (35)"
"attributName" "health regen"
"defaultValue" "0.0"
"increaseValue" "1.0"
"maxValue" "100.0"
"descriptionLine1" "Increase your health regen by 1 unit (per second)"
"descriptionLine2" "Maxium health regen 100"
"cost" "35"
"upgradetype" "1"
}

"5"
{
"menuItemName" "+10% Rate of fire (75)"
"attributName" "fire rate bonus"
"defaultValue" "1.0"
"increaseValue" "-0.1"
"maxValue" "-0.3"
"descriptionLine1" "Increase your rate of fire by 10% unit !"
"descriptionLine2" "Max allowed fire speed bonus +50%"
"cost" "75"
"upgradetype" "2"
}

"6"
{
"menuItemName" "Ammo regen (25)"
"attributName" "ammo regen"
"defaultValue" "1.0"
"increaseValue" "1.0"
"maxValue" "2.0"
"descriptionLine1" "Increase your ammo regeneration by 5% !"
"descriptionLine2" "Max allowed ammo regen bonus +100%"
"cost" "25"
"upgradetype" "2"
}

"7"
{
"menuItemName" "Golden Pan Kill (100)"
"attributName" "turn to gold"
"defaultValue" "0.0"
"increaseValue" "1.0"
"maxValue" "2.0"
"descriptionLine1" "Turn kills into gold statues !"
"descriptionLine2" "Can only be bought once."
"cost" "100"
"upgradetype" "3"
}

"8"
{
"menuItemName" "Metal Regen (45)"
"attributName" "Metal Regen"
"defaultValue" "1.0"
"increaseValue" "1.0"
"maxValue" "2.0"
"descriptionLine1" "Gain Metal Every 5 Seconds"
"descriptionLine2" "Metal generator"
"cost" "45"
"upgradetype" "2"
}

"9"
{
"menuItemName" "Explosive sniper shot (175)"
"attributName" "explosive sniper shot"
"defaultValue" "0.0"
"increaseValue" "1.0"
"maxValue" "2.0"
"descriptionLine1" "Explosive Sniper HeadShot"
"descriptionLine2" "Headshots explode killing nearby enemies"
"cost" "175"
"upgradetype" "2"
}

"10"
{
"menuItemName" "Sniper Charge Rate Increase (150)"
"attributName" "SRifle Charge rate increased"
"defaultValue" "1.0"
"increaseValue" "1.0"
"maxValue" "2.0"
"descriptionLine1" "SRifle Charge rate increased"
"descriptionLine2" "Faster Charge"
"cost" "150"
"upgradetype" "2"
}

"11"
{
"menuItemName" "Ubercharge rate bonus (80)"
"attributName" "ubercharge rate bonus"
"defaultValue" "0.0"
"increaseValue" "0.5"
"maxValue" "2.0"
"descriptionLine1" "Ubercharge people !"
"descriptionLine2" "Can only be bought once."
"cost" "80"
"upgradetype" "2"
}


"12"
{
"menuItemName" "Minigun spinup time decreased (80)"
"attributName" "minigun spinup time decreased "
"defaultValue" "0.0"
"increaseValue" "0.5"
"maxValue" "2.0"
"descriptionLine1" "Heavy"
"descriptionLine2" ""
"cost" "80"
"upgradetype" "2"
}

"13"
{
"menuItemName" "+25% Speed (200)"
"attributName" "move speed bonus"
"defaultValue" "1.0" https://wiki.teamfortress.com/wiki/L...tem_attributes
"increaseValue" "0.25"
"maxValue" "2.0"
"descriptionLine1" "Increase your speed by 25% !"
"descriptionLine2" "Maxium upgrade : +100% !"
"cost" "200"
"upgradetype" "1"
}

"14"
{
"menuItemName" "+15% Jump height (150)"
"attributName" "increased jump height"
"defaultValue" "1.0"
"increaseValue" "0.15"
"maxValue" "2.5"
"descriptionLine1" "Increase your jump height by 15% !"
"descriptionLine2" "Maxium jump height +150%"
"cost" "150"
"upgradetype" "1"
}

"15"
{
"menuItemName" "+100 Health (250)"
"attributName" "max health additive bonus"
"defaultValue" "0.0"
"increaseValue" "100.0"
"maxValue" "1000"
"descriptionLine1" "Increase your health by 100 !"
"descriptionLine2" "Maxium health 1000"
"cost" "250"
"upgradetype" "1"
}

"16"
{
"menuItemName" "Jingle Steps (75)"
"attributName" "add jingle to footsteps"
"defaultValue" "0.0"
"increaseValue" "1.0"
"maxValue" "2.0"
"descriptionLine1" "Adds a jingle to your step!"
"descriptionLine2" "Can only be bought once."
"cost" "100"
"upgradetype" "3"
}

"17"
{
"menuItemName" "SPELL: Halloween Voices From Below (20)"
"attributName" "SPELL: Halloween voice modulation"
"defaultValue" "0.0"
"increaseValue" "1.0"
"maxValue" "2.0"
"descriptionLine1" "Deep Voice"
"descriptionLine2" "Yee Haw"
"cost" "20"
"upgradetype" "3"
}

"18"
{
"menuItemName" "Cannot Be Backstabbed (250)"
"attributName" "cannot be backstabbed"
"defaultValue" "0.0"
"increaseValue" "1.0"
"maxValue" "1.0"
"descriptionLine1" "Cannot be backstabbed"
"descriptionLine2" "Can only be bought once"
"cost" "250"
"upgradetype" "2"
}

"19"
{
"menuItemName" "SPELL: Halloween Green Fire (20)"
"attributName" "SPELL: Halloween green flames"
"defaultValue" "0.0"
"increaseValue" "1.0"
"maxValue" "2.0"
"descriptionLine1" "Green FLames"
"descriptionLine2" "Yee Haw"
"cost" "20"
"upgradetype" "3"
}

"20"
{
"menuItemName" "SPELL: Halloween Death Ghosts (20)"
"attributName" "SPELL: Halloween death ghosts"
"defaultValue" "0.0"
"increaseValue" "1.0"
"maxValue" "2.0"
"descriptionLine1" "Release Ghosts on Death"
"descriptionLine2" "Yee Haw"
"cost" "20"
"upgradetype" "3"
}

"21"
{
"menuItemName" "SPELL: Halloween Squash Rockets (20)"
"attributName" "SPELL: Halloween pumpkin explosions"
"defaultValue" "0.0"
"increaseValue" "1.0"
"maxValue" "2.0"
"descriptionLine1" "Pumpkin Bombs"
"descriptionLine2" "Yee Haw"
"cost" "20"
"upgradetype" "3"
}

"22"

{


"menuItemName" "10% Faster Reload (100)"
"attributName" "Reload time decreased"
"defaultValue" "1.0"
"increaseValue" "-0.1"
"maxValue" "-0.5"
"descriptionLine1" "Reload Time Decreased"
"descriptionLine2" "Yee Haw"
"cost" "100"
"upgradetype" "2"
}





"23"
{
"menuItemName" "Disguise on Backstab (100)"
"attributName" "disguise on backstab"
"defaultValue" "0.0"
"increaseValue" "1.0"
"maxValue" "1.0"
"descriptionLine1" "Eternal Reward Bonus on Any Knife"
"descriptionLine2" "You can only buy this once"
"cost" "100"
"upgradetype" "2"
}

"24"
{
"menuItemName" "Jarate Backstabber (125)"
"attributName" "jarate backstabber"
"defaultValue" "0.0"
"increaseValue" "1.0"
"maxValue" "1.0"
"descriptionLine1" "If you get backstabbed you will jarate the spy"
"descriptionLine2" "You can only buy this once"
"cost" "125"
"upgradetype" "1"
}

"25"

{


"menuItemName" "10% Faster Build Speed (100)"
"attributName" "build rate bonus"
"defaultValue" "1.0"
"increaseValue" "-0.1"
"maxValue" "-0.5"
"descriptionLine1" "Build Time Decreased"
"descriptionLine2" "Yee Haw"
"cost" "100"
"upgradetype" "2"
}

"26"
{
"menuItemName" "Demo Charge Time Increase (80)"
"attributName" "charge time increased"
"defaultValue" "0.0"
"increaseValue" "1.0"
"maxValue" "6.0"
"descriptionLine1" "Increase Charge Time"
"descriptionLine2" "Increase charge distance"
"cost" "80"
"upgradetype" "2"
}

"27"
{
"menuItemName" "On Kill: Drop Health Pack (40)"
"attributName" "drop health pack on kill"
"defaultValue" "0.0"
"increaseValue" "1.0"
"maxValue" "1.0"
"descriptionLine1" "Can Only be bought once"
"descriptionLine2" "Yee Haw"
"cost" "40"
"upgradetype" "1"
}

"28"
{
"menuItemName" "Scout Only: Triple Jump (280)"
"attributName" "air dash count"
"defaultValue" "0.0"
"increaseValue" "1.0"
"maxValue" "1.0"
"descriptionLine1" "Can Only be bought once"
"descriptionLine2" "3rd Jump takes 10hp"
"cost" "280"
"upgradetype" "1"
}

"28"
{
"menuItemName" "Fall Damage Immunity (100)"
"attributName" "cancel falling damage"
"defaultValue" "0.0"
"increaseValue" "1.0"
"maxValue" "1.0"
"descriptionLine1" "Can Only be bought once"
"descriptionLine2" ""
"cost" "100"
"upgradetype" "1"
}



"29"
{
"menuItemName" "Bullets Penetrate Targets (100)"
"attributName" "shot penetrate all players"
"defaultValue" "0.0"
"increaseValue" "1.0"
"maxValue" "1.0"
"descriptionLine1" "Can Only be bought once"
"descriptionLine2" ""
"cost" "100"
"upgradetype" "2"
}



}
__________________

Last edited by secondtimesold; 06-12-2015 at 11:17.
secondtimesold is offline
Happy DODs player
AlliedModders Donor
Join Date: Sep 2009
Old 06-12-2015 , 15:32   Re: [TF2] Sh*tty power shop (as requested)
Reply With Quote #52

Wonderfull will ad them also.

Hope there ar gone be more updates or future s added.
Happy DODs player is offline
Potato Uno
Veteran Member
Join Date: Jan 2014
Location: Atlanta, Georgia
Old 06-13-2015 , 00:05   Re: [TF2] Sh*tty power shop (as requested)
Reply With Quote #53

I absolutely love the name of this thread. It makes me crack up every time I open the new plugins page. Well done OP.

EDIT: Explosive headshots don't work outside of MvM as far as I am aware of, just like the medic's shield (although the medic's shield can be overriden with a plugin). Still the point is that explosive headshots may not work in pvp. You can try testing it by seeing if a group of bots players are nearby, type sv_cheats 1, nb_stop 1, headshot one, and see if it explosively kills another.

Last edited by Potato Uno; 06-13-2015 at 00:10. Reason: Quoted wrong guy
Potato Uno is offline
lionheart1066
Senior Member
Join Date: Aug 2009
Old 06-14-2015 , 02:12   Re: [TF2] Sh*tty power shop (as requested)
Reply With Quote #54

Well, first time trying this out and I can already see its conflicting with the server hud logo plugin.
Also would be nice if the credits could be remembered across map changes.

Last edited by lionheart1066; 06-14-2015 at 02:38.
lionheart1066 is offline
secondtimesold
Senior Member
Join Date: Feb 2015
Old 06-14-2015 , 03:41   Re: [TF2] Sh*tty power shop (as requested)
Reply With Quote #55

I've found that having credits remain after map change would just make the plugin too over powered.

As it is now players on my server have 1 hour too accumulate and use credits before the map changes. This hour gives players enough time to really become super buffed.
__________________
secondtimesold is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 06-14-2015 , 03:54   Re: [TF2] Sh*tty power shop (as requested)
Reply With Quote #56

Quote:
Originally Posted by lionheart1066 View Post
Well, first time trying this out and I can already see its conflicting with the server hud logo plugin.
Also would be nice if the credits could be remembered across map changes.
You should give me more infos about how the plugin is conflicting with your other plugin. You should first know this :
Each plugin can set the option of HUD text for ALL other plugins. <- This mean, if your other plugins don't set the HUD param for before printing his message, it will take the previous set HUD parameters. So, you can take a look at my code, before printing anything to screen, I set the HUD parameters, for MY plugin. So might want to edit your other plugins to fit what I said above.

Also, I could had a CVAR for your second request.
__________________
Want to check my plugins ?
Arkarr is offline
lionheart1066
Senior Member
Join Date: Aug 2009
Old 06-14-2015 , 19:25   Re: [TF2] Sh*tty power shop (as requested)
Reply With Quote #57

Quote:
Originally Posted by Arkarr View Post
You should give me more infos about how the plugin is conflicting with your other plugin. You should first know this :
Each plugin can set the option of HUD text for ALL other plugins. <- This mean, if your other plugins don't set the HUD param for before printing his message, it will take the previous set HUD parameters. So, you can take a look at my code, before printing anything to screen, I set the HUD parameters, for MY plugin. So might want to edit your other plugins to fit what I said above.

Also, I could had a CVAR for your second request.
Yeah an option for the shop to remember credits would be great.
As for the conflict, I honestly don't know, I'm not a coder, I just know that the credit's hud display appears at the same time as my server hud logo and actually forces it to disappear.

For the plugin that I use for my server hud: https://forums.alliedmods.net/showthread.php?t=179878 or at least provide an option to disable the hud text from this plugin.
lionheart1066 is offline
rakion99
Junior Member
Join Date: Feb 2015
Location: ERROR 451 Unavailable Fo
Old 07-09-2015 , 02:08   Re: [TF2] Sh*tty power shop (as requested)
Reply With Quote #58

if someone commits suicide, use kill or explode on console the plugin will throw error about Invalid Client Index 0 on the line with CPrintToChat
I just changed a line from this:
Code:
if(victim == attacker)
to this:
Code:
if(victim == attacker || attacker == 0)
and now is fixed.
i have instant respawn and some people like to spam suicide so i got a los of spam of that error, i think all have this error but no one have reported it or they fixed it by themselves.

anyways Great Awesome Plugin
rakion99 is offline
kane1974
Junior Member
Join Date: Nov 2015
Location: func_viscluster
Old 11-19-2015 , 09:23   Re: [TF2] Power shop
Reply With Quote #59

I'd recommend use optf2 instead of wiki to view item attributes, cuz it is constantly updated and wiki hadn't been updated months ago and it's missing many attributes.

http://optf2.com/440/attributes

Last edited by kane1974; 11-19-2015 at 09:23.
kane1974 is offline
Arkarr
Veteran Member
Join Date: Sep 2012
Location: Just behind my PC screen
Old 11-19-2015 , 13:24   Re: [TF2] Power shop
Reply With Quote #60

Quote:
Originally Posted by kane1974 View Post
I'd recommend use optf2 instead of wiki to view item attributes, cuz it is constantly updated and wiki hadn't been updated months ago and it's missing many attributes.

http://optf2.com/440/attributes
Thanks ! Ill update the OP.
__________________
Want to check my plugins ?
Arkarr 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:08.


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