Staredit Network

Staredit Network -> UMS Assistance -> Slight Problem
Report, edit, etc...Posted by PhoenixRajoNight on 2005-04-16 at 18:40:02
I need a way to display level, but I'm alrdy using some other counters and trackers and resources as other stuff.

Minerals: For money to buy potions, scrolls of town portal and other things and the like.

Gas: For weapons and armor upgrades, when they use a point to get next weapon and armor level it keeps seting to the same amount of gas, until the next is level is uped using the points given at level upgrades.

Custom Score: For experience.

Kill Score: Converts to minerals, so I cant use it for experience.

Devorer: Using to track MP(mana Points).

Hero Devourer: Using to keep track of LP(life points).

Death Counter #1: Current Weapon & Armor Level

Death Counter #2: To keep track of level but want to have it displayed.

Here in lies my problem I want to display level, and I'd rather use custom score for mana so that would also display.

Like if my guys dont build any buildings but go to the weapon shoppe and it gives them the buildings, then when they leave it gives back, will that add to the build score, because if it doesnt maybe I'd have another score to be able to use as a tracker.

What about razings too could i when i do kills to cash make it convert to razings and use that and if so are diff buildings worth more razing points like with the kills?

Sorry just looking for a little help.

And im thinking of changing the devourers over to death counters too now that i just wrote all this down, less clutter that way.
Report, edit, etc...Posted by chuiu on 2005-04-16 at 18:48:54
You can use custom for any number of different counters. Just setup a death counter for mana and for levels. Then do something like this:

DC1 - Death Counter for mana OR levels.
DC2 - Death Counter for conversion.

C:
Something causing the leaderboard to switch.
Current Player has suffered at least 256 deaths of DC1.
A:
Modify deaths of DC1 for Current Player: Subtract 256.
Modify deaths of DC2 for Current Player: Add 256.
Preserve trigger.

Then do that for 128, 64, 32, 16, 8, 4, 2, and 1. If you need more than 511 mana, then double 256 and make sure that one is at top, it has to descend from highest to lowest.

Now you want to setup some triggers to change over to custom score.

C:
Something causing the leaderboard to switch.
Current Player has suffered at least 256 deaths of DC2.
A:
Modify deaths of DC2 for Current Player: Subtract 256.
Modify deaths of DC1 for Current Player: Add 256.
Modify Custom score for Current Player: Add 256.
Preserve trigger.

Follow same steps as before. Then display the leaderboard for Custom. You can do this whenever you want it to switch and you can make conditions work for specific deaths, a switch or something would work just fine.
Report, edit, etc...Posted by PhoenixRajoNight on 2005-04-16 at 19:37:37
So 2 death counters per one i want displayed or 1 universal conversion death counter?

Also if i then used a death counter to time the intervals between changing the custom level, is it going to hurt if i add the condition of reseting that death counter to zero, I know it sounds like a dumb ? but I've had something stupid screw something up before

and if i want to show the experience they currently have through razings id just have to show it through a longer death counter timer so it would end up displaying as probably this, first second third second first third first etc. unless theres a better way i dunno, sorry this is my first rpg im trying to make.
Report, edit, etc...Posted by chuiu on 2005-04-16 at 19:46:04
You can use a universal one. And if you're switching them like this:

(at the bottom of the trigger list I described above)
C:
Switch "level" is set.
Player has suffered exactly 0 deaths of Change.

A:
Clear switch "level".
Set switch "next leaderboard changeTo"
Set deaths of Change for Current Player: Set to #.
Preserve trigger.

Always subtracting "change" deaths. And use:

Switch "level" is set.
Player has suffered exactly 0 deaths of Change.

As conditions for the converstion triggers also, there should be no problem at all. I hope that answers your question, I don't really think I understood what you were asking. :/
Report, edit, etc...Posted by PhoenixRajoNight on 2005-04-16 at 19:50:10
ok so now how does the custom score reset i see u adding to it but never reseting in between the switch, wouldnt it just show up combined?

Now buildings go on razings and dont go on kill scores at all its seperate right?
Report, edit, etc...Posted by chuiu on 2005-04-16 at 20:06:11
I left out the trigger for that. I assumed you would find an appropriate place for it. I guess you could just put a trigger at the top to reset DC2 and custom score to 0 whenever "change" is 0.
Report, edit, etc...Posted by PhoenixRajoNight on 2005-04-16 at 20:10:46
QUOTE(chuiu_os @ Apr 16 2005, 07:06 PM)
I left out the trigger for that.  I assumed you would find an appropriate place for it.  I guess you could just put a trigger at the top to reset DC2 and custom score to 0 whenever "change" is 0.
[right][snapback]189668[/snapback][/right]

Ok I'll setup those triggers like that then and i'll see if I come across any problems til then, much oliged and many thanks for ur time and help.
Report, edit, etc...Posted by shortneo on 2005-04-17 at 04:48:00
OR u could just use sumthing like a # of crystals or sumthing in an area
Report, edit, etc...Posted by chuiu on 2005-04-17 at 06:06:51
ya becuz using sumthin like crystals in an area or sumthin is easy to see an people want to do that to see thir level.
Next Page (1)