Pikey Posted June 26, 2018 Posted June 26, 2018 This 2kb mod adds some existing statics as units to all countries: Factory, Farm A, Chemical Tank, Comms Tower M, Oil Derrick, Pump station, TV Tower. WHY? This is a niche situation for mission designers where they are fed up with the limited amount of Fortification type units in game (such as the Outpost and a couple of bunkers) and want the above models to be applied to all countries and for them to be Unit types not Static types. BUT WHY? I'f you ever wrote Lua and tried to interface statics you will understand they work in a completely different way than units, they spawn differently, can't be manipulated as easily and above all, statics are not detected by AI so they don't go bombing statics unless you tell them to. I needed a solution for having multiple targets that were detected by AI and it was actually easier to just create these as statics, less code, less faffing around and I could change AI behaviour. It would have been rude of me not to share, but since I did it, It's now indexed by Google and the couple of people that may end up in this situation might find this or I can send them here. Known Issues? Of course, the Towers don't have the animations for falling over like the static does. I also tried to get the Oil Platform to work but ended up commenting it out because I saw a couple of DCS crashes. YMMV. No models are supplied with the mod, it references the existing DCS models and the code is reused from one of gazillions of lua files I had from over the years which follows the same format, so if you want to learn about modding, this might give some clues to someone about creation, since it's so simple. I don't intend to maintain or update this, if you want more, copy and paste a section in the code, find the edm and the damage model edm from Bazar folder and fiddle as you please! ;)PikeyStatics.zip ___________________________________________________________________________ SIMPLE SCENERY SAVING * SIMPLE GROUP SAVING * SIMPLE STATIC SAVING *
The_Dan Posted July 10, 2018 Posted July 10, 2018 That's a really nice mod! Thanks! Do clients on a server need this mod too or is it enough if the mission on the server is set up with this mod?
BlacleyCole Posted July 10, 2018 Posted July 10, 2018 I would like a mod that would allow the farp tile to show as ground when positioned over water like a man made island BlackeyCole 20years usaf XP-11. Dcs 2.5OB Acer predator laptop/ i7 7720, 2.4ghz, 32 gb ddr4 ram, 500gb ssd,1tb hdd,nvidia 1080 8gb vram New FlightSim Blog at https://blackeysblog.wordpress.com. Go visit it and leave me feedback and or comments so I can make it better. A new post every Friday.
Recommended Posts