Adding Items from one mod to another.

Users who are viewing this thread

CrazyChris

Sergeant
I want to add all the items from the Rohan faction from TLD to Silverstag because reasons.

Thing is, I have no idea if I can take only the items related to Rohan or have to take all the items period.

Also, the .brf and texture files for TLD are a tad confusing but I'd want to know if its possible at all before I get around to untangling the mess.
 
Look in the "OSP" section of the forum, anything mentioned there are things allowed to use, as long as you credit them. If something is not there, you can try PMing the mod developers and asking.

P.S. TLD put EVERYTHING of theirs as OSPs, but i wont give you the link as you wont learn anything! go look at the osp forum! :smile:
 
As long as you don't re-release it in any way, you're allowed to use anything from any mod in your own personal projects.
Porting all those items would require you to:

1. Move all the .brf files containing the items you want from one mod to the other.
2. Make sure that none of the meshes in those .brfs link to textures or materials outside that .brf file. If they do, you'll have to bring that .brf over as well and merge where names clash.
3. Go to module.ini and add the line "load_mod_resource = [name of brf file]" for each .brf file you've added. Be aware that the order matters; if textures and materials are in seperate .brfs to their meshes, put the textures first and then the materials.
4. The tedious bit: go to the TLD texture folder and copy every single texture that's mentioned in the .brfs you added. If you're not worried about disk space, just copy them all and make sure it doesn't overwrite.
 
So it is possible with a bit of untangling. And no I don't plan to re-release anything. Thanks for the answers guys
 
Did as you guys suggested, realized the .brf and required textures for Rohan aren't that hard to find but I'm getting an error related to the shader of a Rohan helmet.
Any idea what might cause that?

get_shader failed for: iron_shader_rohanhelm
 
That means that you dont have that specific shader "iron_shader_rohanhelm" in your mod. That is a shader made for TLD, and the easiest way to fix it would be to just look in openbrf, change the material shaders that use that to "tex_color_multi". <---that is a shader used by native, and an over-all alright one.
 
Worked like a charm, used specular_shader_noskin_bump_high_Instanced that was used by a bunch of other helmets and everything works great now.

Thanks for the help guys!
 
Managed to slam myself on another wall. I edited the items_kinds1 to add all the items that used the .brf and textues files I merged with the mod. Now M&B crashes while loading.

I have no idea what might be causing the error. Instead of posting the whole file I'll post the last 3 original lines and the ones I added.

itm_noswing_faradon_two_hander Two-handed_Sword Two-handed_Sword 1  faradon_twohanded1 0  34366029827 9223635924301119504 1970 155668 3.750000 100 0 0 0 15 0 88 0 118 0 281 0
0
0

itm_noswing_faradon_warhammer Exiled_Warhammer Exiled_Warhammer 1  faradon_warhammer 0  274882363394 9223388529822793729 200 262164 1.500000 100 0 0 0 3 0 115 0 73 0 273 0
0
0

itm_noswing_staghammer Staghammer Staghammer 1  staghammer 0  274882363396 4222129146953985 310 262164 7.000000 100 0 0 0 12 0 92 0 175 0 278 0
1
14
0

itm_rohan_spear Rohan_Spear Rohan_Spear 1  rohan_spear 0  138772484 4222124650660353 189 271496 2.5 100 0 0 0 0 16384 92 0 170 0 293 528
0

itm_rohan_lance Rohan_Lance Rohan_Lance 1  rohan_lance 0  138772484 201326848 300 271496 2.5 100 0 0 0 0 16384 88 0 208 0 282 528
0

itm_heavy_throwing_spear Heavy_Throwing_Spear Heavy_Throwing_Spear 1  rohan_throwing_spear 0  71368714 262144 200 0 4 100 0 0 0 0 0 89 27 93 2 319 0
0

itm_eorl_cavalry_sword Sword_of_Eorl Sword_of_Eorl 1  eorl_cavalry_sword 0  71307266 9223388529822793743 3000 156672 1.25 100 0 0 0 12 40960 120 0 92 0 286 296
0

itm_rohirrim_short_axe Rohirrim_Short_Axe Rohirrim_Short_Axe 1  rohan_1haxe 0  80019458 9223388530091229198 500 287892 2 100 0 0 0 0 35840 110 0 50 0 256 35
0

itm_rohirrim_long_hafted_axe Rohirrim_Long_Hafted_Axe Rohirrim_Long_Hafted_Axe 1  rohan_2haxe 0  80019458 9223388530091229198 500 287892 2 100 0 0 0 0 35840 92 0 70 0 256 35
0

itm_rohirrim_throwing_axe Rohirrim_Throwing_Axes Rohirrim_Throwing_Axes 1  rohan_throwing_axe 0  71368714 196608 300 0 5 100 0 0 0 0 0 99 20 35 3 60 0
0

itm_rohan_cav_sword Rohan_Riding_Sword Rohan_Riding_Sword 2  rohan_sword_a 0  scab_rohan_sword_a 3458764513820540928  4259842 9223388564182532111 500 287892 1.5 100 0 0 0 0 31744 99 0 95 0 277 31
0

itm_rohan_2h_sword Rohan_War_Sword Rohan_War_Sword 1  rohan_sword_a_2h 0  274792451 9223635924301119728 524 287892 3 100 0 0 0 0 40960 94 0 101 0 287 40
0

itm_rohan_inf_sword Rohan_Sword Rohan_Sword 2  rohan_sword_b 0  scab_rohan_sword_b 3458764513820540928  4259842 9223388564182532111 500 287892 1.25 100 0 0 0 0 29696 100 0 95 0 278 29
0

itm_rohan_sword_c Rohan_Sword Rohan_Sword 2  rohan_sword_c 0  scab_rohan_sword_c 3458764513820540928  4259842 9223388564182532111 500 287892 1.25 100 0 0 0 0 29696 103 0 96 0 277 29
0

itm_rohan_shield_a Rohan_Shield Rohan_Shield 1  rohan_shield_green 0  327687 5100273664 200 251658402 2 100 0 4 0 0 310 96 0 40 0 0 0
1
-50  3 2136 3 1224979098644774912 0 7 2105 2 1224979098644774912 297 1981 2 41 1224979098644774912

itm_rohan_shield_b Rohan_Shield Rohan_Shield 1  rohan_shield_red 0  327687 5100273664 200 251658402 2 100 0 4 0 0 310 96 0 40 0 0 0
1
-50  3 2136 3 1224979098644774912 0 7 2105 2 1224979098644774912 297 1981 2 41 1224979098644774912

itm_rohan_shield_c Rohan_Shield Rohan_Shield 1  rohan_shield_plain 0  327687 5100273664 200 251658402 2 100 0 4 0 0 310 96 0 40 0 0 0
1
-50  3 2136 3 1224979098644774912 0 7 2105 2 1224979098644774912 297 1981 2 41 1224979098644774912

itm_rohan_shield_d Rohan_Shield Rohan_Shield 1  rohan_shield_green_boss 0  327687 5100273664 400 251658402 2.5 100 0 8 0 0 400 96 0 40 0 0 0
1
-50  3 2136 3 1224979098644774912 4 7 2105 2 1224979098644774912 297 1981 2 42 1224979098644774912

itm_rohan_shield_e Rohan_Shield Rohan_Shield 1  rohan_shield_red_boss 0  327687 5100273664 400 251658402 2.5 100 0 8 0 0 400 96 0 40 0 0 0
1
-50  3 2136 3 1224979098644774912 4 7 2105 2 1224979098644774912 297 1981 2 42 1224979098644774912

itm_rohan_shield_f Rohan_Shield Rohan_Shield 1  rohan_shield_plain_boss 0  327687 5100273664 400 251658402 2.5 100 0 8 0 0 400 96 0 40 0 0 0
1
-50  3 2136 3 1224979098644774912 4 7 2105 2 1224979098644774912 297 1981 2 42 1224979098644774912

itm_rohan_shield_g Rohan_Royal_Shield Rohan_Royal_Shield 1  rohan_shield_royal 0  327687 5100273664 600 771751936 3 100 0 12 0 0 600 96 0 40 0 0 0
1
-50  3 2136 3 1224979098644774912 4 7 2105 2 1224979098644774912 297 1981 2 42 1224979098644774912

itm_rohan_shoes Leather_Shoes Leather_Shoes 1  L_rohan_shoes 0  536940302 0 50 123731968 1 100 0 0 8 0 0 0 0 0 0 0 0
0

itm_rohan_light_greaves Rohan_Light_Greaves Rohan_Light_Greaves 1  M_rohan_light_greaves 0  69390 0 1200 123731968 2 100 0 0 15 0 0 0 0 0 0 0 0
0

itm_rohirrim_war_greaves Rohirrim_War_Greaves Rohirrim_War_Greaves 1  H_rohan_scale_greaves 0  69390 0 1200 704643072 3.5 100 0 0 26 0 0 0 0 0 0 0 0
0

itm_rohan_armor_a Rohan_Shirt Rohan_Shirt 1  L_roh_shirt_M1 0  16842765 0 200 123731968 2 100 0 3 2 0 0 0 0 0 0 0 0
0

itm_rohan_armor_b Rohan_Shirt_Cape Rohan_Shirt_Cape 1  L_roh_shirt_cape_M2 0  16842765 0 400 123731968 3 100 0 5 3 0 0 0 0 0 0 0 0
0

itm_rohan_armor_c Rohan_Long_Shirt Rohan_Long_Shirt 1  L_roh_long_shirt_cape_M4 0  16842765 0 500 123731968 5 100 0 8 5 0 0 0 0 0 0 0 0
0

itm_rohan_armor_d Rohan_Hauberk Rohan_Hauberk 1  LH_roh_hauberk_cape_a_M6 0  16842765 0 800 704643236 12 100 0 20 9 0 0 0 0 0 0 0 0
0

itm_rohan_armor_e Rohan_Hauberk Rohan_Hauberk 1  LH_roh_hauberk_cape_b_M7 0  16842765 0 800 704643236 12 100 0 20 9 0 0 0 0 0 0 0 0
0

itm_rohan_armor_f Rohan_Hauberk Rohan_Hauberk 1  LH_roh_hauberk_cape_c_M5 0  16842765 0 1000 704643236 12 100 0 22 9 0 0 0 0 0 0 0 0
0

itm_rohan_armor_g Rohan_Mail_Shirt Rohan_Mail_Shirt 1  M_roh_shirt_cape_b_M2 0  16842765 0 700 704643236 15 100 0 18 7 0 0 0 0 0 0 0 0
0

itm_rohan_armor_h Rohan_Long_Mail Rohan_Long_Mail 1  M_roh_long_shirt_cape_b_M4 0  16842765 0 750 704643236 15 100 0 18 9 0 0 0 0 0 0 0 0
0

itm_rohan_armor_i Rohan_Long_Mail Rohan_Long_Mail 1  M_roh_long_shirt_cape_c_M3 0  16842765 0 900 704643236 15 100 0 20 9 0 0 0 0 0 0 0 0
0

itm_rohan_armor_j Rohan_Hauberk Rohan_Hauberk 1  MH_roh_hauberk_leather_cape_a_M6 0  16842765 0 1500 704643236 17 100 0 30 12 0 0 0 0 0 0 0 0
0

itm_rohan_armor_k Rohan_Hauberk Rohan_Hauberk 1  MH_roh_hauberk_leather_cape_b_M7 0  16842765 0 1500 704643236 17 100 0 30 12 0 0 0 0 0 0 0 0
0

itm_rohan_armor_l Rohan_Hauberk Rohan_Hauberk 1  MH_roh_hauberk_leather_cape_c_M8 0  16842765 0 1600 704643072 18 100 0 33 12 0 0 0 0 0 0 0 0
0

itm_rohan_armor_m Rohan_Scale_Armor Rohan_Scale_Armor 1  H_roh_scale_cape_a_M10 0  16842765 0 1500 704643236 15 100 0 31 10 0 0 0 0 0 0 0 0
0

itm_rohan_armor_n Rohan_Scale_Armor Rohan_Scale_Armor 1  H_roh_scale_cape_b_M11 0  16842765 0 1500 704643236 15 100 0 31 10 0 0 0 0 0 0 0 0
0

itm_rohan_armor_o Rohan_Scale_Armor Rohan_Scale_Armor 1  H_roh_scale_cape_c_M12 0  16842765 0 1600 704643236 15 100 0 32 10 0 0 0 0 0 0 0 0
0

itm_rohan_armor_p Rohan_Armor Rohan_Armor 1  E_roh_hauberk_a_cape_M13 0  16842765 0 2000 704643072 20 100 0 33 15 0 0 0 0 0 0 0 0
0

itm_rohan_armor_q Rohan_Armor Rohan_Armor 1  E_roh_hauberk_b_cape_M14 0  16842765 0 2000 704643072 20 100 0 35 15 0 0 0 0 0 0 0 0
0

itm_rohan_armor_r Rohan_Armor Rohan_Armor 1  E_roh_hauberk_c_cape_M15 0  16842765 0 2000 704643072 20 100 0 33 15 0 0 0 0 0 0 0 0
0

itm_rohan_armor_s Rohan_Heraldric_Mail Rohan_Heraldric_Mail 1  VH_heraldic_rohan_armor_M16 0  16842765 0 3000 704643072 22 100 0 40 17 0 0 0 0 0 0 0 0
1
-50  3 2071 1 1224979098644774912 2072 1 1224979098644774913 1 4 269 15 1224979098644774912 1224979098644774913

itm_rohan_armor_th Rohan_Royal_Armor Rohan_Royal_Armor 1  theoden_armor 0  16777229 0 4000 704643072 20 100 0 44 15 15 0 0 0 0 0 0 0
0

itm_rohan_captain_helmet Rohan_Captain_Helmet Rohan_Captain_Helmet 1  rohan_captain_helmet 0  65548 0 3000 704643072 2 100 40 0 0 0 0 0 0 0 0 0 0
0

itm_rohan_light_helmet_a Rohan_Light_Helm Rohan_Light_Helm 1  rohan_light_helmet_a 0  65548 0 500 123731968 1 100 23 0 0 0 0 0 0 0 0 0 0
0

itm_rohan_light_helmet_b Rohan_Light_Helmet Rohan_Light_Helmet 1  rohan_light_helmet_b 0  65548 0 600 704643238 1 100 25 0 0 0 0 0 0 0 0 0 0
0

itm_rohan_archer_helmet_a Rohan_Archer_Helmet Rohan_Archer_Helmet 1  rohan_archer_helmet_a 0  65548 0 900 704643238 2 100 28 0 0 0 0 0 0 0 0 0 0
0

itm_rohan_archer_helmet_b Rohan_Archer_Helmet Rohan_Archer_Helmet 1  rohan_archer_helmet_b 0  65548 0 900 704643238 2 100 28 0 0 0 0 0 0 0 0 0 0
0

itm_rohan_archer_helmet_c Rohan_Horse_Archer_Helmet Rohan_Horse_Archer_Helmet 1  rohan_archer_helmet_c 0  65548 0 1100 704643238 2 100 32 0 0 0 0 0 0 0 0 0 0
0

itm_rohan_cav_helmet_a Rohan_Cavalry_Helmet Rohan_Cavalry_Helmet 1  rohan_cav_helmet_a 0  65548 0 1300 704643238 2 100 34 0 0 0 0 0 0 0 0 0 0
0

itm_rohan_cav_helmet_b Rohan_Cavalry_Helmet Rohan_Cavalry_Helmet 1  rohan_cav_helmet_b 0  65548 0 1300 704643238 2 100 34 0 0 0 0 0 0 0 0 0 0
0

itm_rohan_cav_helmet_c Rohan_Cavalry_Helmet Rohan_Cavalry_Helmet 1  rohan_cav_helmet_c 0  65548 0 1500 704643072 2 100 36 0 0 0 0 0 0 0 0 0 0
0

itm_rohan_inf_helmet_a Rohan_Infantry_Helm Rohan_Infantry_Helm 1  rohan_inf_helmet_a 0  65548 0 1000 704643238 2 100 30 0 0 0 0 0 0 0 0 0 0
0

itm_rohan_inf_helmet_b Rohan_Infantry_Helm Rohan_Infantry_Helm 1  rohan_inf_helmet_b 0  65548 0 1000 704643238 2 100 30 0 0 0 0 0 0 0 0 0 0
0

itm_rohirrim_courser Rohirrim_Courser Rohirrim_Courser 1  rohan_horse01 0  65537 0 900 16139943936 0 100 0 10 0 2 90 40 46 0 0 18 0
0

itm_rohirrim_hunter Rohirrim_Hunter Rohirrim_Hunter 1  rohan_horse02 0  65537 0 724 16139943936 0 100 0 18 0 3 110 38 41 0 0 18 0
0

itm_rohirrim_courser2 Rohirrim_Courser Rohirrim_Courser 1  rohan_horse03 0  65537 0 900 16139943936 0 100 0 10 0 2 100 40 46 0 0 18 0
0

itm_rohan_warhorse Rohirrim_Warhorse Rohirrim_Warhorse 1  rohan_warhorse01 0  65537 0 1500 119890247680 0 100 0 46 0 4 135 34 36 0 0 25 0
0

itm_thengel_warhorse Thengel_Guard_Warhorse Thengel_Guard_Warhorse 1  rohan_warhorse02 0  65537 0 1500 119890247680 0 100 0 42 0 4 135 34 36 0 0 30 0
0

I really am no expert on the subject and I don't have the slightest clue on how to fix this. And before you ask, I did try a few things but none worked.
 
Was asking because py files are easier to read. Make a backup of what the .txt file, delete some of the items and see if it still isnt working, then copy/paste the add from your backup, delete more, and repeat, until it doesnt crash. When you find what makes it crash, keep deleting less and less until you find  the single line of code that is the error, and find it in there, it minimizes your search this way, and makes it easier to figure out whats wrong :grin:
 
Finally got it to work. As pointed, I had to make sure the structure of the lines was the same and hunted a few rogue spaces and I'm finally able to load in. I was greeted by, you probly guessed, more errors!

Good news first, the weapons and armor sets show up in vendor screen just fine, same for horses.

Bad news, the helmets have clipping issues with the character head and are all transparent. I'm guessing the helms don't like the shaders used by Silverstag but I have no clue what causes the clipping.
 
Transparent? are you sure they just arent off-screen?(underground, inside character, etc). If they are, you can edit them in openbrf to position them right.
 
I can see them allright, I can see through them. They also seem to be more in front of where they should be, the back of the helms clip with the back of the head

RsZW3hO.jpg
 
Ah, it's been a while since I've seen that error :razz:
The shader they used before was called iron_shader_rohan, which is probably an extension of the native iron_shader, which i hate with a passion. It uses the transparent parts of a single texture to show where the shine, or "specularity" should be, rather than using a specular map like normal, well-adjusted people. The problem is that the newer shaders like specular_shader_whatever expect there to be more than just one texture.
Try changing them to iron_shader. It's gonna look a bit 2007, as iron_shader was a standard of the original m&b. But it should work.
 
That did the trick, and with a bit of re-positioning like Kelthin suggested, the helms are ready to see action!

I'm down to one problem on my list, the shields. They look ****ed up beyond repair. None of the correct texture show and all the models come up wrong. Any suggestion?

k22Fnx4.jpg
 
No idea about the shields, try if its the texture (become a "lord" so you can get your own banner, and see if the banner goes on the shields). If it does, then its the texture being weird.
 
Back
Top Bottom