Jump to content
Insus100

Figure out if an item is a light or a rotor.

Recommended Posts

Hello, so I'm messing with Lundy's carcols.ymt, but I can't figure out if an item is a rotor (no light/corona) or an actual light that produces a corona.

Here an example:

Spoiler

 <sirens>
        <Item>
          <rotation>
            <delta value="-0.01000000"/>
            <start value="0.00000000"/>
            <speed value="0.00000000"/>
            <sequencer value="4294967295"/>
            <multiples value="1"/>
            <direction value="false"/>
            <syncToBpm value="false"/>
          </rotation>
          <flashiness>
            <delta value="3.14159300"/>
            <start value="0.00000000"/>
            <speed value="0.00000000"/>
            <sequencer value="4294967295"/>
            <multiples value="2"/>
            <direction value="true"/>
            <syncToBpm value="true"/>
          </flashiness>
          <corona>
            <intensity value="25.00000000"/>
            <size value="2.00000000"/>
            <pull value="0.20000000"/>
            <faceCamera value="false"/>
          </corona>
          <color value="0xFFFF1405"/>
          <intensity value="1.00000000"/>
          <lightGroup value="1"/>
          <rotate value="true"/>
          <scale value="true"/>
          <scaleFactor value="2"/>
          <flash value="true"/>
          <light value="true"/>
          <spotLight value="true"/>
          <castShadows value="false"/>
        </Item>
        <Item>
          <rotation>
            <delta value="-0.01000000"/>
            <start value="0.00000000"/>
            <speed value="0.00000000"/>
            <sequencer value="4294967295"/>
            <multiples value="1"/>
            <direction value="false"/>
            <syncToBpm value="false"/>
          </rotation>
          <flashiness>
            <delta value="3.14159300"/>
            <start value="1.00000000"/>
            <speed value="0.00000000"/>
            <sequencer value="4294967295"/>
            <multiples value="2"/>
            <direction value="true"/>
            <syncToBpm value="true"/>
          </flashiness>
          <corona>
            <intensity value="25.00000000"/>
            <size value="2.00000000"/>
            <pull value="0.20000000"/>
            <faceCamera value="false"/>
          </corona>
          <color value="0xFFFF1405"/>
          <intensity value="1.00000000"/>
          <lightGroup value="1"/>
          <rotate value="true"/>
          <scale value="true"/>
          <scaleFactor value="2"/>
          <flash value="true"/>
          <light value="true"/>
          <spotLight value="true"/>
          <castShadows value="false"/>
        </Item>

Until 20.

They all have <rotate value="true"/>, if someone wonders.
I need to assign my car siren1, 2, 3... but I don't know which corresponds to a rotator or light.

If you watch this you see the lightbar has rotors and coronas (which are separated items in the carcols.ymt) and thats what I need to figure out so I don't put a rotor id instead of a corona.:

https://www.youtube.com/watch?v=FduB_8uWuZ0
Thanks.

Edited by Insus100
bug

Share this post


Link to post
Share on other sites

Bumpp

If you don't understand what I'm asking for, make sure to tell me so I can clarify it.

Edited by Insus100

Share this post


Link to post
Share on other sites

Thanks, in my carcols, al the items have it on true, so I finally decided to make a car with 20 dummys and test them ingame to see how it looks like. Thanks for your help.

Share this post


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

×