komemiute Posted September 10, 2012 Posted September 10, 2012 Hi fellow humans, I'm trying to create something, a ground unit in the specific case, but I actually lack any, ANY .LUA skill. Is there any documentation available for humans, available in human readable form? I'm by any means a robot, no no. I'm pretty much really a human entity, just like any of you. I will now put a graphical emotional enforcer for proving my point, aimed to increase your friendly attitude towards me. :) 01001011 01101111 01101101 01100101 01101101 01101001 01110101 01110100 01100101
Silver_Dragon Posted September 10, 2012 Posted September 10, 2012 That is a .Lua example extracted of the Beczl vehicle mod mount_vfs_model_path (current_mod_path.."/Shapes") mount_vfs_liveries_path (current_mod_path.."/Liveries") mount_vfs_texture_path (current_mod_path.."/Textures/beczl") GT = {}; GT_t.ws = 0; set_recursive_metatable(GT, GT_t.generic_wheel_vehicle); set_recursive_metatable(GT.chassis, GT_t.CH_t.MAZ543M); GT.chassis.life = 10; GT.visual.shape = "Maz-543_c" GT.visual.shape_dstr = "Maz-543_c_p_1" --chassis GT.swing_on_run = false --Burning after hit GT.visual.fire_size = 2.0 --relative burning size GT.visual.fire_pos[1] = -2 -- center of burn at long axis shift(meters) GT.visual.fire_pos[2] = 0 -- center of burn shift at vertical shift(meters) GT.visual.fire_pos[3] = 0 -- center of burn at transverse axis shift(meters) GT.visual.fire_time = 1500 --burning time (seconds)ng axis shift(meters) GT.Name = "MAZ-543 Heavy Cargo" GT.DisplayName = _("Transport MAZ-543 Heavy Cargo") GT.Rate = 100 GT.DetectionRange = 0; GT.ThreatRange = 0; GT.mapclasskey = "P0091000212"; GT.attribute = {wsType_Ground,wsType_Tank,wsType_NoWeapon,wsType_GenericVehicle, "Trucks", }; GT.category = "Unarmed"; add_surface_unit(GT) For Work/Gaming: 28" Philips 246E Monitor - Ryzen 7 1800X - 32 GB DDR4 - nVidia RTX1080 - SSD 860 EVO 1 TB / 860 QVO 1 TB / 860 QVO 2 TB - Win10 Pro - TM HOTAS Warthog / TPR / MDF
aaron886 Posted September 10, 2012 Posted September 10, 2012 Start by learning some LUA. Go find tutorials via google... that's a required base for doing this stuff! Then try to convert the sample above.
komemiute Posted September 11, 2012 Author Posted September 11, 2012 Ah. Good. Now. I meant a drivable one. But I saw a stub in the main thread... Is there anyone interested in making some $$$? I've got the idea and the knowledge to make something awesome. Unlike quite anything seen before. But still deserving a DCS title. Is anyone up to the challenge?
Recommended Posts