Colonel Mustache Posted June 19, 2011 Posted June 19, 2011 Hi everyones, try to make it short, and sorry for my english :music_whistling: I started some modelisation of new statics objects such as bomb lifter, power generator, extinguisher, ladders, ground crew, etc... To... You know, to have more "alive" airbase. I used Max8 with ED plugins (designed for lockon right !?) but after the export and copying it in the good folder, i can't find it in the "static objects" list in the ME... :cry: I try to replace an existing Static Object by a new one (with the same name) it parciatly work, in the way that I can see the label in game, but no textures. The objects is invisible. SO, my question is; How to add new statics objects, or what's the pipeline to do and integrate new objects !??????! If someone could help, i can share this objects to the community, fot those are interested of couse. Thanks guys to read that :D
SmokeyTheLung Posted June 21, 2011 Posted June 21, 2011 I hope you have some luck with this, love the idea wish I could help System specifications: Computer, joystick, DCS world, Beer
aaron886 Posted June 21, 2011 Posted June 21, 2011 Hi Colonel... nice name! :D Something like this, I wrote this down so I don't forget how to add objects in the future. Reference other entries in those files, and this will make more sense. I do, however, occasionally get errors when adding the new objects in the mission editor. Someone might be able to shed light on that, I'm probably missing a step. There are 4 index files to modify. Bazar/structtable.sht: (below "default" entry) -------------------------------------------------------- shape { file = "object"; life = 120; fire = { 0, 2}; username = "objectdisplayname"; } Scripts/Database/db_countries.lua: (in USA Fortifications section, or for country of choice) -------------------------------------------------------- cnt_unit("{unique GUID}", "objectdisplayname"), Scripts/Database/db_units_ground.lua: (in Fortification section) --------------------------------------------------------- fortification("{unique GUID}", "objectdisplayname", _("object"), "object", 100); BlackShark/data/scripts/unitsclasses.lua: (in Building section) -------------------------------------------------------- ["objectdisplayname"] = "P0091000076",
Colonel Mustache Posted June 22, 2011 Author Posted June 22, 2011 Thx guys !!! :smilewink: That's a big step forward Aaron, thx man !! I'll investigate this way. I'll give update if i find something !! And everyones are welcome for some help :helpsmilie::D I think textures need to be DDS and put somewhere in a compressed zip textures, and declared in an other LUA
aaron886 Posted June 22, 2011 Posted June 22, 2011 Nope, textures are either 24-bit bitmaps, or 24/32-bit TGA files. They can be placed in the /TempTextures folder for uncompressed use, but that may hurt performance. Alternatively, they can be placed in archives and used that way, but honestly I do all my modding for FC2, so I don't know how to. In fact, I totally forgot that this was in the DCS forum... so my previous suggestions may not work either, but it's worth a try.
spooks2k1 Posted July 5, 2011 Posted July 5, 2011 Perfect! works a treat :thumbup: //new_building shape { file = "new_building"; life = 40; fire = { 0, 2}; desrt = "new_building_crush"; username = "new buildings"; } shape { file = "new_building_crush"; desrt = "self"; }I added extra lines for the destruction, I'm not sure if these need a new index number, or classname. It seems to work ok without one. aaron, you is de man :D
Recommended Posts