Hi forum - I came back after a few years to play VC now and of course I'm modding it.
So i got the source for v2.023 from: https://forums.taleworlds.com/index.php/topic,348186.msg8336550.html#msg8336550
I have of course v2.023 installed from steam (duh)
I am trying to add some items. The problem is that I get the "unexpected end of file in item_kinds1.txt" with the "RGL error" header.
I have tried adding items with morgh's tool adding them directly into the txt file = crash.
I have now tried adding items with the module system source = crash.
I even copy an existing item and only rename it and change the price/damage/etc and still = crash.
Here's some module code I added, which crashes the game:
I copied the entry directly from the "Olvir's Sword" which is:
You can see the differences - which arent many.
And it crashes???
(ignore the "imodbits_good_wep" vs "imodbits_sword" - I added the previous constant at the top of the source file to just allow good mods and not bad ones - it works fine, I tested it on a few vanilla entries)
Can anyone figure out why this is crashing???
Spent all night trying to figure this out.
Adding item directly into txt or source still crashes it.
So i got the source for v2.023 from: https://forums.taleworlds.com/index.php/topic,348186.msg8336550.html#msg8336550
I have of course v2.023 installed from steam (duh)
I am trying to add some items. The problem is that I get the "unexpected end of file in item_kinds1.txt" with the "RGL error" header.
I have tried adding items with morgh's tool adding them directly into the txt file = crash.
I have now tried adding items with the module system source = crash.
I even copy an existing item and only rename it and change the price/damage/etc and still = crash.
Here's some module code I added, which crashes the game:
Code:
["itm_1h_sword_master", "xBane_of_Hel", [("Sword52_Runesword",0)], itp_merchandise|itp_type_one_handed_wpn|itp_primary|itp_no_blur, itc_longsword|itcf_carry_sword_left_hip,
5000 , weight(1)|abundance(100)|difficulty(12)|spd_rtng(100) | weapon_length(120)|swing_damage(45 , cut),imodbits_good_wep,
[], [fac_kingdom_1, fac_kingdom_2, fac_kingdom_3, fac_kingdom_4, fac_kingdom_5, fac_kingdom_6, fac_kingdom_7, fac_kingdom_8, fac_kingdom_9, fac_kingdom_10, fac_kingdom_11, fac_kingdom_12, fac_kingdom_13, fac_kingdom_14, fac_kingdom_15, fac_kingdom_16, fac_kingdom_17, fac_kingdom_18, fac_kingdom_19, fac_kingdom_20, fac_kingdom_21]],
I copied the entry directly from the "Olvir's Sword" which is:
Code:
["sword_of_war", "Olvir's Sword", [("Sword52_Runesword",0),("Scabbard52", ixmesh_carry)], itp_type_one_handed_wpn|itp_primary|itp_no_blur, itc_longsword|itcf_carry_sword_left_hip|itcf_show_holster_when_drawn,
8960 , weight(1.25)|difficulty(7)|spd_rtng(92) | weapon_length(81)|swing_damage(28 , cut) | thrust_damage(22 , pierce),imodbits_sword],
You can see the differences - which arent many.
And it crashes???
(ignore the "imodbits_good_wep" vs "imodbits_sword" - I added the previous constant at the top of the source file to just allow good mods and not bad ones - it works fine, I tested it on a few vanilla entries)
Can anyone figure out why this is crashing???
Spent all night trying to figure this out.
Adding item directly into txt or source still crashes it.