Battlezone 98 Redux

Battlezone 98 Redux

Not enough ratings
Modding Guide: Use Props on a Map With no Radar or Collision
By GrizzlyOne95
This will walk you through the tools and process needed to load props onto Battlezone 98 Redux maps with no collision or radar pings.
   
Award
Favorite
Favorited
Unfavorite
Tools/Prerequisites
Prerequisites
Procedure
  • Add a cube in Blender.
  • Export said cube as SDF
  • Add this cube as an object on your map, somewhere in a bottom left corner where it wont be seen. Using edit objects menu in shift F9, orient the object facing directly to the east (right).
  • Save BZN as ASCII.
  • Open BZN in Text Editor and locate your cube object (for example prop.sdf).
  • Set all values to rounded or zeroed values, as seen in attached image 1. Then save.
  • To accurately place your props you also need to get the TRN mesh imported into blender. You can do this by importing your HG2 into BZMapIo, then save the .blend file. In a 2nd blend file (one with just the cube) you can then append it by going to file > append, browse to the bzmapio.blend, objects, then select your map's hg2 object.
  • If you experience visual clipping where you can't see your map mesh entirely, adjust the View End in Blender from 1000 default to 9999.
  • Now you should have your cube and terrain mesh in Blender. At this time you can import and place all your props. Reference 2nd image to see how to snap all objects to the ground. You may need to adjust the origin point of the props if they clip into the ground.
  • If you want to test this process is working, just add a giant object in the middle of the map, like a sphere. Parent it to your cube in the bottom corner.
  • Select the Cube and all child objects in this case the sphere, then file > export as kenshi mesh. Under the exporter options select "Apply Transform" and "Apply Modifiers". This should then generate a .mesh file. You then need to run this mesh through Ogre command line tools "Mesh Upgrader" (drag and drop it onto the exe).
  • Finally, place this new .mesh into your mod folder.
  • Load up the map, you should see giant cube in your map with no radar pings or collision.