|
Post by steammagic on Nov 4, 2006 21:42:00 GMT -6
Level up schemes-How do they work?
I'm looking at the level up schemes for some of the different critters and I see
Hydra =/level_procedure{pop pop 15}bind def
Cyclops =/level_procedure{pop pop 8}bind def
Ogre = /level_procedure{{-1 -1 -1 -1 10000}calculate_custom_level}bind def
Goblins =/level_procedure{{250 750 2250 6750}calculate_custom_level}bind def
The goblin method is understood as 250 reaches level 2 and 750 reaches level 3 and so forth. Ogre is -1 -1 -1 -1 10000 means it will take 10000 to reach level 6; that ornery lowbrow is purchased at level 5.
When they increase levels I would imagine there is a table somewhere that would add more hp and other stats to the lucky creature. What I'm not getting is "pop pop 15" (or some other number) on the Hydra or Cyclops as well as elsewhere. How does that work?
Thanks
|
|
|
Post by Boaster on Nov 4, 2006 23:10:57 GMT -6
I'm not absolutely sure how the "pop pop ##" works either, however I just know that means the unit is auto-matically that preset level with no experience needed. For some of the units that I've modified, they have the "-1 -1 -1 -1 10000" pattern, or whatever. The -1 means they need no experience for this level. The unit will start at Level 5 and requires 10k experience to reach his 6th level. If you're wanting to modify the stats where the unit levels up, you have to look at "gs/levlmods.gs". Keep in mind, quite a few creatures have had "customized level ups" which will be found near the end of the document. Also, I have done a bit of customizing to the level up mods. For example I made it so that only Champions will benefit from Strength, Dexterity and Wisdom. For non-Champion units, those are just for show AND effect combat abilities (Crushing Blow, Deadly Strike, Piercing Attacks, etc). So be careful what you modify with it. If you make an error, you'll have to retrace your steps. So keep backup copies.
|
|
|
Post by steammagic on Nov 6, 2006 21:43:51 GMT -6
Thank you , I learned from that.
The gs/levlmods.gs seems to have some sort of limits as to what can be done with it. For example, I tried to add 3 more levels to the ogre but it would only let me add 1 more level, (I insured the ogre unit chcr2.gs file was changed as well) otherwise the game would crash on load.
Also I can add no more than 20 hp, if I added 30, (for a total of 70) the combined amount did not reflect in the game, it always showed 60.
Is there some limits and boundaries on what can be added here? ----------------------------------------------------------- chcr2.gs
/level_procedure{{-1 -1 -1 -1 3000 6000}calculate_custom_level}bind def
chcr2[ [0 0 0 0 0 0 0 0 0 0] [0 0 0 0 0 0 0 0 0 0] [0 0 0 0 0 0 0 0 0 0] [0 0 0 0 0 0 0 0 0 0] [0 0 0 0 0 0 0 0 0 0] [0 0 0 10 0 0 0 0 0 0] [0 0 0 20 0 0 0 0 0 0] ]
IS OK
------------------------------------------ /level_procedure{{-1 -1 -1 -1 3000 6000 9000}calculate_custom_level}bind def
chcr2[ [0 0 0 0 0 0 0 0 0 0] [0 0 0 0 0 0 0 0 0 0] [0 0 0 0 0 0 0 0 0 0] [0 0 0 0 0 0 0 0 0 0] [0 0 0 0 0 0 0 0 0 0] [0 0 0 10 0 0 0 0 0 0] [0 0 0 20 0 0 0 0 0 0] [0 0 0 30 0 0 0 0 0 0] ]
crashes game loadup
|
|
|
Post by Boaster on Nov 6, 2006 22:34:45 GMT -6
I really can't say for sure. There would have to be something wrong with another part of the document. Because clearly Lords are going up to Level 15 with level modifiers.
I suppose you could remove all of the SUMMONED_CLASS [ [0 0 0 0 0 0 0 0 0 0] ]
Maybe this will yield some results. Since I added individualized Creature Level modifiers, this really isn't necessary. So you might want to go back where everything was working fine and try removing the mentioned coding. If the game will load with the Summon_Class stuff removed, give your modifications one more try.
Let me know about your results.
|
|
|
Post by steammagic on Nov 10, 2006 19:50:19 GMT -6
YES, this works. However, if I try to add in the cylops from the temple, as another to level up, then it crashes on load again. Hmm there is a lot involved in trying to get this to work
|
|
|
Post by Boaster on Nov 10, 2006 19:54:33 GMT -6
Glad to see some things are working out. A good majority of editing is trial and error. The more you learn about how the game works on the inside the less mistakes you'll make.
I've been at this for two years now and I still learn something new almost every time I edit.
Let me know how you Level up units found in the Great Temple. Can you just sit a champion in the Great Temple to confer experience? If so, what champion. Any other info would be nice as well.
|
|
|
Post by Zrevnur on Nov 17, 2006 15:46:18 GMT -6
Ive had creatures from great temple leveled up by the experience in the magic guild.
|
|
|
Post by Boaster on Nov 17, 2006 19:17:05 GMT -6
Sounds good. I may very well make some adjustments to creatures myself. Such as most creatures in the great temples are level 8 or level 10.
I'm considering allowing them to increase in level like other units. It's not written in stone or anything, just a thought.
|
|