Gabramlet Posted January 1, 2015 Share Posted January 1, 2015 Heres a little mod I did to add a scoped crossbow and steel crossbow bolts. Enjoy [B]items.xml[/B] [I]make sure you use item id's that are not already used.[/I] [CODE] [/CODE] [B]recipies.xml[/B] [CODE] [/CODE] [B]loot.xml[/B] add [CODE][/CODE] to rareBooks lootgroup Link to comment Share on other sites More sharing options...
stallionsden Posted January 2, 2015 Share Posted January 2, 2015 Awesome work bud.. May I add this to the combo mod I have.. I have this in my game but if you like I can add it to the combo mod as well & mention you and this page as the creator :-) as I have done with the other mods. - [url]http://7daystodie.com/forums/showthread.php?22094-Mod-Combo[/url] Link to comment Share on other sites More sharing options...
Gabramlet Posted January 2, 2015 Author Share Posted January 2, 2015 [QUOTE=stallionsden;194325]Awesome work bud.. May I add this to the combo mod I have.. I have this in my game but if you like I can add it to the combo mod as well & mention you and this page as the creator :-) as I have done with the other mods. - [url]http://7daystodie.com/forums/showthread.php?22094-Mod-Combo[/url][/QUOTE] Sure no problem. One thing I saw on your post was changing skill books to paper. I tried this but found turning them to old books was better. Just a thought Link to comment Share on other sites More sharing options...
TehAgent Posted January 4, 2015 Share Posted January 4, 2015 [QUOTE=Gabramlet;194255]Heres a little mod I did to add a scoped crossbow and steel crossbow bolts. Enjoy [B]items.xml[/B] [I]make sure you use item id's that are not already used.[/I] [CODE] [/CODE] [B]recipies.xml[/B] [CODE] [/CODE] [B]loot.xml[/B] add [CODE][/CODE] to rareBooks lootgroup[/QUOTE] How does the custom icon entry work? Does it just use the default one you point it to? Im curious because I have explosive bolts working and would like to add them to my server, but dont have icons for them. This would be a nice addition as well. Link to comment Share on other sites More sharing options...
Gabramlet Posted January 4, 2015 Author Share Posted January 4, 2015 [QUOTE=TehAgent;194868]How does the custom icon entry work? Does it just use the default one you point it to? Im curious because I have explosive bolts working and would like to add them to my server, but dont have icons for them. This would be a nice addition as well.[/QUOTE] yes I just point it to the default crossbow bolt and it uses the crossbow bolt image looks the same as a crossbow bolt but at least its not blank :) Link to comment Share on other sites More sharing options...
DjDave Voom Posted January 4, 2015 Share Posted January 4, 2015 I did everything You said to do in this Works good Only if it get it out of Creative Menu, that being said I did the schematic also and I go to read it, And It says recipies already known, so i can't learn it other than that I love it what am i doing wrong? Link to comment Share on other sites More sharing options...
TehAgent Posted January 4, 2015 Share Posted January 4, 2015 Thanks! I was messing with my own Mod and found a field for tinting the colors; should work on any icon. I think you can add a tint to it like this: So you could change its color to differentiate between the two. I havent tried it yet as I started adding custom icons, but if it works, it would be much easier. Link to comment Share on other sites More sharing options...
Gabramlet Posted January 5, 2015 Author Share Posted January 5, 2015 [QUOTE=TehAgent;195132]Thanks! I was messing with my own Mod and found a field for tinting the colors; should work on any icon. I think you can add a tint to it like this: So you could change its color to differentiate between the two. I havent tried it yet as I started adding custom icons, but if it works, it would be much easier.[/QUOTE] Nice. Good Thinking! Link to comment Share on other sites More sharing options...
Gabramlet Posted January 5, 2015 Author Share Posted January 5, 2015 [QUOTE=DjDave Voom;195071]I did everything You said to do in this Works good Only if it get it out of Creative Menu, that being said I did the schematic also and I go to read it, And It says recipies already known, so i can't learn it other than that I love it what am i doing wrong?[/QUOTE] check to see if there is a problem with the xml syntax. missing double quote etc. also make sure your not already using the item id's for other items. Link to comment Share on other sites More sharing options...
Cotabucky Posted January 5, 2015 Share Posted January 5, 2015 So you know Added items + recipes together do not work on servers to clients unless you share your data with friends. Its the recipes and added items that seems to be an issue in the last update at least. Loot seems to be O.K. .All of it will work if your playing alone. Just thought I would give you a heads up. I do all my mods lately without requiring recipes for added items just so there are no headaches when people join. Anybody trying to join on your server will likely get inventory problems or "null referance " errors. I've had no issues with recipes for existing Items in Items.xml.Same with loot working fine. Ohh and I liked making the igniting arrows :). That and my pukers catch everybody on fire as well.Thats always entertaining seeing him catch his buddies or himself on fire. Nice links thanks! BTW I see the links explain this/Takes care of it Link to comment Share on other sites More sharing options...
davit Posted October 21, 2016 Share Posted October 21, 2016 hi this is compatible with alpha 15? i get i get (Attribute "Material" is missing on item id 420) please i want to put sight to my server or are someone mod for this? please! Link to comment Share on other sites More sharing options...
Valmar Posted October 21, 2016 Share Posted October 21, 2016 i get (Attribute "Material" is missing on item id 420) please i want to put sight to my server or are someone mod for this? please! This is a very old post. Almost two years old, infact. What do you want, a scoped crossbow? <item id="1616" name="crossbowScoped"> <property name="Extends" value="crossbow" /> <property name="CustomIcon" value="crossbow" /> <property name="CustomIconTint" value="1432DE" /> <property class="Action1"> <property name="Class" value="Zoom" /> <property name="Zoom_overlay" value="Items/Weapons/HUD/sniper_zoom_overlay" /> <property name="Zoom_max_out" value="40" /> <property name="Zoom_max_in" value="30" /> </property> </item> <recipe name="crossbow" count="1"> <ingredient name="forgedIron" count="10"/> <ingredient name="leather" count="2"/> <ingredient name="glue" count="2"/> <ingredient name="ductTape" count="1"/> <ingredient name="wood" count="15"/> </recipe> Link to comment Share on other sites More sharing options...
Guest Nyteshade12134 Posted November 15, 2018 Share Posted November 15, 2018 I'm sure your recipe name should be "crossbowScoped" I know, "You didn't see anything." Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.