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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 08-30-2013, 06: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
 


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 10:27 PM.


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