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-27-2011, 09:59 AM
Fatt_Shade Fatt_Shade is offline
Approved Member
 
Join Date: Nov 2010
Location: Serbia
Posts: 837
Default

I finaly figured out what caused problem i mentioned in first post on 4th page of this tread, about instantly killing every troop with 1 hit (1 peasant killing 2 EGD for instance).
It`s something with skill.txt skill.lua and eng_skill.lng files. As soon i learned 1 lvl of dark commander in might tree, this problem started.
Bladeking you also said you encountered this problem before, so just to let you know what caused it. As for fixing it i have no idea how

Last edited by Fatt_Shade; 08-27-2011 at 11:51 AM.
Reply With Quote
  #2  
Old 08-29-2011, 08:27 AM
infernal1800 infernal1800 is offline
Approved Member
 
Join Date: Jun 2011
Posts: 93
Post

Quote:
Originally Posted by Fatt_Shade View Post
I finaly figured out what caused problem i mentioned in first post on 4th page of this tread, about instantly killing every troop with 1 hit (1 peasant killing 2 EGD for instance).
It`s something with skill.txt skill.lua and eng_skill.lng files. As soon i learned 1 lvl of dark commander in might tree, this problem started.
Bladeking you also said you encountered this problem before, so just to let you know what caused it. As for fixing it i have no idea how
I also had this problem, but it is special_attacks.lua instead of "skills" files or dark commander as you said. I've created new custom talents and forget to add some "local =" so that the talent is incorrect. Making the creature who has this talent always 1 hit kill

btw, I have a warning for any person who want to create new talents for monsters like bladeking77 ( e.g "sapphire scale" of Azure Dragon) You have to edit arena.lua file to create a "guide" for AI of the enemy or they will never use this talent even it available for use. There are some talent dont require doing this but most of talent which we have to create in the special_attacks.lua or addon_special_attacks.lua require editing arena.lua for AI usage

Last edited by infernal1800; 08-29-2011 at 08:30 AM.
Reply With Quote
  #3  
Old 08-29-2011, 10:46 AM
Fatt_Shade Fatt_Shade is offline
Approved Member
 
Join Date: Nov 2010
Location: Serbia
Posts: 837
Default

Thx for this infernal, i wanted to add champions to red sands, but had no idea how. Also i`ll try to give them push like cyclops skill so they have some active skill like any other 5th lvl unit.
As for my problem with 0dmg - 1 hit kill, i didnt change any special_attack in game, started normaly fought couple battles on debir, kited to verona to see what`s available and on my way back took 1 lvl dark commander and first fight after that problem started without any changinig by my to game files. I`m not saying you didnt have same problem but with other reason then me. Since editor is buged and crash like crazy, players started moding game files by hounch and from mod to mod some problems carry around. Just look my last post on this page, and consider this are from official KB-AP file without any player moding :
http://forum.1cpublishing.eu/showthr...t=25587&page=4
Reply With Quote
  #4  
Old 09-09-2011, 05:41 PM
Fatt_Shade Fatt_Shade is offline
Approved Member
 
Join Date: Nov 2010
Location: Serbia
Posts: 837
Default

I`ve tried to make new composite item but got stuck, if any1 who did this before see problem in my changes pls advice to fix it. Here`s what i`ve added in items.txt
Code:
sacrificial_chest {
  category=o
  image=heroitem_gefestion_bag.png
  hint_config=object_item
  label=itm_sacrificial_chest_name
  hint=itm_sacrificial_chest_hint
  information_label=itm_sacrificial_chest_info
  maphint=
  mapinfo=
  atoms {
    1 {
      atom=
      lu=template_item_mb
      label=
    }
  }
  price=90000
  maxcount=0
  level=5
  race=human
  use {}
  mods {
    sp_addexp_spirit=count,15
    sp_addexp_battle=count,15
  }
  propbits=artefact,usable,rare
  params {}
  actions {
    onuse=200000000000000020000000100000001000000020000000E000000455845435554455F53435249505402000000030000000300000005000000666E616D650C0000007365745F69746D5F6E616D65030000007061720B00000077696E6E65725F62656C7402000000070000004D425F53484F57050000000200000005000000030000000400000004000000050000006C6162656C1200000067006C006F0062007300740072005F0031003700300039003400380037003400340033000300000066727A03000000030000006C756E050000002473656C66030000006E7965E8030000030000006E6E6FFFFFFFFF
    onupg=60000000000000000000000
    apacify=60000000000000000000000
    custom0=2000000000000000400000001000000010000000100000001000000020000000C000000464C5553485F454D4252594F02000000050000000500000002000000617586100C3A02000000696E09000000020000000C000000464C5553485F454D4252594F02000000050000000500000002000000617586100C3A02000000696E0A000000020000000C000000464C5553485F454D4252594F02000000050000000500000002000000617586100C3A02000000696E0B000000020000000B00000052454D4F56455F4954454D03000000030000000500000003000000030000005441470B00000077696E6E65725F62656C7403000000434E5401000000030000004F574E05000000246865726F
    @=0
  }
}
I used png file for chest you dig up on scarlet wind island in base of statue of warrior(for quest from nameless island). In eng_items.lng i added description in this form :
Code:
itm_sacrificial_chest_name=Sacrificial chest
itm_sacrificial_chest_taken=^?^
itm_sacrificial_chest_minfo=^?^
itm_sacrificial_chest_mhint=^?^
itm_sacrificial_chest_info=^?^A powerful artefact, created over a thousand years ago. Used by best army commanders who sought personal growth, instead material gain.<br><br><font=ft1_14><color=254,249,118>Consists of:<br>- Shark's Tooth<br>- Memoirs of the Marshal<br>- Magnifying Glass
itm_sacrificial_chest_hint=^?^Chest for offering gold to needie, but gaining so much more in return.<br>[s]+15% hero and pet dragon exp in battle<br>[sys]Special: [d]a composite artefact.<br>[sys]Use: [d]breaks the artifact into its respective pieces.
Reply With Quote
  #5  
Old 09-09-2011, 08:04 PM
zini4_tha_grunt zini4_tha_grunt is offline
Approved Member
 
Join Date: Dec 2009
Posts: 83
Default

Quote:
As for my problem with 0dmg - 1 hit kill
This bug comes from the arena.lua apply_damage(...) function.
Try running game in debug mode - launch game with paramter -dev.
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 07:18 PM.


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