View Full Version : Problem Modding Armored Princess
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.
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.
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.
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.
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.
vBulletin® v3.8.4, Copyright ©2000-2024, Jelsoft Enterprises Ltd.