View Single Post
  #2  
Old 01-21-2010, 07:41 AM
xsyron xsyron is offline
Registered Member
 
Join Date: Jan 2010
Posts: 7
Default

Hi, I am thinking that those you try to modify are the starting values. Which further multiplied by the difficulty setting as defined in logic.txt.

the | signifies easy|normal|hard|impossible multipliers:
start_gold=5.0|1.0|1.00|1.0 // íà÷àëüíûé êîýô. çîëîòà
start_crystals=5.0|1.0|1.00|1.0 // íà÷àëüíûé êîýô. êðèñòàëëîâ
start_mana=2.0|1.0|1.00|1.0 // íà÷àëüíûé êîýô. ìàíû
start_rage=2.0|1.0|1.00|1.0 // íà÷àëüíûé êîýô. ÿðîñòè
start_rune_might=3.0|1.0|1.00|1.0 // íà÷àëüíûé êîýô. ðóí ñèëû
start_rune_mind=3.0|1.0|1.00|1.0 // íà÷àëüíûé êîýô. ðóí äóõà
start_rune_magic=3.0|1.0|1.00|1.0 // íà÷àëüíûé êîýô. ðóí ìàãèè
start_book=3.0|1.0|1.00|1.0 // íà÷àëüíûé êîýô. ðàçìåð êíèãè

so if you change in hero.txt the value of starting might runes to 20, and you play the game in easy this will be multiplied by 3.0, starting with 60 might runes in easy and 20 in every other difficulty setting.

The levelup values concearning the runes are handled by logic_hero.lua which you can find also inside ses.kfs

the part which alters levelup runes is this:

rune_war={"6,4,2","5,5,2","6,3,3","7,4,1"}
rune_pal={"3,6,3","2,7,3","3,5,4","4,6,2"}
rune_mag={"2,4,6","1,5,6","2,3,7","3,4,5"}

changing these values change the runes you get every level

To answer your second question you can begin the game with any spell or any item you like

for example in hero.txt in the warrior section:

spells {
spell_haste=-1
}

this mean that the warrior has haste as a scroll, you can see the spell names in spells.txt and add as many starting spells as u like.

in example to begin with level 1 haste,bless and healing you'd made the change:

spells {
spell_haste=1
spell_bless=1
spell_healing=1
}

The same goes for items:

items {
time_clock=1
picture_inspirit=1
}

to see item codes visit items.txt

hope didnt confuse you much with my poor english :p
Reply With Quote