shagrat Posted October 22, 2013 Posted October 22, 2013 Hello. I just finished messing around with Upuaut's Helipads to convert them into a Mod placed in the mod folder (not changing files in DCS World!) The problem is, all Objects are placed in a 90° angle to the terrain feature beneath... so a Tower on a hill or mountain looks like an extreme persiflage of the Pisa Tower :D I couldn't find a hint what attribute you need to add to change that. Any ideas? Here is what I learned from the 476th Weapons Range Targets mod and adjusted for the helipads: mount_vfs_model_path (current_mod_path.."/Shapes/") mount_vfs_texture_path (current_mod_path.."/Textures/staddons.zip") GT = {}; set_recursive_metatable(GT, GT_t.generic_stationary) set_recursive_metatable(GT.chassis, GT_t.CH_t.STATIC); GT.chassis.life = 1000 GT.visual.shape = "helipadgrid" GT.visual.shape_dstr = "helipadgrid" GT.CustomAimPoint = {1,1,0} GT.visual.fire_size = 0 GT.visual.fire_pos = {-2,0,0}; GT.visual.fire_time = 0 GT.time_agony = 180; GT.Name = "helipadgrid" GT.DisplayName = _("Helipad - Grid small") GT.Rate = 1 GT.DetectionRange = 0; GT.ThreatRange = 0; GT.mapclasskey = "P0091000076"; GT.attribute = {wsType_Ground,wsType_Tank,wsType_NoWeapon,wsType_GenericFort, "Fortifications", }; GT.category = "Fortification"; add_surface_unit(GT) Shagrat - Flying Sims since 1984 - Win 10 | i5 10600K@4.1GHz | 64GB | GeForce RTX 3090 - Asus VG34VQL1B | TrackIR5 | Simshaker & Jetseat | VPForce Rhino Base & VIRPIL T50 CM2 Stick on 200mm curved extension | VIRPIL T50 CM2 Throttle | VPC Rotor TCS Plus/Apache64 Grip | MFG Crosswind Rudder Pedals | WW Top Gun MIP | a hand made AHCP | 2x Elgato StreamDeck (Buttons galore)
SkateZilla Posted October 23, 2013 Posted October 23, 2013 What are your EDM Exporter Settings? There should be Different Options for Export Space (Land Sea etc) Windows 10 Pro, Ryzen 2700X @ 4.6Ghz, 32GB DDR4-3200 GSkill (F4-3200C16D-16GTZR x2), ASRock X470 Taichi Ultimate, XFX RX6800XT Merc 310 (RX-68XTALFD9) 3x ASUS VS248HP + Oculus HMD, Thrustmaster Warthog HOTAS + MFDs
shagrat Posted October 23, 2013 Author Posted October 23, 2013 Thanks for the answers so far. Noodle you're absolutely right. I simply put the Edm models from Upuaut's Heliports into a more convenient structure, and used your lua files as an example to start. I already tried the different wsType settings, but no joy. wsType_static was my greatest hope, but it is hardwired to Airfield/FARP heliports. No generic type. It seems there is no wsType for a static building or structure available at the moment. Editing the sht would work, but you are right: it would defeat the purpose of a mod. If anybody knows if there is a trick to get this straight, please let us know. If not, maybe an idea for a coming update? Setting wsType for custom Buildings/structures Shagrat - Flying Sims since 1984 - Win 10 | i5 10600K@4.1GHz | 64GB | GeForce RTX 3090 - Asus VG34VQL1B | TrackIR5 | Simshaker & Jetseat | VPForce Rhino Base & VIRPIL T50 CM2 Stick on 200mm curved extension | VIRPIL T50 CM2 Throttle | VPC Rotor TCS Plus/Apache64 Grip | MFG Crosswind Rudder Pedals | WW Top Gun MIP | a hand made AHCP | 2x Elgato StreamDeck (Buttons galore)
Recommended Posts