Blockland Forums > Modification Help

Vehicles with light?

Pages: << < (2/4) > >>

Demian:


--- Quote from: Cubelands on October 24, 2011, 05:05:10 PM ---Mount light to vehicle
Mount lights to player object

Code:
light.attachToObject(player)
Bone name in vehicle model

--- End quote ---
Can I have the exact line of code please?

Skorpion:

Theres an add on for this, I saw it somewhere.

Amade:


--- Quote from: Demian on October 25, 2011, 08:21:19 AM ---Can I have the exact line of code please?
--- End quote ---
He's just switching between two images for that. They aren't actually lights. However, images have a couple of lighting variables that can be used to make them act similarly to the way lights do.
http://forum.returntoblockland.com/dlm/viewFile.php?id=3420

Demian:

No no, I'm making a jack-o-lantern and I just want it to emit light. No need for toggling anything. How do I attach a light to a vehicle?

Kalphiter:

Vehicles with lights are 100% possible, but it's tricky.

There needs to be a vehicle with mount points on the correct position for the lights

Pages: << < (2/4) > >>

Go to full version