Author Topic: Raycast Flashlight  (Read 1352 times)

So Im sure you and everybody else has seen the flashlights that we have at our disposal, they all use lighted projectiles that fire rapidly. This doesn't work well as it eats the server light limit and flickers with more than 10 bricks near you.

We need a flashlight that uses a ray-cast, or some way for the item to only use one light. Ive seen this done before, that Stalker Vs Human server had a perfect flashlight in it. However I think its part of the game mode script as it was replacing the default player light function.

I want to see a good flashlight made.

Now that you say it, I want a real, working flashlight in-game.


Like this? http://forum.blockland.us/index.php?topic=193226.0
So Im sure you and everybody else has seen the flashlights that we have at our disposal, they all use lighted projectiles that fire rapidly. This doesn't work well as it eats the server light limit and flickers with more than 10 bricks near you.

I downloaded that flashlight. It uses a projectile that moves really slow, and hits the light limit so the light only goes 1/5th of the distance it is supposed to.

I suggest you test an addon before saying "Like this?" again.
« Last Edit: May 03, 2012, 09:07:09 PM by Mr.Noßody »

I agree. Hopefully General and Tophius finish that Concert Light. Then someone can just model a flashlight and rip the emitter and projectile scripts from it, and make a perfectly working flashlight.

I downloaded that flashlight. It uses a projectile that moves really slow, and hits the light limit so the light only goes 1/5th of the distance it is supposed to.

I suggest you test an addon before saying "Like this?" again.
I can't test because this computer can't run Blockland. You could have at least been happy I tried :c


Fix any errors i made
Uses the Stalker Script
why do you dislike using the enter key?
it'd make it so much easier to read

Fix any errors i made
Uses the Stalker Script

Also, that's cool and all, but there is no model for the "Item" to work from. There is no way to use this itemless item.

Also, the code is a mess..
Ah well, nothing a bit of a fix up cant..fix.

what editor are you guys using?

what editor are you guys using?

What do you mean, 'editor'?

What do you mean, 'editor'?
Text Editor.
I used Sublime Text 2 and it looked fine lol?

Default notepad?

Why, are there programs that do better with text coding?

Notepad only recognizes \r\n (windows style) as a newline, Sublime Text saves with unix style line endings (\n). Open the file in Wordpad (not notepad) and it'll convert to \r\n, save it and reopen in Notepad. Alternately, get Sublime Text 2 because it's awesome.

Why? So I can see this specific code correctly? I have never had any problem with notepad and code. I don't need another txt program when all other code works and displays itself just fine on notepad.
Besides, notepad displays this code just fine, its just in one continuous line with no indents. Its not like I cant see it, its just annoying to navigate.

The only way I would consider downloading that program is if it somehow makes coding easier.