Subotai
Sergeant at Arms
Hi this is my first post, just bought the game recently and been hooked for one full week I even dreamt about lancing and horse archery in my sleep
Ive been going through the mods and slowly learning how the text files work with assistance from the Unofficial editor for M&B, however I have just one question:
I'm having problems with the add_item script trigger for conversations. I attempted to add a new 'horse-item' in the game, here's what I did:
NOTE: After a bug I found with saving modules using the beta editor though, castle sieges stopped working for me, thus I edit the game directly by identifying the numbers in the text file. Ne ways, here's what I did to add in my new horse (which wont work), can someone please tell me how to make it work?
What I did:
1) Opened up a copy of native with the unofficial editor
2) Copied and pasted and edited a new version of 'charger' horse
3) Saved the temp module, and closed the editor
4) Opened notepad and copied the section of 'itm_newcharger' to the end of native item_kinds.txt file
5) Then opened and edited the Zendar trainer's 'goodbye line' to give me my horse using the editor
The line was this: troop_add_item(TROOP[trp_player], ITEM[itm_newcharger], 5)
I copied the text from when Constable Hachek gives you the shield.
6) Saved and used the same 'copy and paste text' tactic and replaced the trainer's old dialog line with the new one which is supposed to GIVE ME my horse!! haha
This worked for me before in making Ymira work. Dont know why the horse wont spawn in my inventory (it should be using the same mesh, etc), may I ask what's the last value '5' for in that script, or did I forget to edit another file?
So far Ive edited troops.txt and conversations.txt
Ive been going through the mods and slowly learning how the text files work with assistance from the Unofficial editor for M&B, however I have just one question:
I'm having problems with the add_item script trigger for conversations. I attempted to add a new 'horse-item' in the game, here's what I did:
NOTE: After a bug I found with saving modules using the beta editor though, castle sieges stopped working for me, thus I edit the game directly by identifying the numbers in the text file. Ne ways, here's what I did to add in my new horse (which wont work), can someone please tell me how to make it work?
What I did:
1) Opened up a copy of native with the unofficial editor
2) Copied and pasted and edited a new version of 'charger' horse
3) Saved the temp module, and closed the editor
4) Opened notepad and copied the section of 'itm_newcharger' to the end of native item_kinds.txt file
5) Then opened and edited the Zendar trainer's 'goodbye line' to give me my horse using the editor
The line was this: troop_add_item(TROOP[trp_player], ITEM[itm_newcharger], 5)
I copied the text from when Constable Hachek gives you the shield.
6) Saved and used the same 'copy and paste text' tactic and replaced the trainer's old dialog line with the new one which is supposed to GIVE ME my horse!! haha
This worked for me before in making Ymira work. Dont know why the horse wont spawn in my inventory (it should be using the same mesh, etc), may I ask what's the last value '5' for in that script, or did I forget to edit another file?
So far Ive edited troops.txt and conversations.txt