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 12-11-2009, 11:39 PM
blacklegionary blacklegionary is offline
Approved Member
 
Join Date: Oct 2008
Posts: 55
Default

You are right, you need to convert it back to *.loc for the game to recognize it . The 2nd line in the editor menu will do the job, and i don't think a new *.embryos.loc file will work, each of these file is used for certain location, ie: debir,embryos.loc is used for the upper ground area of Debir. Well as for the shop data let's have a look .
*The entire information for a shop's slot should look like this :

{Y}{-N/A-}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{0} // 1 elements
{
{Y}{units}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{1} // 1 elements
{
{Y}{-N/A-}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{0} // 5 elements
{
{A}{races} = {}
{A}{units} = {beholder,100:5:300,beholder2,100:5:300,bear2,100: 5:300,graywolf,100:5:300}
{A}{level} = {}
{A}{kolvo} = {}
{U}{prob} = {10}
}
}
}

It means this slot can have 100-300 beholder, evil beholder (which codename is beholder2 if some1 don't know), ancient bear (codename bear2) and gray wolf. The number 5 put between them mean the number will always be able to divide for 5.If you see something like this:
{Y}{-N/A-}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{0} // 1 elements
{
{Y}{units}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{1} // 1 elements
{
{Y}{-N/A-}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{0} // 5 elements
{
{A}{races} = {demon}
{A}{units} = {beholder,100:5:300,beholder2,100:5:300,bear2,100: 5:300,graywolf,100:5:300}
{A}{level} = {2:5}
{A}{kolvo} = {100:200}
{U}{prob} = {10}
}
}
}

It mean this slot may have 100-200 demon unit lv 2-5 as well as those troops listed before. If remove the info in the unit line then this slot can only have demon unit lv 2-5. The kolvo line is used to determine the number of troops may appear if it's not in the unit line. Now about this prob line, first let's have a look at this :
{Y}{-N/A-}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{0} // 1 elements
{
{Y}{units}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{1} // 2 elements
{
{Y}{-N/A-}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{0} // 5 elements
{
{A}{races} = {undead}
{A}{units} = {thorn,1000:10:3000,thorn_warrior,1000:10:3000,kin gthorn,20:50,hyena,1000:10:3000}
{A}{level} = {1:2}
{A}{kolvo} = {200:500}
{U}{prob} = {10}
}
{Y}{-N/A-}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{0} // 5 elements
{
{A}{races} = {}
{A}{units} = {}
{A}{level} = {}
{A}{kolvo} = {}
{U}{prob} = {10}
}
}
}
It means this slot can have 1000-3000 thorn warrior, thorn hunter, hyena, 20-50 royal thorn OR it can be a blank slot. Let's look at another example:
{Y}{-N/A-}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{0} // 1 elements
{
{Y}{units}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{1} // 3 elements
{
{Y}{-N/A-}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{0} // 5 elements
{
{A}{races} = {undead}
{A}{units} = {}
{A}{level} = {1:2}
{A}{kolvo} = {500:1000}
{U}{prob} = {10}
}
{Y}{-N/A-}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{0} // 5 elements
{
{A}{races} = {undead}
{A}{units} = {}
{A}{level} = {3}
{A}{kolvo} = {200:500}
{U}{prob} = {10}
}
{Y}{-N/A-}, F_SORTED{0}, F_COMPACT_TAGS{1}, F_NONAMES{0} // 5 elements
{
{A}{races} = {undead}
{A}{units} = {}
{A}{level} = {4}
{A}{kolvo} = {10:30}
{U}{prob} = {10}
}
}
}

It means this slot can have 1000-2000 undead unit lv 1-2 or 200-500 lv 3 undead or 10-30 level 4 ones (this suck imo), not all of them. The prob line is used in these condition, the higher the prob value the higher the chance it will appear in a lot. If you want to add a new slot to the shop remember to check it carefully, it must end with 3 }, the embryos.loc file is often long so it's not easy to find the error and fix it. If you habe anymore questions just ask, I'll try to answer.
Note: rancor misunderstand me, I mean most of the crap units lv 1-2 are human/neutral (ie:bowman, swordsman, robber, dragon fly,hyena, spider...) not the entire human race is crap, those knight, paladin along with black knight on the other hand is too strong (although very expensive so they're worth the price) in player's hand while they can be easily isolated in the AI's command .
Reply With Quote
  #2  
Old 12-13-2009, 03:29 AM
jaylo101's Avatar
jaylo101 jaylo101 is offline
Approved Member
 
Join Date: Oct 2008
Posts: 34
Default

@blacklegionary
Your mod is exactly what i was planning to do, good job.
I have made a couple of changes in my game though. I don't know if it was a mistake but you left out the druid from the elven roster, so i added that & as it's a "use whatever race you want from the begining" mod i feel that you should be able to choose all units from that race so the 50\50 chance race units i made both 100% available.
__________________
Finest casual Dating
Reply With Quote
  #3  
Old 12-13-2009, 06:12 AM
rancor26 rancor26 is offline
Approved Member
 
Join Date: Jun 2009
Posts: 206
Default

So if i add all races to the race section does that basically mean that all units can be in that shop?

Last edited by rancor26; 12-13-2009 at 08:46 AM.
Reply With Quote
  #4  
Old 12-13-2009, 07:51 AM
CurtisJasper CurtisJasper is offline
Approved Member
 
Join Date: Nov 2008
Posts: 28
Default

Thanks blacklegionary. Is it also possible to change the quest triggers that add units to castles?
Reply With Quote
  #5  
Old 12-13-2009, 11:30 AM
rancor26 rancor26 is offline
Approved Member
 
Join Date: Jun 2009
Posts: 206
Default

I was also wondering where's the file that contains army spawns? i would like to edit that one also

EDIT: oh i see, they are in the same file

Last edited by rancor26; 12-13-2009 at 11:55 AM.
Reply With Quote
  #6  
Old 12-13-2009, 12:41 PM
rancor26 rancor26 is offline
Approved Member
 
Join Date: Jun 2009
Posts: 206
Default

Alright this is really pissing me off now i edited debir.embryos file after changing it to .txt file for about one hour and then i tried to change it back to .loc file and it gave me this error:

I have tried changing back to loc previously already and it worked without problems so why i get this error now? Someone help please i really don't want to spend another hour to edit the file again
Reply With Quote
  #7  
Old 12-14-2009, 10:00 AM
mnorbi75 mnorbi75 is offline
Approved Member
 
Join Date: Nov 2009
Posts: 8
Default

guys, plz tell me how can i use this editor. i mean i just see ???????? as you write it before . You write you can use it . how possible this ? plz write (i use/installed russian language pack )
Reply With Quote
  #8  
Old 05-16-2010, 12:29 AM
Lynxs1981 Lynxs1981 is offline
Registered Member
 
Join Date: May 2010
Posts: 1
Default

Do changes made here only show up on new games? I've tried making changes but they don't show up when I'm playing.
Reply With Quote
  #9  
Old 05-18-2010, 09:50 AM
rancor26 rancor26 is offline
Approved Member
 
Join Date: Jun 2009
Posts: 206
Default

Quote:
Originally Posted by Lynxs1981 View Post
Do changes made here only show up on new games? I've tried making changes but they don't show up when I'm playing.
Yes you need to start a new game to make them work.
Reply With Quote
Reply

Thread Tools
Display Modes

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 05:30 PM.


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