experience

  • Thread starter Thread starter Kheldar
  • Start date Start date
quote: (see gameplay constants)

Experience Tables 101
---------------------

The overall purpose of these four fields is to define a value of experience for every possible level. The "Table" field does this by simply specifying exactly that, an experience value for each level.

For example:

Hero XP Gained - Hero, Table = 100,120,160,220,300

which means that a hero will receive 100 XP for killing a level 1 hero, 120 XP for killing a level 2 hero, and so forth.

Now then, explicitly setting a value for every single hero level can be tedious and wasteful if you have a lot of hero levels (say, 500). So, the three formula fields are used to calculate all values beyond those in the existing table field.

This formula computes the experience value "f(x)", for level "x", based on the level and previous experience value, as well as a constant:

f(x) = C + L*x + P*f(x-1)

where

C = Constant Factor field
L = Level Factor field
P = Previous Value field

Continuing our example using the Hero XP Gained - Hero fields (C = 100, L = 0, P = 1), the experience gained from killing a level 6 hero would be:

100 + 0*6 + 1*300 = 400

Note that the 300 is the experience for level 5, which comes from the table. For level 7, we get:

100 + 0*7 + 1*400 = 500

and so on. This particular equation is quite simple, it just adds 100 more for every level.

Now we can look at the Hero XP Gained - Normal fields, where

Table = 25 (only one entry!)
C = 5
L = 5
P = 1

and compute

f(1) = 25 (from table)
f(2) = 5 + 5*2 + 1*25 = 40
f(3) = 5 + 5*3 + 1*40 = 60
f(4) = 5 + 5*4 + 1*60 = 85
f(5) = 5 + 5*5 + 1*85 = 115

and so on.
 
but for normal units then? for example it says that a footman is level 2 in the unit editor, but u dont get 120 XP for a footman.
 
The levels for units are merely a classification that can only be used in the editor. For exemple in the unit pallette, when you want to place the most powerfull neutral hostile creature, but you don't know which one is most powerfull. The color of the creep camp also depends on the total levels of the creeps.

B.t.w, what are the results of the beta testing? Everyone is always so enthousiastic to test it, but no one tells the results.
 
i havent tested your map, but i will do it tonight i think, but how do u set the amount of XP earned for normal units then?
 
oh, and in the beggining i want to have a message that says "welcamoe to blablabla" which i have done, but i want to have one message which shows to half of the players and another which shows to the other half. is there any way to do this?
 
Normal units have no experience, and cannot EARN levels.

For the second question, well, that is possible, but only if you send the message in a number of messages equal to the number of players.

Code:
Event:
    [Time - elapsed time]
    Elapsed time is 10 seconds
Conditions:
    [Player controller comparison]
    Controller of player 1 is equal to user
Actions:
    [Game - send message]
    Display to (all players) (Player 1)

Event:
    [Time - elapsed time]
    Elapsed time is 10 seconds
Conditions:
    [Player controller comparison]
    Controller of player 2 is equal to user
Actions:
    [Game - send message]
    Display to (all players) (Player 2)
Etc…
 
Mind,

You asked everyone to scrutinize your map from a developers standpoint. I like your map. I started playing it with a notebook ready, and jotting down everything I could think of.

As the list grew, I became concerned that If I added some constructive critisim you would take it personally, or retaliate.

Perhaps thats why people avoid that topic.

Originally posted by Mind
The levels for units are merely a classification that can only be used in the editor. For exemple in the unit pallette, when you want to place the most powerfull neutral hostile creature, but you don't know which one is most powerfull. The color of the creep camp also depends on the total levels of the creeps.

B.t.w, what are the results of the beta testing? Everyone is always so enthousiastic to test it, but no one tells the results.
 
Nooo! Of course I won't take it personally.
I'd be very gratefull if you'd told me the results. The larger the list, the better, truly.
The author of the LOTR map didn't care that I posted such a large list either.
 
I think we all know Mind well enough now to know that he won't take criticism personally, and he will never be offended by it. More the opposite, he would probably agree with it.

Your LotR feedback was damn good feedback Mind, don't know if that guy read it or not though....
 
Yah

I haven't played the map yet... but i'll dl it 2nite. lol, first of all tho, can u tell me wat itz about? :P
 
hmm, noone answered my question yet. how do u set the amount of XP gained for NORMAL units, not heroes.
 
I already said that there is no experience for units. Only levels, and those are merely used for editor classification.

If you want a unit that can GAIN levels, well, then you're stuck; only heroes can gain experience.

I haven't played the map yet... but i'll dl it 2nite. lol, first of all tho, can u tell me wat itz about? :P

Not all human villages were destroyed by the Scourge; a very few number of villages in the southeast of Lordaeron still fight against the Undead. Despite the fact that the Scourge is a huge threat to all who lives, those villages are threated by something else: Many bandits also roam the land since the fall of Lordaeron, causing the second largest threat to humanity.
Weeks after Arthas' departure to Icecrown, Brian, the leader of the bandit clan "The Raging Horde", prepares his men for their next strike. Since the guards of the village they wish to assault are diminished, it will be a relatively easy job. However, the Scourge also poses a threat to the Raging Horde… Brian will lead the Raging Horde to the south soon.
 
nononoonnononoooo. u dont understand, i want to set how much XP you get for killing a unit. for example u get like 30 xp or something for killing a footman
 
yes, maybe. there should be a field in the unit editor... wonder why there isnt.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    Hey Ghan, whatever cron job its part of its not running its been the same for days. If it does not work can we remove it?
  • The Helper The Helper:
    LOL! A tweak job!
  • The Helper The Helper:
    this is the fix I get from that yeah this is hard to control. disabling bots is pretty much necessary as ai and other bots would push really old threads to the top. reduce weight of view count. disable guest view tracking if you really want to push active threads to the top. a bit of tinkering for a few days with the weights and other settings should get you a decent trending widget box.
  • Ghan Ghan:
    I changed the settings a bit.
  • Ghan Ghan:
    Narrowed it to 7 days for the half-life and set views to 0 weight.
  • The Helper The Helper:
    I dont think Trending would work for this forum it would be better to just have the last 5 posts from anywhere
  • Ghan Ghan:
    Probably will have to give it some time to update.
  • Ghan Ghan:
    I'm guessing it is not retroactive.
  • Ghan Ghan:
    Next on the punch list: Update the server to Ubuntu 24.04.
  • The Helper The Helper:
    Mad Lads is new I see it displays original post date
  • The Helper The Helper:
    as long as it changes it is good - it is good now it updated and its new stuff
  • The Helper The Helper:
    One thing I have noticed and I dont know if it is by design but like 1 out of 3 times I come to the site the Anubis screen just hangs open, if I refresh it will go away but sometimes it hangs
  • Ghan Ghan:
    I've seen that as well.
  • The Helper The Helper:
    Wow - the change in the stats are major. I kind of knew it was all bots but wow, to see the effect. Why the social media sites cant do something like this I have no idea.
  • Ghan Ghan:
    Probably inflates their numbers so they look better to advertisers.
  • The Helper The Helper:
    Yeah google does not filter those bots. I remember when Apex was doing Google ads I saw the same IPs in there as I was seeing here - google is totally tracking all those bots as traffic and most google traffic, at least ours, was all bots
  • The Helper The Helper:
    oh wow, i bet i can post x links now and do the webp pics now giggity
  • The Helper The Helper:
    ahh anubis blocks anyone that has javascript turned off
  • The Helper The Helper:
    Robot: HTTP client library - i love the new robot :)
  • The Helper The Helper:
    New Science News Forum and it starts out with 420 threads :)
  • The Helper The Helper:
    Technical Support forum name changed To Technology News, there is now a Tech, sci/tech and science forums now :)
  • The Helper The Helper:
    Happy Saturday! Hope everyone has a fantastic weekend!
  • Ghan Ghan:
    We are now on Ubuntu 24.04. Had some issues with the style after the OS/PHP upgrade but now resolved.
    +1
  • Ghan Ghan:
    PHP 8.3 now live
    +1

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top