Author Message

Roli

at
Posts: 57

Location: Austria
Occupation:
Age: 37
V$:
#1   2011-09-11 18:33          
hey guys, today i noticed that u make the light glows different, then the stadrd cars are, i looked on the mini, in the rpk. but i do not understand what each thing does. i have looked for a tutorial or somthing. could u guys explain me how u do such awsome glows?

thx :) i know its a pretty stupid question, i its long time ago i did glows xD

Jaziba

nl
Posts: 1360

Location: Netherlands
Occupation: Mr. Ultralow
Age: 31
V$: 10.958
#2   2011-09-11 21:53          
uhm, make a mesh of the glow, apply texture export and script as light glow replacing a current one. idduno you should see it done, i kinda learnt by trying stuff.
Xtreme Budget Build Setup
- ASUS P8H61-I
- Intel Core i5 3570
- Corsair Vengeance 16GB DDR3
- MSI GTX 1070 AERO ITX 8GB
- Silverstone SG13 mini-ITX w/ Corsair CS450M PSU
- Samsung 750 EVO 250GB SSD
- Samsung 1TB

If you support my mods, you can always buy me a beer to keep motivated!


kkilla305: "Yo dawg, I heard you like you, so we made you into me so you can me while you you"



Jesus Christ

uk
Posts: 2977

Location: United Kingdom
Occupation: Turning water into protein
Age: 33
V$: LOAD£D
#3   2011-09-11 23:45          
nah i guess he's talking about the "HID/BLUE and SMALL ORB" thing.. so yeah in the cfg of the light you'll see i've used a different ID now copy that ID from CFG and in RPK you'll find a part like:

<FILE 00000275.res >
typeof 13
superid 0x00030007
typeid 0x0000AF19
alias taillights
isparentcompatible 1.00
</FILE>
<FILE 00000275.rsd >
type fakespot
diffuse 1.000 1.000 1.000 1.000
specular 0.000 0.000 0.000 0.000
ambient 1.000 0.000 0.000 0.000
position 0.000 0.000 0.000
direction 0.000 0.000 -1.000
range 5.000
attenuation 1.000 0.030 0.000
theta 1.396
phi 1.920
lf_texture 0x00030100
lf_glow_color 1.000 1.000 0.000 0.000
lf_glow_colortype 2.000
lit_dynamic 1.000
attH_texture 0x0003000B
attV_texture 0x0003000C
lf_glow_offset 4.000
lf_glow_minsize 0.100
lf_glow_maxsize 2.000
lf_ray_minwidth 2.000
lf_ray_maxwidth 2.000
lf_ray_minlenght 1.000
lf_ray_maxlenght 70.000
lf_flare_minsize 1.000
lf_flare_maxsize 3.000
lf_flare_distance 1.000
lf_texturemode 2.000
</FILE>

add this and use the ID from that in the light cfg

to get the blue tint duplicate the possition of the main small orb and use this in cfg

render 0x00030008 -0.028 -0.022 -0.084 0.000 0.000 0.000 ; CITY
flags 4
colors 1 0xFF6fc0ff


the orange bit being the RGB code of the colour you want for the tint

that should explain it
Why be a KING when you can be a GOD?!

Roli

at
Posts: 57

Location: Austria
Occupation:
Age: 37
V$:
#4   2011-09-12 13:04          
thx edd, thats what i wanted to know. is there a way to change the size of the "bulb"?

Jesus Christ

uk
Posts: 2977

Location: United Kingdom
Occupation: Turning water into protein
Age: 33
V$: LOAD£D
#5   2011-09-12 15:41          
lf_glow_maxsize 2.000

this line i think i don't remember exactly as it was quite some time ago when we last played with this together with maryus.. :) but you should simply try changing them all and see what does what i never had time/need to play around with it

also you'll notice in my mods i've used 2x different ones one for front(white orb) one for rear (orange orb) the orb colour as far as i can remember was changed with this


diffuse 1.000 1.000 1.000 1.000

no way can i tell how we changed it from red to white but you need to experiment again :o
Why be a KING when you can be a GOD?!

Franco

ar
Posts: 1082

Location: Argentina hmmmm
Occupation: Franco
Age: 32
V$:
#6   2011-09-12 20:30          
i remember i changed it from red to white... but ye, as edd said it was some time ago.... also take notice that if you leave only this "custom bulb" you won't have any light in the floor.

Jesus Christ

uk
Posts: 2977

Location: United Kingdom
Occupation: Turning water into protein
Age: 33
V$: LOAD£D
#7   2011-09-13 01:17          
yeah thats why you need the 2nd line i showed with the tint RGB code that will add some light on the floor too :)
Why be a KING when you can be a GOD?!