Jump to content

SpaceTaco

Member
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

SpaceTaco's Achievements

  1. If you find a car with a very low engine quality < 15% and repair it to 100% using engine parts, you will not be able to start the car. This also assumes you have gas and a good battery in the car. The Java code appears to be using the vehicle.engineQuality attribute to determine engine state but any repairs you do only effect the engine part quality, a separate attribute on the engine part. I would expect vehicle.engineQuality to update as repairs are done or the Java code to use the engine part quality.
  2. Thought I would take a look at a simple clothing retexture mod. I can work out most everything but the last couple steps to keep it from being a hack job. Only a few new steps here from a standard item mod. Create the item definition: <User Folder>\Zomboid\mods\<MyMod>\media\clothing\<MyMod>.txt Create a texture image for the 3D character model: <User Folder>\Zomboid\mods\<MyMod>\media\textures\Clothes\<subfolder>\<itemName>.png Create an inventory icon 32x32: <User Folder>\Zomboid\mods\<MyMod>\media\textures\Item_<itemName>.png Create the model\texture\tint\GUID references: <User Folder>\Zomboid\mods\<MyMod>\media\clothing\clothingItems\<itemName>.xml Attach the item to some distribution (place it in the world), the new ProceduralDistributions have a bit less boilerplate than the old SuburbsDistributions. <User Folder>\Zomboid\mods\<MyMod>\media\lua\server\items\<MyMod>_distributions.lua Finally, you need to have a GUID to clothing model reference placed in fileGuidTable.xml. I have found no way to inject this from a mod, I could only get it working by adding the reference directly to the game file: <game install>\media\fileGuidTable.xml Anyone know a way around this? Also, if I want the clothing item to be worn by zeds, I need to edit the game file: <game install>\media\clothing\clothing.xml I'd love to have a way to inject\replace XML in those files from the mod. That or some back door lua script way.
×
×
  • Create New...