skyraven Posted September 2, 2020 Share Posted September 2, 2020 Hi guys, does anyone know where can i get the complete list of 'Class' of all the Blocks or Items? for example: To create a new customer lootable myAmmoCase, we extend the xpath blocks with the new modded Blocks.xml. we create the <block> and set the Object Properties "Class" to "Loot": <block name="myAmmoCase"> <property name="CreativeMode" value="Player"/> <property name="Class" value="Loot"/> <property name="Material" value="Mmetal"/> <!-- more property below --> </block> I just started 7D2D Modding, and i like to search for more information and resources that available, especially the available Classes. Thank you very much. Link to comment Share on other sites More sharing options...
mr.devolver Posted September 2, 2020 Share Posted September 2, 2020 There's no official guidebook or anything like that, so if you insist on knowing everything, perhaps things that are implemented, but not actively used yet, you could examine the code of Assembly-CSharp.dll and see if you can find what you need there. Obviously that method would take a little while and it's only for people who understand C# code. If you don't understand C# code and just want to learn more about modding blocks within the possibilities of what was already tried and worked, you could just examine existing blocks.xml in both vanilla and mods that may already have something similar to what you need to create. Link to comment Share on other sites More sharing options...
skyraven Posted September 7, 2020 Author Share Posted September 7, 2020 On 9/2/2020 at 9:21 AM, mr.devolver said: There's no official guidebook or anything like that, so if you insist on knowing everything, perhaps things that are implemented, but not actively used yet, you could examine the code of Assembly-CSharp.dll and see if you can find what you need there. Obviously that method would take a little while and it's only for people who understand C# code. If you don't understand C# code and just want to learn more about modding blocks within the possibilities of what was already tried and worked, you could just examine existing blocks.xml in both vanilla and mods that may already have something similar to what you need to create. Thank for the reply. i just manage to get back in here after the busy project. Using Assembly.GetTypes() on the dll should able to list out the available classes/methods. do you know which dll files should i work on? Link to comment Share on other sites More sharing options...
mr.devolver Posted September 7, 2020 Share Posted September 7, 2020 21 minutes ago, skyraven said: Thank for the reply. i just manage to get back in here after the busy project. Using Assembly.GetTypes() on the dll should able to list out the available classes/methods. do you know which dll files should i work on? Assembly-CSharp.dll Link to comment Share on other sites More sharing options...
skyraven Posted September 8, 2020 Author Share Posted September 8, 2020 On 9/7/2020 at 1:14 PM, mr.devolver said: Assembly-CSharp.dll Thanks. i add the Assembly-CSharp.dll into my c# project and i use the object browser to list out all the objects. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.