16
Add-Ons / Re: Flashlight - Path illumination to the max
« on: August 21, 2009, 02:23:15 PM »
Few ideas for fixes:
1. Make it an optional carry-able item with an RTB pref or something (one of them server restart ones like the duplicator)
2. Use a package that could be toggled (Again, RTB pref anyone) with a global var to replace the regular light with the flashlight.
Example:
3. (For the light ahead of player issue...) Put a mountpoint on the flashlight model itself that's a distance away from it, and attach the light to said mountpoint. This will create an illusion of the light shining the path ahead of sorts. Get a "light" emitter and you're done.
Good job regardless, hope it gets improved.
1. Make it an optional carry-able item with an RTB pref or something (one of them server restart ones like the duplicator)
2. Use a package that could be toggled (Again, RTB pref anyone) with a global var to replace the regular light with the flashlight.
Example:
Code: [Select]
package flashcommand {
function serverCmdLight(%client) {
if($Pref::Server::FlashReplace) serverCmdFlashlight(%client); return;
else parent::serverCmdLight(%client);
}
};
activatePackage(flashcommand);
That probably has some syntax errors somewhere, but you get the deal.3. (For the light ahead of player issue...) Put a mountpoint on the flashlight model itself that's a distance away from it, and attach the light to said mountpoint. This will create an illusion of the light shining the path ahead of sorts. Get a "light" emitter and you're done.
Good job regardless, hope it gets improved.