Wgbh1974 Posted April 1, 2018 Share Posted April 1, 2018 I'm trying to add a glass wedge tip and a glass half block but i've never done this before I have added recipes for things already in the game (ex) control panels and blue doors and I'm not new to changing codes but I'm not sure what to do with this any help in pointing me in the right direction will be greatly appreciated thanks in advance Link to comment Share on other sites More sharing options...
Guppycur Posted April 1, 2018 Share Posted April 1, 2018 Take a wood wedge block and change the info to the glass texture and material? Maybe? Link to comment Share on other sites More sharing options...
Boogman Posted April 1, 2018 Share Posted April 1, 2018 Hello Wgbh1974. I'm new around here and to 7D2D mods. Compile with SDX Launcher. This worked for me. <configs> <config name="blocks"> <append xpath="/blocks"> <block id="" name="glassHalfBlock"> <property name="Material" value="glass" /> <property name="Shape" value="New" /> <property name="LightOpacity" value="1" /> <property name="Model" value="cube_half" /> <property name="CustomIcon" value="ui_game_symbol_pipe90" /> <property name="Mesh" value="transparent" /> <property name="Texture" value="285" /> <property name="DescriptionKey" value="glassGroupDesc" /> <drop event="Destroy" name="brokenGlass" count="1,4" /> </block> </append> </config> </configs> I copied Block 280 and changed <property name="Model" value="cube_glass" /> to <property name="Model" value="cube_half" /> also I added a custom Icon <property name="CustomIcon" value="glassHalfBlockIcon" /> As for the wedge tip, if there is a block like it in the game already, you can extend it and change it to glass. If it is a custom shape, you will have to create it out side the game in a 3D package like Blender, Maya, etc. Like I said, I'm new around here, I'm sure someone will have something better then this. Link to comment Share on other sites More sharing options...
Wgbh1974 Posted April 3, 2018 Author Share Posted April 3, 2018 Thanks Hello Wgbh1974. I'm new around here and to 7D2D mods. Compile with SDX Launcher. This worked for me. <configs> <config name="blocks"> <append xpath="/blocks"> <block id="" name="glassHalfBlock"> <property name="Material" value="glass" /> <property name="Shape" value="New" /> <property name="LightOpacity" value="1" /> <property name="Model" value="cube_half" /> <property name="CustomIcon" value="ui_game_symbol_pipe90" /> <property name="Mesh" value="transparent" /> <property name="Texture" value="285" /> <property name="DescriptionKey" value="glassGroupDesc" /> <drop event="Destroy" name="brokenGlass" count="1,4" /> </block> </append> </config> </configs> I copied Block 280 and changed <property name="Model" value="cube_glass" /> to <property name="Model" value="cube_half" /> also I added a custom Icon <property name="CustomIcon" value="glassHalfBlockIcon" /> As for the wedge tip, if there is a block like it in the game already, you can extend it and change it to glass. If it is a custom shape, you will have to create it out side the game in a 3D package like Blender, Maya, etc. Like I said, I'm new around here, I'm sure someone will have something better then this. Thanks I'll need to create a few custom icons but it definitely worked like a charm Link to comment Share on other sites More sharing options...
Boogman Posted April 3, 2018 Share Posted April 3, 2018 Your Welcome, glad I could help. Do you need a custom wedge tip? I make 3D models. Boogman Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.