Blockland Forums > Modification Help
Vehicles with light?
Munkey:
--- Quote from: Demian on October 25, 2011, 04:32:10 PM ---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?
--- End quote ---
That add-on still shows how to attach a light...
As it says in the add-on, Vehicle_BlockoSedan.cs:
--- Code: ---%this.car[%a].mountImage(BlockoSedanPoliceLightBImage,0);
--- End code ---
Kalphiter:
--- Quote from: Munkey on October 25, 2011, 05:26:35 PM ---That add-on still shows how to attach a light...
As it says in the add-on, Vehicle_BlockoSedan.cs:
--- Code: ---%this.car[%a].mountImage(BlockoSedanPoliceLightBImage,0);
--- End code ---
--- End quote ---
You can't mount lights.
Demian, can the light be centered?
Munkey:
--- Quote from: Kalphiter on October 25, 2011, 05:29:46 PM ---You can't mount lights.
Demian, can the light be centered?
--- End quote ---
You can if you make it a particle, than emitter, then image. Of course, that is a waste of datablocks, but you can put it in a certain spot.
Barnabas:
Okay, here's how it was done:
First I made an empty "bot" which consisted of an armature and root animation (must for all bot based things). This is what you mount the lights to. Then you make mountpoints for the vehicle itself. This is where the empty bots go. Rest was done by Trigun and it should be in the script.
Kalphiter:
--- Quote from: Barnabas on October 25, 2011, 06:32:37 PM ---Okay, here's how it was done:
First I made an empty "bot" which consisted of an armature and root animation (must for all bot based things). This is what you mount the lights to. Then you make mountpoints for the vehicle itself. This is where the empty bots go. Rest was done by Trigun and it should be in the script.
--- End quote ---
Correct, that's exactly how I was able to do it.
I did it quickly using empty.dts
I'm just lacking modelers who want to set up those mountpoints.