Raised This Month: $ Target: $400
 0% 

Max powers and max level


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Zakardo
Junior Member
Join Date: Jul 2009
Old 08-25-2010 , 08:54   Max powers and max level
Reply With Quote #1

Hello

I set my server to NUMLEVELS 100 and sh_maxpowers 20. I thought that players would choose heroes every 5 levels, but they can choose it only first 20 levels. What should i do to make player able to choose heroes at level 1,6,11,16 ...
Zakardo is offline
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 08-25-2010 , 09:19   Re: Max powers and max level
Reply With Quote #2

You cant
__________________
The Art of War is offline
Exploited
Veteran Member
Join Date: Jul 2010
Location: Sweden
Old 08-25-2010 , 09:43   Re: Max powers and max level
Reply With Quote #3

I'm not sure, but I would imagine you could, but you would have to do a whole lot of coding and I doubt that anyone here is willing to do that.

Again, I'm not even sure if its possible.
__________________
Jelle (1): I LOVE YOU
Jelle (1): Yeah. omg you are so awesome!
--------------
Jelle (1): You know when a poo is about to exit but it is too big?
Jelle (1): God my ass still hurts
Exploited is offline
G-Dog
Senior Member
Join Date: Dec 2005
Location: Thunderstorm Central
Old 08-25-2010 , 09:57   Re: Max powers and max level
Reply With Quote #4

try setting the XPGIVEN/LTXPGIVEN in groupings of 5
__________________
If at first you don't succeed, then skydiving isn't for you.
G-Dog is offline
Send a message via AIM to G-Dog
The Art of War
Veteran Member
Join Date: Dec 2009
Location: Sweden Rock Festival
Old 08-26-2010 , 05:51   Re: Max powers and max level
Reply With Quote #5

Quote:
Originally Posted by G-Dog View Post
try setting the XPGIVEN/LTXPGIVEN in groupings of 5
And how would that be possible?
__________________
The Art of War is offline
G-Dog
Senior Member
Join Date: Dec 2005
Location: Thunderstorm Central
Old 08-26-2010 , 10:34   Re: Max powers and max level
Reply With Quote #6

meant XPLEVELS/LTXPLEVELS and heres an example
PHP Code:
XPLEVELS 0 100 100 100 100 100 2000 2000 2000 2000 2000 16000 16000 16000 16000 16000 320000 320000 320000 320000 320000 
because superhero only checks if the next xp level is higher than the last, not if they are equal, so it should work
__________________
If at first you don't succeed, then skydiving isn't for you.
G-Dog is offline
Send a message via AIM to G-Dog
Zakardo
Junior Member
Join Date: Jul 2009
Old 08-26-2010 , 13:38   Re: Max powers and max level
Reply With Quote #7

It is not what i mean. I want players be able to gain normal level but choose new hero evey five because i want give to all heroes code from dracula - become stronger evey level.
Zakardo is offline
Jelle
[b]MOAR CANDY[/b]
Join Date: Aug 2009
Location: Denmark
Old 08-26-2010 , 14:25   Re: Max powers and max level
Reply With Quote #8

Then make the next hero pick able from the level you want.

Make dracula like level 5, and if you then want him to first have a hero at level 10, like morpheus, then make him level 10, so there is no heroes in between.
__________________
No idea what to write here...
Jelle is offline
Send a message via MSN to Jelle
Zakardo
Junior Member
Join Date: Jul 2009
Old 08-27-2010 , 03:16   Re: Max powers and max level
Reply With Quote #9

I thought abaut this solution. But in this way i must put at least 20 heroes beetween levels 0-20. Else everyone will have the same heroes.
Zakardo is offline
G-Dog
Senior Member
Join Date: Dec 2005
Location: Thunderstorm Central
Old 08-27-2010 , 03:59   Re: Max powers and max level
Reply With Quote #10

increase the xp between levels cause if I was on a server where I didn't get a point after leveling, I'd assume it was broken and leave, and something tells me I'm not the only person who would react that way

but if you must, edit superhero, find the menuSuperPowers function and change
PHP Code:
new playerLevel gPlayerLevel[id
to
PHP Code:
new playerLevel gPlayerLevel[id]/
That should be enough to force it to only allow players to choose after every 5 levels
__________________
If at first you don't succeed, then skydiving isn't for you.

Last edited by G-Dog; 08-27-2010 at 04:09.
G-Dog is offline
Send a message via AIM to G-Dog
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:59.


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