Cloning items,not appearing in shops

Users who are viewing this thread

Im having a little trouble cloning items and getting them to appear in shops.
So far ive been able to add some armour  but i just cant seem to get a weapon to appear,heres what i did.

itm_military Soldier's_Bane Soldier's_Bane 1  military_cleaver_b 0  4259842 9223388529822793742 193 155668 1.500000 100 0 0 0 0 31744 120 0 120 0 256 31
0
0

I tested it over a game month and i cant see the reason it wont appear,i dont know how to use the module system so i just wing it by hand most of the time which is how i have done it in the past.

Im also keen to put a cloned horse into the game,but first off id like to get this working.
 
itemsfile version 3
599
itm_no_item INVALID_ITEM INVALID_ITEM 1............

Did you change the red number to reflect the change in the number of items? I'm not really a modder, but looking at modules that have new stuff that number is always different.

Well, that's my two cents......


*edit Ok saw that you successfully added armor, so disregard the last part. Is it an exact copy of another item, with the name changed?

*edit again....So it turns out I was right.....

itemsfile version 3
599
itm_no_item INVALID_ITEM INVALID_ITEM 1............

Did you change the red number to reflect the change in the number of items? I'm not really a modder, but looking at modules that have new stuff that number is always different.

 
This is the original

itm_military_cleaver_b Soldier's_Cleaver Soldier's_Cleaver 1  military_cleaver_b 0  4259842 9223388529822793742 193 155668 1.500000 100 0 0 0 0 31744 96 0 95 0 256 31
0
0

---------------------------------------------------------------------------------------------------------------------------

This is my added "clone"

itm_military Soldier's_Bane Soldier's_Bane 1  military_cleaver_b 0  4259842 9223388529822793742 193 155668 1.500000 100 0 0 0 0 31744 120 0 120 0 256 31
0
0


I copy pasted it from the original and added it just above the 
itm_items_end Items_End Items_End 1  shield_round_a 0  0 0 1 0 0.000000 100 0 0 0 0 0 0 0 0 0 0 0
0
0

I had the same problem adding stuff with mods from the original M&B that used an "end items" at the bottom of the item.txt.

Edit: ive just realised what you meant by 599 and no ive never changed that and i expect thats the answer,i`ll have a little play with that now and see how i get on,i`ll report back shortly
 
Hi there! The first line in item_kinds1.txt reads 599. That is the number of total entries. To make yer item appear you gotta make it 600 to add 1 item, 601 for 2 items and so on. But don't increase the number WITHOUT adding an item - you'd get an error "unexpected file end" or so. Oh yeah, you cloned the item, but to make it appear you'll end up running around in shops trying to find it coz the merchant inventory is random. It helps to clone Lower cheap items and mod the damage, speed etc. Good luck, i know this works coz I run around with "custom warbow",Sword and custom arrows.

Damn I just saw you already found that out, looks like i'm too late :sad:
 
In the shop? To start with? Well why do my items appear randomly? There any fix for the arms merchant? He always sells cracked and bent stuff and hardly ever my own items.
 
Well i had to wait in town for a day for it to appear,the only thing i can suggest is you put 100 after the weight of an item as thats the abundance so it would look like this

3.000000 100 0 0 0 0 0 42 68 0 1 288 0

If its at 100 it will show up quite alot,well mine always have,ive never tried putting it higher than 100 and im not sure if it would help or not.
 
So the value after weight is abundance? I know the last and second last is damage (encoded binary) is that abundance stuff decimal like weight and speed and reach? They had most of it in binary in mount&blade, but this is different. For ex in binary a damage of 63 would be 312 or so in binary in the file. So many things to find out, lol. But thx for that! 42 = speed, 68 = range, 1 = count, 288 = cutting damage.
 
Salatrin said:
itm_strange_armor Strange_Armor Strange_Armor 1  samurai_armor 0  16777229 0 1259 704643236 18.000000 100 0 38 19 7 0 0 0 0 0 0 0

To make the strange equipent available in stores, simply add 65336 to the number highlighted in red above, if you continuing from save game, wait a week for stores to update.  If starting new game, it should appear right away. for the rest of the strange equipment, Add 65336 to the second number after the name of mesh in each item, it will ALWAYS be the second number.

For the numbers in blue, for those who are interested, in order from left to right are the values for head, body and foot defense

the LAST seven 0's at the end are in order from left to right, hit points, speed, missle speed, length, max ammo,  thrust damage and swing damage
Also for the last 2 numbers which is thrust and swing damage respectably, any number BELOW 256 is cut damage and anything between 256 and 512 is Pierce damage(exact value of peirce damage is just subtract 256 from the number) and anything above 512 is blunt damage, (again, subtract 512 from number to determine how much blunt damage.

CLASS DISMISSED!!!!!

This is an explanation. I saw a more thorough one somewhere else, too......don't remember. And yes the 100 is the rarity in shops
 
Back
Top Bottom