Raised This Month: $51 Target: $400
 12% 

Suggestion / Subplugin Request [REQ] Unlock Zombie Classes with Shop Item


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fowst
Member
Join Date: Jan 2012
Location: Germany
Old 02-04-2012 , 08:50   [REQ] Unlock Zombie Classes with Shop Item
Reply With Quote #1

Hey

This request sounds simple but I think it isn't.
I want a plugin to lock zombie classes and make them unlockable in the shop for large amounts of ammopacks. How the Plugin should work:

lets say we have 5 new zombie classes that can be edited or submitted via another plugin e.g. the climb zombie.

New zombie classes are listed in the extra items menu available for zombies.
Code:
1. antidote
2. madness
3. infection bomb
4. unlock "name6" [a]Ammo Packs
5. unlock "name7" [b]Ammo Packs
6. unlock "name8" [c]Ammo Packs
7. unlock "name9" [d]Ammo Packs
8. unlock "name10" [e]Ammo Packs
When a player wants to choose a class:

Code:
1. classic zombie
2. raptor zombie
3. poison zombie
4. big zombie
5. leech zombie
6. "name6" [locked]
7. "name7" [locked]
 8. "name8" [locked]
 9. "name9" [locked]
 10. "name10" [locked]
I need this data stored via fvault.

Code:
new const g_vault_name[] = unlockclasses
unlockclasses.txt could be structured as follows:
(without formatting, this is just to visualize it)

Quote:
[steam id][0,0,0,0,0,1,0,1,1,1]
italic: these are the standard zoombieclasses, that are already unlocked (0).
bold: the bold "0" is a zombie class that was unlocked by player
all classes with "1" are still locked and appear in the "choose Zombie class" menu like this:

Code:
Gravedigger Zombie [locked]
But there's one thing that I respect too much to try it myself. I need a new variable in zp_zombieclasses.ini that says "0" or "1", while 0 stands for regularly available zombie classes and 1 stands for zombie classes that you need to unlock before being able to play with it.

  • name 6-10 should change automatically if you change their names in the zombieclasses.ini.
  • abcde stands for variables that you can change in the zp_extraitems.ini yourself.
  • These items change the [locked]value of a zombie from 1 to 0 in the unlockclasses.txt NOT in the zp_zombieclasses.ini since this is needed that other players also have to unlock zombies
This is how it would appear in the zp_zombieclasses.ini:

Code:
[Gravedigger Zombie]
NAME = Gravedigger Zombie [locked]
INFO = HP + Speed + Knockback -
MODELS = zombie_source
CLAWMODEL = v_knife_zombie.mdl
HEALTH = 3000
SPEED = 230
GRAVITY = 1.00
KNOCKBACK = 0.65
LOCKED = 1
I hope somebody can do this. I started but I would fail miserably on doing this. If there are questions about this, I'd be glad to answer them.

Greetz

Last edited by Fowst; 02-05-2012 at 09:56.
Fowst is offline
Fowst
Member
Join Date: Jan 2012
Location: Germany
Old 02-20-2012 , 15:18   Re: [REQ] Unlock Zombie Classes with Shop Item
Reply With Quote #2

/Push!

I need somebody to do this or explain to me how I can lock zombie classes for players. This is one sctructured suggestion and I don't understand why nobody gives it a try. There are a lot of people here that would be able to script this.
Fowst is offline
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 02-20-2012 , 15:26   Re: [REQ] Unlock Zombie Classes with Shop Item
Reply With Quote #3

The point isn't if nobody try to do , i'm sure guys really do it , but i dude if we give to you
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
Fowst
Member
Join Date: Jan 2012
Location: Germany
Old 02-20-2012 , 15:38   Re: [REQ] Unlock Zombie Classes with Shop Item
Reply With Quote #4

Of course...that's what makes me sad...
Fowst 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 17:53.


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