turn on and off Lights

Modding school: Learn it from the masters
Post Reply
User avatar
djpanta
Posts: 60
Joined: 14 Jan 2015 12:38
Donation rank:
Location: Sizilien
Contact:

23 Dec 2015 15:34

I have a problem .I want that I can switched on and of the cabinlight and the round lights with different buttons
see the screenshot

can someone help me
1.jpg
1.jpg (74.02 KiB) Viewed 3053 times
2.jpg
2.jpg (104.34 KiB) Viewed 3053 times
info:
the truck is
man_tgx_euro6_byMADster_v1.5

thans for help
Image
Image

User avatar
mbman212
Posts: 3356
Joined: 15 Aug 2014 09:15
Donation rank:
Location: Tampere, Finland
Contact:

23 Dec 2015 16:47

You are using a mod and therefore you can't change the button mappings for beacons and cab lights. The "O" key is the default mapped key for beacons and many mod makers may have programmed the cabin light to the same button.

However, on RJL's Scania and SISU truck mods, the cabin light switches on, when you turn on headlights, if I remember correctly.
#8 Forum Spammer

ETS2 v1.38.1.15, ProMods 2.5x, DLC content

12,50% explored
Driven km 67,200
2957 hours of ETS2

ATS v1.38x, DLC content

29,46% explored
Driven mi 19,000
271 hours of ATS

Image
Image
Image

User avatar
djpanta
Posts: 60
Joined: 14 Jan 2015 12:38
Donation rank:
Location: Sizilien
Contact:

23 Dec 2015 17:58

thank you for this info
i want to cange it to the headlights is it possible ?
Image
Image

User avatar
mbman212
Posts: 3356
Joined: 15 Aug 2014 09:15
Donation rank:
Location: Tampere, Finland
Contact:

23 Dec 2015 19:18

It would need changing the default key mapping which is coded somewhere to the mod itself, and unfortunately I'm not able to do this.
#8 Forum Spammer

ETS2 v1.38.1.15, ProMods 2.5x, DLC content

12,50% explored
Driven km 67,200
2957 hours of ETS2

ATS v1.38x, DLC content

29,46% explored
Driven mi 19,000
271 hours of ATS

Image
Image
Image

Devilagent
Posts: 284
Joined: 26 Aug 2013 08:32
Donation rank:
Location: Amsterdam, the Netherlands

23 Dec 2015 19:20

go to unit\hookup\vehicle_cablight.sii and you can change the settings for example from beacon to low_beam, or to parking, and they will turn on with your lights instead of the beacon if I'm not mistaken:

Code: Select all

flare_vehicle: cablight.panel
{
	light_type: beacon
	
	ambient_color: (3.3, 3.3, 5.0)
	diffuse_color: (3.3, 3.3, 5.0)
	specular_color: (3.3, 3.3, 5.0)

	range: 0.02
	type: point
	
	state_change_duration: 0.5
change that for every color in this file. Hope it helps :D

User avatar
djpanta
Posts: 60
Joined: 14 Jan 2015 12:38
Donation rank:
Location: Sizilien
Contact:

24 Dec 2015 06:21

@ Devilagent
ok it works fine
tthans a lot

:D
Image
Image



Post Reply

Return to “ProMods Academy”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 8 guests