n4z1_f0rum 287 Posted September 16, 2018 Share Posted September 16, 2018 The information to be able to use EML (Emergency Light Mod) of IVF (Improved Vehicle Features) version 2.1.1, by the master DK22pac. With 3 clarifications, it can understand how to use this feature in Zanoza Modeler 2. 1) First of all, the emergency light information file is not only one, but a file for each vehicle needs to be done. Therefore, it is neither the eml_example.dat file nor the eml.dat file. The file will have .eml extension, not .dat. I recommend calling the file as the .dff/.txd template. For example: copcarvg.dff/txd -> copcarvg.eml The .eml files must be placed in the folder: (...)GTA San Andreas\ImVehFt\eml 2) In the emergency lights data, in the .eml file, there is no key element, that is: # ID vehicle.ide - # lights (1 to 16). 596 8 596 is the ID for copcarla it to vehicle.ide, while 8 are the lights that will be used for coping, 4 front and 4 rear, 2 red and 2 blue per part, maybe. Data strings: # ID_parent ID R G B A light_type corona_size shadow_size flash_inertia num_switches starting_state switching_time contain 13 parameters, more or less easy to understand. To read them better: ID_parent ID R \ G \____ RGBA color light, in hexadecimal or decimal (FF -> 255) B / A / light_type (0-front<>4-rear) corona_size shadow_size flash_inertia num_switches (0-on/off<>1-off/on) starting_state switching_time It is indispensable that the number of lights strings matches the number of dummies in the .dff template, otherwise there will be a program crash. Standard data are: 1 0 E0 00 00 80 0 0.3 3 15.0 2 1 400 800 2 0 00 00 E0 80 0 0.3 3 15.0 2 1 400 800 (The first light is red, the second is blue). 3) The dummies of the lights in the .dff model are from 1 to 16, and are called: light_em1 -> light_em16 Texture management does not use texture, because the color of the light will be assigned to the 3d mesh from the eml file. The RGB of the 16 lights are: (R) 255 -> 240 (G) 0 (B) 0 ZM2 does not distinguish materials with the same textures but with different RGB. It is necessary to use 16 [env:xx], but ZM2 does not even distinguish these in sequence, for example from 8 to 23. It can use these env values: 7-8-9-11-12-14-19-21-22-24-25-26-28-29-31 (Use env:13 for mirror, without texture). Note!: In ZM2 we need to expand the Material Editors window to full screen to set all RGB values. So, table: em#: 1- 2- 3- 4- 5- 6- 7- 8- 9- 10- 11- 12- 13- 14- 15- 16 env: 7- 8- 9- 11- 12- 14- 16- 17- 18- 19- 21- 22- 24- 25- 26- 28 red: (green and blue=0) 255-254-253-252-251-250-249-248-247-246-245-244-243-242-241-240 4) Download example of .eml and .dff files, from my Lampo Cop:http://www.mediafire.com/file/1tbws6qo6qbf1bq/EMLtutorial.rar/file 3 Link to post Share on other sites
Miami1884 1 Posted December 26, 2018 Share Posted December 26, 2018 Til today i have no clue what "parent id" is for or how to use it. Link to post Share on other sites
Leinad 129 Posted January 6, 2019 Share Posted January 6, 2019 I have added a new copbike, (this cop bike https://www.gtainside.com/en/sanandreas/bikes/120064-gta-tbogt-police-bike/) but eml didn't works. does I have to edit EML file to work with the new bike? Link to post Share on other sites
Leinad 129 Posted January 6, 2019 Share Posted January 6, 2019 38 minutes ago, Leinad said: I have added a new copbike, (this cop bike https://www.gtainside.com/en/sanandreas/bikes/120064-gta-tbogt-police-bike/) but eml didn't works. does I have to edit EML file to work with the new bike? Nevermind, I just had edit the .eml file with notepad, i just changed the id 523 by the new one, everything it's possible with mods Link to post Share on other sites
Pavilion_Seon 0 Posted January 24, 2019 Share Posted January 24, 2019 Only Zmodeler?.. I use 3d max but I crash all try.. (sorry for my bad english..) Link to post Share on other sites
n4z1_f0rum 287 Posted February 4, 2019 Author Share Posted February 4, 2019 (edited) On 12/26/2018 at 9:04 PM, Miami1884 said: Til today i have no clue what "parent id" is for or how to use it. On 1/24/2019 at 8:39 AM, Pavilion_Seon said: Only Zmodeler?.. I use 3d max but I crash all try.. (sorry for my bad english..) Sorry for the wait, I did not have the message notify! 'Parent ID' is only the sequence from 1 to 16 of the data strings. 'ID' is always 0. Only ZM2. I use 3ds max only for the peds rig. (And not even so much now, with the magnificent masterpiece of the OS W-10 ..) It seems strange that 3ds max crashes... Only part 3) requires the use of the modeling program, and in addition to the creation of dummies, there is only the management of materials. Of course, 3ds max does not have the ZM2 tags ([env:9, spec]), and the 'environment reflection', with non-sequential values, 16 (7-8-9-11-12-14-16-17-18-19-21-22-24-25-26-28), serves only to bypass the problem with the materials that has ZM2 -and its problem of values of [env]...) Edited February 4, 2019 by Automan Link to post Share on other sites
arminnas 33 Posted April 14, 2019 Share Posted April 14, 2019 On 1/24/2019 at 11:09 AM, Pavilion_Seon said: Only Zmodeler?.. I use 3d max but I crash all try.. (sorry for my bad english..) If you using 3ds max just follow this tutorial: 1. you need create gta material and use this setting! A. you have to set first material color to👇 RGB 255 0 0 (Red=255 Green=0 Blue=0) second material color is 👇 RGB 254 0 0 (Red=254 Green=0 Blue=0) and so on... you can have 16 eml lights on a car so your last material color would be 👇 RGB 240 0 0 (Red=240 Green=0 Blue=0) if you want you can use texture for your materials but remember don't use vehiclelights texture its crash in game!! change the name what do you want such as lightbar or blahblah 😁 also you can use reflection and specular image don't worry about it ( I never use it because with SA_Directx2 the lights have more reflection and doesn't look like realistic) create N dummys and named it light_emN. (N means homw many lights you have) for example light_em1......light_em16. 16 is max and thats it. its ready to export 2 Link to post Share on other sites
Leinad 129 Posted May 28, 2019 Share Posted May 28, 2019 Automan, I have adapted your car FlyUS Feroci, with ImVehFt and EML Looks great! I will upload to gtainside, I'll give credits for the car model! Link to post Share on other sites
Leinad 129 Posted July 5, 2019 Share Posted July 5, 2019 Automan, it is possible add EML lights to Boats? Link to post Share on other sites
.nohopestage. 2 Posted January 27, 2020 Share Posted January 27, 2020 On 4/14/2019 at 2:52 PM, arminnas said: If you using 3ds max just follow this tutorial: 1. you need create gta material and use this setting! A. you have to set first material color to👇 RGB 255 0 0 (Red=255 Green=0 Blue=0) second material color is 👇 RGB 254 0 0 (Red=254 Green=0 Blue=0) and so on... you can have 16 eml lights on a car so your last material color would be 👇 RGB 240 0 0 (Red=240 Green=0 Blue=0) if you want you can use texture for your materials but remember don't use vehiclelights texture its crash in game!! change the name what do you want such as lightbar or blahblah 😁 also you can use reflection and specular image don't worry about it ( I never use it because with SA_Directx2 the lights have more reflection and doesn't look like realistic) create N dummys and named it light_emN. (N means homw many lights you have) for example light_em1......light_em16. 16 is max and thats it. its ready to export Hey this sh*t doesn't works and i have no idea what's wrong right now Link to post Share on other sites
arminnas 33 Posted January 29, 2020 Share Posted January 29, 2020 On 1/28/2020 at 12:11 AM, .nohopestage. said: Hey this sh*t doesn't works and i have no idea what's wrong right now let me see your model Link to post Share on other sites
.nohopestage. 2 Posted February 3, 2020 Share Posted February 3, 2020 On 1/29/2020 at 12:16 PM, arminnas said: let me see your model https://www.upload.ee/files/11072976/County_Sheriff_Police.7z.html Link to post Share on other sites
arminnas 33 Posted February 3, 2020 Share Posted February 3, 2020 6 hours ago, .nohopestage. said: https://www.upload.ee/files/11072976/County_Sheriff_Police.7z.html delete light bar from chassis_vlo!!!!!!!!!!!! Link to post Share on other sites
.nohopestage. 2 Posted February 3, 2020 Share Posted February 3, 2020 3 hours ago, arminnas said: delete light bar from chassis_vlo!!!!!!!!!!!! https://www.upload.ee/files/11076043/copcarru.dff.html Game still crash Link to post Share on other sites
arminnas 33 Posted February 4, 2020 Share Posted February 4, 2020 (edited) my game crashed since I delete the light bar! also I forget to say that I use my old setting for eml file, try this one # ID vehicle.ide - # lights (1/16) 599 13 # id parent id R G B A light type corona size shadow size flash inertia num switches starting state switching time 1 0 0 0 255 80 4 1.0 6 15.0 2 0 100 250 2 0 0 0 255 80 4 1.0 6 15.0 2 1 100 250 3 0 0 0 255 80 4 1.0 6 15.0 2 0 100 250 4 0 255 255 255 80 4 1.0 6 15.0 2 1 100 250 5 0 255 255 255 80 4 1.0 6 15.0 2 0 100 250 6 0 255 0 0 80 4 1.0 6 15.0 2 1 100 250 7 0 255 0 0 80 4 1.0 6 15.0 2 0 100 250 8 0 255 0 0 80 4 1.0 6 15.0 2 1 100 250 9 0 255 0 0 80 4 1.0 6 15.0 2 1 100 250 10 0 255 0 0 80 4 1.0 6 15.0 2 1 100 250 11 0 255 0 0 80 4 1.0 6 15.0 2 1 100 250 12 0 255 0 0 80 4 1.0 6 15.0 2 1 100 250 13 0 255 0 0 80 4 1.0 6 15.0 2 1 100 250 this is for test because after 10 id I add 3 copy of 10 id so the (id 11-12-13) are red, fix yourself Edited February 4, 2020 by arminnas add pictures Link to post Share on other sites
.nohopestage. 2 Posted February 4, 2020 Share Posted February 4, 2020 11 hours ago, arminnas said: my game crashed since I delete the light bar! also I forget to say that I use my old setting for eml file, try this one # ID vehicle.ide - # lights (1/16) 599 13 # id parent id R G B A light type corona size shadow size flash inertia num switches starting state switching time 1 0 0 0 255 80 4 1.0 6 15.0 2 0 100 250 2 0 0 0 255 80 4 1.0 6 15.0 2 1 100 250 3 0 0 0 255 80 4 1.0 6 15.0 2 0 100 250 4 0 255 255 255 80 4 1.0 6 15.0 2 1 100 250 5 0 255 255 255 80 4 1.0 6 15.0 2 0 100 250 6 0 255 0 0 80 4 1.0 6 15.0 2 1 100 250 7 0 255 0 0 80 4 1.0 6 15.0 2 0 100 250 8 0 255 0 0 80 4 1.0 6 15.0 2 1 100 250 9 0 255 0 0 80 4 1.0 6 15.0 2 1 100 250 10 0 255 0 0 80 4 1.0 6 15.0 2 1 100 250 11 0 255 0 0 80 4 1.0 6 15.0 2 1 100 250 12 0 255 0 0 80 4 1.0 6 15.0 2 1 100 250 13 0 255 0 0 80 4 1.0 6 15.0 2 1 100 250 this is for test because after 10 id I add 3 copy of 10 id so the (id 11-12-13) are red, fix yourself Nope.. Link to post Share on other sites
arminnas 33 Posted February 4, 2020 Share Posted February 4, 2020 1 hour ago, .nohopestage. said: Nope.. try this one County_Sheriff_Police Link to post Share on other sites
.nohopestage. 2 Posted February 5, 2020 Share Posted February 5, 2020 (edited) 3 hours ago, arminnas said: try this one County_Sheriff_Police Oh my god everything is good thank you but it's some bugged materials there since i export dff so can you try to fix it? https://www.upload.ee/files/11081105/County_Sheriff_Police.7z.html Edited February 5, 2020 by .nohopestage. Link to post Share on other sites
thegod1 3 Posted April 9, 2020 Share Posted April 9, 2020 On 4/14/2019 at 2:52 PM, arminnas said: If you using 3ds max just follow this tutorial: 1. you need create gta material and use this setting! A. you have to set first material color to👇 RGB 255 0 0 (Red=255 Green=0 Blue=0) second material color is 👇 RGB 254 0 0 (Red=254 Green=0 Blue=0) and so on... you can have 16 eml lights on a car so your last material color would be 👇 RGB 240 0 0 (Red=240 Green=0 Blue=0) if you want you can use texture for your materials but remember don't use vehiclelights texture its crash in game!! change the name what do you want such as lightbar or blahblah 😁 also you can use reflection and specular image don't worry about it ( I never use it because with SA_Directx2 the lights have more reflection and doesn't look like realistic) create N dummys and named it light_emN. (N means homw many lights you have) for example light_em1......light_em16. 16 is max and thats it. its ready to export How can I copy a dummy? Like a car has a thousand dummies and I want to copy to my car, how can I do? Link to post Share on other sites
bogdan916 0 Posted April 14, 2020 Share Posted April 14, 2020 Can someone make a tutorial about the textures? How to texture in different colors Link to post Share on other sites
arminnas 33 Posted April 15, 2020 Share Posted April 15, 2020 On 4/9/2020 at 3:11 PM, thegod1 said: How can I copy a dummy? Like a car has a thousand dummies and I want to copy to my car, how can I do? dummy for what? lights? bumpers? others? copy a dummy from original dff model and name it such as "headlights" "taillights" for front and rear lights, if you use ivf and you want add indicators, reverse lights fog lights, just read the DK22's readme and named a dummy to each lights that you want. if you want to convert police or ambulance car and you want it has emergency lights, you need create maximum 16 dummys for eml lights. here's from dk22's readme: =Emergency light= Format: light_em<number id from eml.dat> Example: light_em1 Number of max components: 16 Parameters are set with eml.dat. Link to post Share on other sites
Evgeny228 0 Posted April 16, 2020 Share Posted April 16, 2020 I'm sorry, what is the num switches parameter responsible for? Link to post Share on other sites
[email protected]_ 4 Posted May 4, 2020 Share Posted May 4, 2020 How do you do to work only with textures? Without the 3d model adopting the coloration of the .eml, it only works with textures. I use 3ds max. This effect https://youtu.be/By76uu7GxUI Link to post Share on other sites
Amina 0 Posted July 21, 2020 Share Posted July 21, 2020 (edited) can someone help me?so i did everething there is lights glow but textures are not glowing.how to fix it pls tellme on discord Giorgi#7621 thanks Edited July 21, 2020 by Amina Link to post Share on other sites
arminnas 33 Posted July 21, 2020 Share Posted July 21, 2020 3 hours ago, Amina said: can someone help me?so i did everething there is lights glow but textures are not glowing.how to fix it pls tellme on discord Giorgi#7621 thanks 1 Link to post Share on other sites
Amina 0 Posted July 23, 2020 Share Posted July 23, 2020 id dont use 3ds max i use zmodler and On 7/21/2020 at 9:48 PM, arminnas said: i dont use 3ds max i use zmodler and if you know tutorial on zmodler can you link it for me thanks. Link to post Share on other sites
arminnas 33 Posted July 25, 2020 Share Posted July 25, 2020 On 7/23/2020 at 12:06 PM, Amina said: id dont use 3ds max i use zmodler and i dont use 3ds max i use zmodler and if you know tutorial on zmodler can you link it for me thanks. sorry I don't use zmodeler, did you use "default" texture name or vehiclelights name for light's texture? Link to post Share on other sites