Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > King's Bounty > King's Bounty: Armored Princess > Mods

Mods Armored Princess mods

Reply
 
Thread Tools Display Modes
  #1  
Old 01-10-2010, 01:46 PM
cabal2k cabal2k is offline
Approved Member
 
Join Date: May 2009
Posts: 32
Default Add morale Bonus to (as example) Giants for dwarves

Hi again,

first let me explain: The Guardsman give a moralebonus to swordsmen and archers if they are put together in one army.

Now my idea is to do this for others units: As example we took the giant. My idea was to give them a +1 moral bonus to all dwarve units when they in the army.

But how to make it? In the footman2.atom file from the guardsman i don't found something that give conclusion what to edit in the giant.atom. I think its the feature "commander"..but where to edit this?

Problem is when i give the giants the "commander" feature they boost morale to swordsman and archers, but i will edit this feature that it gives although +1 morale to miners,foreman,dwarves and cannoneers.

Have anyone an idea where i found this?

Thanks in advance
Reply With Quote
  #2  
Old 01-10-2010, 04:12 PM
rancor26 rancor26 is offline
Approved Member
 
Join Date: Jun 2009
Posts: 206
Default

Morale.txt is the file you are looking for, it can be found in ses.kfs:

Reply With Quote
  #3  
Old 01-11-2010, 08:57 AM
cabal2k cabal2k is offline
Approved Member
 
Join Date: May 2009
Posts: 32
Default

thanks man

And can you tell me although where i can change the text that it stands in the unit description ingame?

Last edited by cabal2k; 01-11-2010 at 09:01 AM.
Reply With Quote
  #4  
Old 01-11-2010, 11:27 PM
cabal2k cabal2k is offline
Approved Member
 
Join Date: May 2009
Posts: 32
Default

Hmm, changes have no result, any idea?

The edited Line looks like this:

}
giant {
alchemist,cannoner,dwarf,miner,miner2=+1,hint_mora le_giant //Ïðèñóòñòâèå Ãèãàíòîâ â àðìèè. Ìîðàëü +1
}

But no effect on the units if a giant is in the army....
Reply With Quote
  #5  
Old 01-14-2010, 07:51 AM
iycgtptyarvg iycgtptyarvg is offline
Approved Member
 
Join Date: Sep 2008
Posts: 18
Default

Not sure, but I think this might be it:

You wrote:
hint_mora le_giant
It should be:
hint_morale_giant
Reply With Quote
  #6  
Old 01-14-2010, 11:54 AM
cabal2k cabal2k is offline
Approved Member
 
Join Date: May 2009
Posts: 32
Default

Its only a copy&paste error, thats not the fault

Any other idea?
Reply With Quote
  #7  
Old 01-14-2010, 03:24 PM
The Rider The Rider is offline
Approved Member
 
Join Date: Jun 2008
Posts: 76
Default

maybe there is a collision between the negative morale line for emerald dragons (-2 when giants in army) and that line. Not sure if it is not a copy-paste error but the command line should be like this:
Quote:
giant {
alchemist,cannoner,dwarf,miner,miner2=+1,hint_mora le_commander
}
and not like this
Quote:
}
giant {
alchemist,cannoner,dwarf,miner,miner2=+1,hint_mora le_giant
}
because with the first } you are closing the unit2unit tag. you can skip also the text after the // since it is only a text comment. Also for the hint it is better to use hint_morale_commander than hint_morale_giant. The first one says "Commander presence" and the second one is used for the negative morale for the emerald dragons.
here is a larger example for unit2unit:
Quote:
unit2unit {
knight {
knight=+1,hint_morale_knight0 // повышенная мораль
}
greendragon,blackdragon,reddragon {
gorguana,gorguana2,gobot,gobot2,chosha,brontor,dig ged_brontor,highterrant,tirex=-1,hint_morale_dragon // Драконы в армии, Ящеры их ненавидят и взаимно.
}
greendragon,blackdragon,reddragon,bonedragon {
griffin2=-2,hint_morale_dragon
}
tirex {
gorguana,gorguana2,gobot,gobot2,chosha,brontor,dig ged_brontor,highterrant=+1,hint_morale_tirex // Ящер-Защитник
}
robber, robber2 {
peasant,bowman,footman,priest=-1,hint_morale_robber //Присутствие разбойников в армии. Мораль -1
}
footman2 {
bowman,footman=+1,hint_morale_commander //Присутствие командира в армии. Мораль +1
}
giant {
greendragon=-2,hint_morale_giant //Присутствие Гигантов в армии. Мораль -2
}
greendragon {
giant=+1,hint_morale_green //Присутствие Изумрудных Драконов в армии. Мораль +1
}
giant {
alchemist,cannoner,dwarf,miner,miner2=+1,hint_mora le_commander
}

blackknight {
archer,Skeleton,zombie,zombie2,ghost,ghost2,vampir e,vampire2,bat,bat2,necromant,spider_undead,bonedr agon=+1,hint_morale_commander //Присутствие Полководца Тьмы в армии. Мораль +1
}
dryad {
thorn,thorn_warrior,kingthorn,ent,ent2=+1,hint_mor ale_driad //Присутствие дреесной феи в армии. Мораль +1
}
ogre {
shaman,orc,orc2,goblin,goblin2,catapult=+1,hint_mo rale_commander //Присутствие командира в армии. Мораль +1
}
druid {
dryad,elf2,elf,ent2,ent,sprite_lake,sprite,unicorn 2,unicorn,werewolf,wolf=+1,hint_morale_druid //Присутствие командира в армии. Мораль +1
}
unicorn {
dryad,sprite_lake,sprite=+2,hint_morale_unicorn
}
griffin2 {
griffin,griffin_spirit,archmage,bowman,footman,foo tman2,horseman,knight,peasant,priest,priest2,robbe r,robber2,paladin=+1,hint_morale_griffin //Присутствие королевского грифона в армии. Мораль +1
}
}
I checked this and it works just fine.
edit: dont know why this forum makes slight changes to the code adding blank spaces in some words. If you are using the KBmasterMod make the changes in the mod file, not in the session.kfs

Last edited by The Rider; 01-14-2010 at 03:28 PM.
Reply With Quote
  #8  
Old 01-15-2010, 11:04 AM
cabal2k cabal2k is offline
Approved Member
 
Join Date: May 2009
Posts: 32
Default

Quote:
Originally Posted by The Rider View Post
If you are using the KBmasterMod make the changes in the mod file, not in the session.kfs
Thats it, thanks dude.

Shame on me that i don't notice this by myself
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:52 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.