VStanced/mods
Submit a mod
Mods Guides Forum Submit a mod Log in Register

Forum

Questions, builds, help and the odd argument. The mods and guides are out front.

Notifications
Clear all

Light glows

7 Posts
4 Users
0 Reactions
2,417 Views
Roli
 Roli
(@roli_288)
Trusted Member
Joined: 16 years ago
Posts: 53
Topic starter   [#1247]

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



   
Quote
Jaziba
(@jaziba_3)
Member Admin
Joined: 17 years ago
Posts: 1318
 

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.



   
ReplyQuote
Jesus_Christ
(@jesus_christ)
Member Admin
Joined: 17 years ago
Posts: 2837
 

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



   
ReplyQuote
Roli
 Roli
(@roli_288)
Trusted Member
Joined: 16 years ago
Posts: 53
Topic starter  

thx edd, thats what i wanted to know. is there a way to change the size of the "bulb"?



   
ReplyQuote
Jesus_Christ
(@jesus_christ)
Member Admin
Joined: 17 years ago
Posts: 2837
 

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 ๐Ÿ˜ฎ



   
ReplyQuote
Franco
(@franco_4)
Member Admin
Joined: 17 years ago
Posts: 774
 

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.



   
ReplyQuote
Jesus_Christ
(@jesus_christ)
Member Admin
Joined: 17 years ago
Posts: 2837
 

yeah thats why you need the 2nd line i showed with the tint RGB code that will add some light on the floor too 🙂



   
ReplyQuote
Share: