Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / flashlight... solved... with a little help from you!

Author
Message
Origin
19
Years of Service
User Offline
Joined: 11th Sep 2005
Location:
Posted: 22nd Nov 2005 18:13
Hi, I got a flashlight system that may work:

1. make a dynamic light that is switched off.
2. make this light follow you.
3. when the player presses "ENTER" the light should be switched on.

I just need help with the 2nd part... I can't make it follow me... Please help!

Regards,
John

I don't wanna fight no union!

FREE SPEECH FOR ALL!! but, not mod's... hahahaha!!!
Sunflash
19
Years of Service
User Offline
Joined: 28th Jun 2005
Location: Seattle, Wa
Posted: 22nd Nov 2005 19:50
well, you'll have to make it follow the flashlight. If it follows you, theneverytime you open a door, or turn a switch, the light will turn on. And you'll have to direct the light in a certain direction

When FPSC gets good enough, lets make a Redwall game!

Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 22nd Nov 2005 19:52
Quote: "I can't make it follow me... Please help! "


Thats because it can't be done.

The lights can not move.
They are stationary, and can not be re-positioned in game.

This is old news.

There are a couple alternatives, but they have already been discussed.

Search the forums and you will find the threads.

Whatever you can imagine, you can animate. --- Walt Disney
All too easy. --- Darth Vader
Just do it! --- Nike
Nutbolt
19
Years of Service
User Offline
Joined: 7th Jul 2005
Location: BEHIND YOU
Posted: 28th Nov 2005 17:50
I thought you could attach somthing to the player, or is that only decals.

Just beacuse i'm blonde, don't meen i'm stupid!
BULLSHOCK 2
Retired Moderator
19
Years of Service
User Offline
Joined: 14th Jun 2005
Location: Shocking Bulls
Posted: 28th Nov 2005 18:28
well, there might be a way.

did anyone notice that when you fire a weapon, it lights up a room? there might be a way in the fpe to change the amount of time this flash lasts...and if there isnt...theres always the source...

SarusX
19
Years of Service
User Offline
Joined: 21st Jul 2005
Location: Behind u- thats where a rangers gonna be
Posted: 29th Nov 2005 00:53
another interesting idea from bullshock... hmmm...


Because no n00b is a good n00b.
transient
19
Years of Service
User Offline
Joined: 22nd Apr 2005
Location: Australia Zoo
Posted: 29th Nov 2005 15:08
I've made a flickering torch doing this but it didn't look right, no matter what settings I used, but you might have more luck.

Moving lights would be awesome. Hopefully something TGC will look at some day.

instinct is more valuable than intelligence.....
Lon
20
Years of Service
User Offline
Joined: 12th Feb 2004
Location: Big Ass Castle
Posted: 29th Nov 2005 22:39
@ transient "WARNING: Flickering lights in video games have been known to cause epileptic seizures in some individuals"

LoL
Pumpkin King
18
Years of Service
User Offline
Joined: 28th Nov 2005
Location:
Posted: 30th Nov 2005 14:32
What about an idea using the code from the free night vision goggles? Could that somehow be modified into a working flashlight instead?
dpharaoh
19
Years of Service
User Offline
Joined: 2nd Nov 2005
Location: SouthEast MA
Posted: 30th Nov 2005 21:03
In order for that to work, you would need to make the default hud "dim" by making it not 100% transparent.

I was just able to get a new spot light made at the camera location when someone hits the "L" key through the source code, but that's no use to ppl who can't compile it. I will continue to research this for use outside the .exe.
Les Horribres
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 30th Nov 2005 21:29 Edited at: 30th Nov 2005 21:38
Hmm...
What about decals?

If you can get one of those guys to always fire, and follow you, mabey...

::rundecal=6
::useweapon
::followplr

?
Origin
19
Years of Service
User Offline
Joined: 11th Sep 2005
Location:
Posted: 12th Dec 2005 17:34
@ OnePost: Thanks, I've made a code that works!


It's kinda like the Flashlight in Halo.
I've used a *.tga flashlight overlay too, and it actually looks nice!

I'll be reasing the code soon!

Regards,
John

I don't wanna fight no union!

FREE SPEECH FOR ALL!! but, not mod's... hahahaha!!!
LostSoul54
21
Years of Service
User Offline
Joined: 6th Jun 2003
Location: United States
Posted: 14th Dec 2005 16:44
A flashlight is just what I need for my current project. Please post your info soon

Thank you

It's easy not to get lost when you have no idea where you are going
Avenging Eagle
19
Years of Service
User Offline
Joined: 2nd Oct 2005
Location: UK
Posted: 15th Dec 2005 08:24
Any chance of having one on your gun (like in Quake 4) so you don't have to switch weapons when a bad guy jumps out at you?

AE
Les Horribres
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 17th Dec 2005 23:22
There are 2 ways...

a gun with infinite ammo and infinite fire rate that has zero damage and very big light range.

Or a guy following you constantly fireing his own gun.
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 17th Dec 2005 23:36 Edited at: 17th Dec 2005 23:51
I've made a flashlight. (about a week ago)
It does not use either of those methods.
It uses the methods that I had discussed in other threads about flashlights.
The Enter Key toggles between On and Off.
You can rotate through your weapons during either position.
I'm not giving it away for free though.
It will be part of a pack.

Orgin said that he was going to put his flashlight here, but I don't see it yet.

My pack will be finished by next weekend.



~~

Whatever you can imagine, you can animate. --- Walt Disney
All too easy. --- Darth Vader
Just do it! --- Nike
Les Horribres
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 18th Dec 2005 00:03
you can't have any light mapping for that method. and you DID give it away for free (or atleast googles).

I prefer hard building a gun into FPSC that fires with the F key. looking into it, and if done, will submit to Riker 9.

Quote: "Just do it! --- Nike"

Pulls Trigger.

Anti-Noob Justice League, an ANJL of Mercy.
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 18th Dec 2005 00:38 Edited at: 18th Dec 2005 00:40
Quote: "
you can't have any light mapping for that method"

We'll see.


~ ~
POOF

Whatever you can imagine, you can animate. --- Walt Disney
All too easy. --- Darth Vader
Just do it! --- Nike
Les Horribres
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 18th Dec 2005 00:42
The race begins...

Anti-Noob Justice League, an ANJL of Mercy.
[url=ochanicon.gif]
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 8th Jan 2006 22:13
Here's the best thing I could come up with.
I'm calling it a "Light Ray" instead of a "flashlight".

It ended up as being part of a Game, instead of being included in a Pack.
However, I left the Game "unpacked" so that you can look at the Script to see how it works.

Here's a demonstration video, but it's a little blurry because I had to chop down the file size.


You can read more about this and the Game in the thread in the FPSC Showcase Forum.
Or you can visit my website ...

http://www.conjured.us/







Whatever you can imagine, you can animate. --- Walt Disney
All too easy. --- Darth Vader
Just do it! --- Nike

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-11-21 21:46:06
Your offset time is: 2024-11-21 21:46:06