Leg2ion Posted June 23 Posted June 23 Hi All,# After a steer if possible? Have created 3 models, which I have placed into the shapes folder in save games. Then have an entry lua, with the following:] dofile(current_mod_path..'/Base_1.lua') dofile(current_mod_path..'/Basic_25.lua') dofile(current_mod_path..'/MT_Hangar.lua') So these are basically pointing at three individual luas - one for each of my models. Each of these luas then detail each model, so as an example: GT.visual.shape = "Base_1" GT.visual.shape_dstr = "Base_1" My problem is that in the mission editor I can only see the first model, the other 2 do not appear? Not sure what I am doing wrong - so any help appreciated as ever. Do I need to combine the three individual luas calling out the statics into one file? Thanks in advance - hopefully thats enough info? AMD Ryzen 5 5600X; ASUS ROG Strix X570-F, Corsair Vengeance 64 GB (2x 32GB) 3600MHz; Seagate FireCuda 510 500GB M.2-2280 (OS); Samsung 860 EVO 2TB M.2-2280 (DCS); MSI GeForce RTX 3090 SUPRIM X 24GB OC GPU. TM Warthog Hotas; T.Flight Pedals; DelanClip/Trackhat.
Oban Posted June 24 Posted June 24 11 hours ago, Leg2ion said: Hi All,# After a steer if possible? Have created 3 models, which I have placed into the shapes folder in save games. Then have an entry lua, with the following:] dofile(current_mod_path..'/Base_1.lua') dofile(current_mod_path..'/Basic_25.lua') dofile(current_mod_path..'/MT_Hangar.lua') So these are basically pointing at three individual luas - one for each of my models. Each of these luas then detail each model, so as an example: GT.visual.shape = "Base_1" GT.visual.shape_dstr = "Base_1" My problem is that in the mission editor I can only see the first model, the other 2 do not appear? Not sure what I am doing wrong - so any help appreciated as ever. Do I need to combine the three individual luas calling out the statics into one file? Thanks in advance - hopefully thats enough info? They need to be made as a static mod AMD Ryzen 9 7845HX with Radeon Graphics 3.00 GHz 32 GB RAM 2 TB SSD RTX 4070 8GB Windows 11 64 bit
Leg2ion Posted June 24 Author Posted June 24 Thanks @Oban. Apologies as you are dealing with a complete newb in this. I have modelled three structures in Blender and exported to EDM. When you say need to be made as a static mod what exactly do you mean? In the luas the 'dofiles' point to they are set as static: GT = {}; set_recursive_metatable(GT, GT_t.generic_stationary) set_recursive_metatable(GT.chassis, GT_t.CH_t.STATIC); GT.chassis.life = 1 AMD Ryzen 5 5600X; ASUS ROG Strix X570-F, Corsair Vengeance 64 GB (2x 32GB) 3600MHz; Seagate FireCuda 510 500GB M.2-2280 (OS); Samsung 860 EVO 2TB M.2-2280 (DCS); MSI GeForce RTX 3090 SUPRIM X 24GB OC GPU. TM Warthog Hotas; T.Flight Pedals; DelanClip/Trackhat.
Oban Posted June 25 Posted June 25 So.. create a folder in Tech Call it Base_1 Inside that folder create 2 morew folders called Textures Shapes Create an entry lua for it The textures of the model need to be linked to the textures folder for them to appear in game. There's a thread in the modelling about creating a static object as you have, it's how I started off, putting statics in.. AMD Ryzen 9 7845HX with Radeon Graphics 3.00 GHz 32 GB RAM 2 TB SSD RTX 4070 8GB Windows 11 64 bit
Leg2ion Posted June 26 Author Posted June 26 Thanks @Oban Everything exactly as I did it. Don't know why, but after my first failure, booted up the next day and all my models appeared - so not quite sure what happened there. One further question though. I have modelled a dispersal, and then buildings to place on it. When I add them into DCS ME - they sink through the tarmac. How would I go about stopping that happening? Grateful for any/all info! AMD Ryzen 5 5600X; ASUS ROG Strix X570-F, Corsair Vengeance 64 GB (2x 32GB) 3600MHz; Seagate FireCuda 510 500GB M.2-2280 (OS); Samsung 860 EVO 2TB M.2-2280 (DCS); MSI GeForce RTX 3090 SUPRIM X 24GB OC GPU. TM Warthog Hotas; T.Flight Pedals; DelanClip/Trackhat.
Oban Posted June 26 Posted June 26 Sounds like they need to have a collision model AMD Ryzen 9 7845HX with Radeon Graphics 3.00 GHz 32 GB RAM 2 TB SSD RTX 4070 8GB Windows 11 64 bit
Leg2ion Posted June 27 Author Posted June 27 Thanks @Oban Did think of that - and all have both collision liness and collision shells. I can happily crash into each model - just they sink trough each other when I create them in blender. Is there something I should be adding to the lua? AMD Ryzen 5 5600X; ASUS ROG Strix X570-F, Corsair Vengeance 64 GB (2x 32GB) 3600MHz; Seagate FireCuda 510 500GB M.2-2280 (OS); Samsung 860 EVO 2TB M.2-2280 (DCS); MSI GeForce RTX 3090 SUPRIM X 24GB OC GPU. TM Warthog Hotas; T.Flight Pedals; DelanClip/Trackhat.
Recommended Posts