Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. The Cayo Perico Heist
      2. Find Lobbies & Players
      3. Guides & Strategies
      4. Vehicles
      5. Content Creator
      6. Help & Support
    2. Red Dead Online

      1. Frontier Pursuits
      2. Find Lobbies & Outlaws
      3. Help & Support
    3. Crews

    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

    2. GTA VI

      1. St. Andrews Cathedral
    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
    6. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    7. GTA III

      1. Guides & Strategies
      2. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    3. Gangs

    1. Announcements

    2. Support

    3. Suggestions

[SA] IVF 211: EML (Tutorial for ZM2)


n4z1_f0rum

Recommended Posts

n4z1_f0rum

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).
eml_scheme.jpg

 

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

eml_material.jpg

 

4) Download example of .eml and .dff files, from my Lampo Cop:
http://www.mediafire.com/file/1tbws6qo6qbf1bq/EMLtutorial.rar/file
lampo_cop.jpg

  • Like 3
Link to post
Share on other sites
  • 3 months later...
  • 2 weeks later...
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

 

https://i.imgur.com/wXS56OW.png

Link to post
Share on other sites
  • 3 weeks later...
  • 2 weeks later...
n4z1_f0rum
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 by Automan
Link to post
Share on other sites
  • 2 months later...
arminnas
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!

01d6f51194640144.jpg 

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

  • Like 2
Link to post
Share on other sites
  • 1 month later...
Leinad

Automan, I have adapted your car FlyUS Feroci, with ImVehFt and EML

 

Looks great!

 

https://i.imgur.com/VqCUiu7.jpghttps://i.imgur.com/1ijK4e1.jpg

 

I will upload to gtainside, I'll give credits for the car model!

 

 

Link to post
Share on other sites
  • 1 month later...
  • 6 months later...
.nohopestage.
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!

01d6f51194640144.jpg 

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
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

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

 

5a35ac1333092513.jpg 772e091333092528.jpg 09bd671333092541.jpg 

Edited by arminnas
add pictures
Link to post
Share on other sites
.nohopestage.
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

 

5a35ac1333092513.jpg 772e091333092528.jpg 09bd671333092541.jpg 

Nope..

Link to post
Share on other sites
  • 2 months later...
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!

01d6f51194640144.jpg 

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
arminnas
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
  • 3 weeks later...
  • 2 months later...

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 by Amina
Link to post
Share on other sites
arminnas
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

 

  • YEE 1
Link to post
Share on other sites

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.