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: Crossworlds > Mods

Mods King's Bounty: Crossworlds Mods

Reply
 
Thread Tools Display Modes
  #1  
Old 08-23-2013, 10:19 AM
TheGsProds TheGsProds is offline
Approved Member
 
Join Date: Feb 2011
Posts: 17
Default Please help with item edition

Hi guys, i´m trying to make new items and edit others.

I know how to create the new items but i don´t know how to write the characteristics in the game, i cannot find tihs archives to write a description for the item, so the item appears and give the attributes but i don´t know how to make the information appear

hint_config=object_item
label=itm_ancient_ring_name
hint=itm_ancient_ring_hint
information_label=itm_ancient_ring_info

I hope you can help me, thank you so much.
Reply With Quote
  #2  
Old 08-28-2013, 05:14 AM
MattCaspermeyer MattCaspermeyer is offline
Approved Member
 
Join Date: Aug 2010
Posts: 553
Default That Information Goes in *.LNG File

That information you can put in a file with the LNG extension.

If you look for ENG_ITEMS.LNG in your LOC_SES.KFS file located in AP_DIR\sessions\addon folder for AP or your ORCS.KFS file located in AP_DIR\sessions\orcs folder for CW you'll see these types of labels used for various items.

Just copy them over to your new LNG file, change the names to match your names and change the descriptions and you'll be good to go.

Just note that there is an item limit so don't add more than about 50 new items otherwise you'll run into trouble with CW (you can add more with AP, but it has the same limitation).

Good luck!

Matt

/C\/C\
Reply With Quote
  #3  
Old 08-29-2013, 05:47 PM
TheGsProds TheGsProds is offline
Approved Member
 
Join Date: Feb 2011
Posts: 17
Default

Thank so much Matt, I´m going to try it
Reply With Quote
  #4  
Old 08-29-2013, 09:10 PM
TheGsProds TheGsProds is offline
Approved Member
 
Join Date: Feb 2011
Posts: 17
Default

It works absolutely perfect Matt, thank you very much.

I have another question, i want to upgrade the item after 300 victories. Do you know how could i do that?
Reply With Quote
  #5  
Old 08-30-2013, 07:00 AM
MattCaspermeyer MattCaspermeyer is offline
Approved Member
 
Join Date: Aug 2010
Posts: 553
Default I think so...

Quote:
Originally Posted by TheGsProds View Post
It works absolutely perfect Matt, thank you very much.

I have another question, i want to upgrade the item after 300 victories. Do you know how could i do that?
Glad it worked for you!

You want the item to be able to be upgraded to another item after 300 victories?

Automatically?

If it is automatic then you need to study life_shield_1 through 4 as they automatically upgrade / downgrade based on a random value that increases / decreases based on where the item is (i.e. in your backpack versus wearing it). Essentially you increment the victory counter after a successful victory (After Fight Event), and once the victory exceeds the value a script is executed to automatically upgrade the item.

If you want to do it manually, create a use condition and then add an On Use event that upgrades the item after the use condition enables the item to be used.

Do you use the editor? Look at the life_shield_1 through 4 items in the editor to get a feel for an item that automatically upgrades itself after a condition. Also look at ancient_amulet and intellect_ring_1 for examples of items that allow them to be used after a certain number of victories. The editor is the easiest way to implement things with items when it comes to victories. Just note that adding new items to ITEMS.TXT requires a restart to allow the new items you've created a chance to generate during the new game creation.

If you have any more questions, feel free to ask!



/C\/C\
Reply With Quote
  #6  
Old 08-30-2013, 09:41 AM
TheGsProds TheGsProds is offline
Approved Member
 
Join Date: Feb 2011
Posts: 17
Default

Quote:
Originally Posted by MattCaspermeyer View Post
Glad it worked for you!

You want the item to be able to be upgraded to another item after 300 victories?

Automatically?

If it is automatic then you need to study life_shield_1 through 4 as they automatically upgrade / downgrade based on a random value that increases / decreases based on where the item is (i.e. in your backpack versus wearing it). Essentially you increment the victory counter after a successful victory (After Fight Event), and once the victory exceeds the value a script is executed to automatically upgrade the item.

If you want to do it manually, create a use condition and then add an On Use event that upgrades the item after the use condition enables the item to be used.

Do you use the editor? Look at the life_shield_1 through 4 items in the editor to get a feel for an item that automatically upgrades itself after a condition. Also look at ancient_amulet and intellect_ring_1 for examples of items that allow them to be used after a certain number of victories. The editor is the easiest way to implement things with items when it comes to victories. Just note that adding new items to ITEMS.TXT requires a restart to allow the new items you've created a chance to generate during the new game creation.

If you have any more questions, feel free to ask!



/C\/C\
I do it manually but upgrading items it´s so hard to me. I would like to create an item that begins with -1 speed and morale to all units and after 300 victories it upgrades to a really great item but i don´t know how to do that.

Your explanations are really useful but I´m so ankward with PC operations.

Anyway, thank you so much for your time and your help.

Nice to talk to you
Reply With Quote
  #7  
Old 08-31-2013, 06:16 AM
MattCaspermeyer MattCaspermeyer is offline
Approved Member
 
Join Date: Aug 2010
Posts: 553
Default The Editor can help you...

Quote:
Originally Posted by TheGsProds View Post
I do it manually but upgrading items it´s so hard to me. I would like to create an item that begins with -1 speed and morale to all units and after 300 victories it upgrades to a really great item but i don´t know how to do that.

Your explanations are really useful but I´m so ankward with PC operations.

Anyway, thank you so much for your time and your help.

Nice to talk to you
I think if you played with the editor and checked out some of the items I mentioned you may get how it works and can create a new session in the editor, create your item, and then paste it into the CW ITEMS.TXT that you are modding.

I think that is your best bet, otherwise working with the items without the editor is really tricky.

Good luck!

/C\/C\
Reply With Quote
  #8  
Old 08-31-2013, 09:45 AM
TheGsProds TheGsProds is offline
Approved Member
 
Join Date: Feb 2011
Posts: 17
Default

Quote:
Originally Posted by MattCaspermeyer View Post
I think if you played with the editor and checked out some of the items I mentioned you may get how it works and can create a new session in the editor, create your item, and then paste it into the CW ITEMS.TXT that you are modding.

I think that is your best bet, otherwise working with the items without the editor is really tricky.

Good luck!

/C\/C\
¿The editor is only available on AP? I can´t find the editor in CW
Reply With Quote
  #9  
Old 08-31-2013, 07:44 PM
MattCaspermeyer MattCaspermeyer is offline
Approved Member
 
Join Date: Aug 2010
Posts: 553
Exclamation Editor has its own section under CW

Quote:
Originally Posted by TheGsProds View Post
¿The editor is only available on AP? I can´t find the editor in CW
Actually its only available with CW so you should have it, but you have to download some additional stuff since some places where you purchase it don't include everything.

See this post:

http://forum.1cpublishing.eu/showthread.php?t=16706

And there is a whole section devoted to the CW Editor:

http://forum.1cpublishing.eu/forumdisplay.php?f=184

The editor is buggy and tends to crash a lot (at least on my computer), but it is a great way to get started with altering the game files especially if you're not much of a code person. After you launch the editor, load a session, then a map, and then go to Sessions -> Items to start looking at items. They are listed alphabetically by their names in ITEMS.TXT. Also pay attention to the includes at the beginning of ITEMS.TXT:
  1. ==medals.txt
  2. ==hidden.txt
  3. ==spells.txt // include
  4. ==spells_adventure.txt // include
  5. ==specials.txt // include
  6. ==boss.txt // include
  7. ==effects.txt // include
  8. ==companion.txt // include
  9. ==items_quest.txt
  10. ==items_monster.txt
  11. ==params.txt
  12. ==special_params.txt
  13. ==new_specials.txt
  14. ==new_spells.txt
  15. ==arena_spells.txt
Note that MEDALS, HIDDEN, COMPANION, ITEMS_QUEST, and ITEMS_MONSTER all include items that are aggregated in Sessions -> Items when you pull it up in the editor so you can literally page through all the items in the game and double click an item to start editing it (or at least perusing how its capabilities are implemented).

You'll find that MEDALS are just items that are added to your hero when you attain that medal and HIDDEN includes the pet dragon bonuses as well as the adventure spell bonuses so these are both good things to add to your list of items to look at in the editor.

Let me know if you have any more questions!



/C\/C\
Reply With Quote
  #10  
Old 09-03-2013, 06:46 PM
TheGsProds TheGsProds is offline
Approved Member
 
Join Date: Feb 2011
Posts: 17
Default

Thank so much again and again and again... haha!

I´m going to download this archives but in my KBCW doesn´t appear the Editor, or maybe i don´t know where it is. The editor appears when y launch the game or it should be in a folder??
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 05:09 AM.


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