Jump to content

Need damaged 3D models


Go to solution Solved by moggel,

Recommended Posts

Posted (edited)

I am currently working on a project to try and allow more realistic GBAD, with dense IADS more akin to what was the reality around Baghdad back during Desert Storm. To allow that I might need to simply remove destroyed groups, which won't look very good. So, it I could instead replace them with static objects, many depicting the burnt out hulks/wrecks of launchers, TELARs, trucks etc. that's bee great.

Can anyone suggest some mods that contains 3D models for damaged vehicles, or is there a clever way to get the ones already in the game?

Edited by moggel

i7-3930K CPU @ 3.20GHz; 16Gb DDR3; GeForce GTX 1070; Windows 10; TM Warthog HOTAS

  • moggel changed the title to Need damaged 3D models
Posted
On 9/2/2023 at 1:06 PM, razo+r said:

Select a static object and tick the box "dead" and you'll get a destroyed unit. 

Thanks, but I need to be able to do it from script. Can I create a static object from any (non-static) unit?

i7-3930K CPU @ 3.20GHz; 16Gb DDR3; GeForce GTX 1070; Windows 10; TM Warthog HOTAS

  • Solution
Posted

Answering my own question, in case more people have a need to substitute AI-controlled objects with simple statics, damaged or not. This can be achieved with MOOSE's SPAWNSTATIC code api. No need to even drop the intended static model on the map, just check the controlled object's type name and use it with the SPAWNSTATIC:NewFromType function to get a SPAWNSTATIC wrapper. Then use that wrapper's :Spawn-functions. If anyone's interested I can paste the code for a "substitute with static" script

i7-3930K CPU @ 3.20GHz; 16Gb DDR3; GeForce GTX 1070; Windows 10; TM Warthog HOTAS

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...