PDA

View Full Version : Problem Modding Armored Princess


zipy
08-15-2009, 05:31 PM
First of all, hello to everyone:) I am a new user here,

Now to the topic. Because Armored Princess forum don't have mod section, I had to post it here.

I changed some values in hero.txt and logic.txt, but only some of them work.
I added one spell for warrior, but it won't appear in the game. At the same time, when I changed warrior haste scroll into learned spell, it was working in the game. I also changed some attributes for mage, like added one point intelligence, and it isn't working either.

I added same leadership gain per level for mage, that warrior is having, but it was working only in beginning. When I loaded game, it wasn't working anymore:(

In logic.txt, I tried to tweak starting gold for normal difficulty- won't work either.
I tried also changing a bit logic_hero.lua file, to get difficulty changed- again nothing happens.

So, for now, I'm little bit confused :confused:

I'm using russian version of the game, what is translated more or less into english(found translated loc_ses.kfs file from armored princess forum)

Any help or pointers are most welcome:)

pcbun
08-15-2009, 07:34 PM
AP have its own logic.txt
extract it from ses.kfs
As even starting scroll wont work, I can make sure that u have done something wrong.

zipy
08-15-2009, 07:43 PM
I used AP's logic.txt. And starting scroll was working, I just changed scroll into learned spell. But when I added resurrection spell to warrior, it didn't work:(
So it was kind of strange, that some of the stuff were working, some not.

pcbun
08-16-2009, 04:10 AM
Most likely you are with typo, and do remember hero.txt affect new game only.

zipy
08-16-2009, 04:35 AM
Checked hero.txt many times, shouldn't have any typos. Starting new game have no effect.

pcbun
08-16-2009, 04:48 AM
Post your amendment here.
I mean, the whole hero_warrior block.

zipy
08-16-2009, 05:07 AM
Here's the original value:

hero_warrior { // ******************** Âîèí ********************
// ñòàðòîâûå ïàðàìåòðû
start {
leadership=180
attack=2
defense=1
intellect=0
mana=10
rage=20
gold=2000
rune_might=5
rune_mind=2
rune_magic=1
crystals=3
book=6
// ñòàðòîâûå óìåíèÿ èçó÷åííûå è íåäîñòóïíûå
skills_open=rage_control //heroism, rage,traning //order,chaos,dist
skills_off=hi_magic,resurrection
army=bowman|3|footman|5|bear|2
spells {
spell_haste=-1
}

items {
time_clock=1
picture_inspirit=1
}
}
// ñëîòû
slots {
// èìÿ_ñëîòà_â_èíòåðôåéñå=òèïû _ïðåäìåòîâ_êîòîðûå_â_íåãî_ìà ®Ã¦Ã­Ã®_ñêëàäûâàòü_ïåðå÷èñëåíà ­Ã»Ã¥_÷åðåç_çàïÿòóþ
// íå çàáûâàåì óêàçûâàòü êàðòèíêè íóæíûõ êîìáèíàöèé â hero.txt -> slot_bgs
1=helmet
2=weapon
3=armor
4=boots
5=regalia,dress
6=weapon,shield
7=belt,gloves
8=artefact
wife=wife
}
// ïðîêà÷êà
level_up {
leadership=20 //60,80
book=1,6 // ðàñòåò íà 1 êàæäûé 6 óðîâåíü
}
k_spirit_up=1.0 // êîýôôèöèåíò íàáèðàíèÿ îïûòà ñïèðèòà
}




Now the changed one:

hero_warrior { // ******************** Âîèí ********************
// ñòàðòîâûå ïàðàìåòðû
start {
leadership=200
attack=2
defense=2
intellect=1
mana=50
rage=30
gold=2000
rune_might=6
rune_mind=3
rune_magic=3
crystals=20
book=8
// ñòàðòîâûå óìåíèÿ èçó÷åííûå è íåäîñòóïíûå
skills_open=rage_control //heroism, rage,traning //order,chaos,dist
skills_off=
army=bowman|3|footman|5|bear|2
spells {
spell_haste=1
spell_resurrection=1
}

items {
time_clock=1
picture_inspirit=1
}
}
// ñëîòû
slots {
// èìÿ_ñëîòà_â_èíòåðôåéñå=òèïû _ïðåäìåòîâ_êîòîðûå_â_íåãî_ìà ®Ã¦Ã­Ã®_ñêëàäûâàòü_ïåðå÷èñëåíà ­Ã»Ã¥_÷åðåç_çàïÿòóþ
// íå çàáûâàåì óêàçûâàòü êàðòèíêè íóæíûõ êîìáèíàöèé â hero.txt -> slot_bgs
1=helmet
2=weapon
3=armor
4=boots
5=regalia,dress
6=weapon,shield
7=belt,gloves
8=regalia,artefact
wife=wife
}
// ïðîêà÷êà
level_up {
leadership=30 //60,80
book=1,6 // ðàñòåò íà 1 êàæäûé 6 óðîâåíü
}
k_spirit_up=1.2 // êîýôôèöèåíò íàáèðàíèÿ îïûòà ñïèðèòà
}

pcbun
08-16-2009, 06:01 AM
It must work, at least my copy work. Make sure u place it at the correct directory and no duplicate copy of hero.txt found in the data directory. If all checked, I dun know the reason either.

zipy
09-08-2009, 05:26 PM
hello again,

I were away for a while, but i found out what my problem was. Hero.txt, spells.txt and logic.txt were ok, but when i changed companions.txt and medals.txt and but them all into mods folder and into one mod file, it didn't work. But when i took last two out, the other ones began working. It seems to me that medals.txt and companions.txt can't be changed.