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 / Making Lights Follow You

Author
Message
Game Beetle
17
Years of Service
User Offline
Joined: 12th May 2007
Location:
Posted: 29th Jun 2008 03:07
Is there anyway through action script you can make a dynamic light follow you.

Cheers
Nick
Hybrid
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 29th Jun 2008 03:21
First of all, don't start copying off of Cheese-Cake. Second, the dynamic lightmapping system cannot support moving lights. That is- there is no real-time shadow mapping in FPSC. Sorry, but there is no way for it to work.

Game Beetle
17
Years of Service
User Offline
Joined: 12th May 2007
Location:
Posted: 29th Jun 2008 03:55
Alright, thank you Hybrid.

Cheers
Nomad Soul
Moderator
17
Years of Service
User Offline
Joined: 9th Jan 2007
Location: United Kingdom
Posted: 29th Jun 2008 06:37
EFX Mod 1.54c supports moving lights in FPSC but you need to have FPSC v1.07 installed.

Visit the EFX Mod thread and download the latest version.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 29th Jun 2008 08:19
@Hybrid:

Static lights need to be lightmapped. Dynamic lights use DirectX lighting system to project light onto nearby surfaces.

It's possible to move the lights around, but it is not an innate feature of FPSC. As mentioned you may want to look into using a Mod.

And besides... using a mod gives you much better options than FPSC normally gives you.


The one and only,


Whosoever says, "Don't sweat the small stuff," is obviously not a programmer.
wowblobby
17
Years of Service
User Offline
Joined: 11th Apr 2007
Location:
Posted: 30th Jun 2008 08:04
but some people dobt know how to use mods and ther fancy features like me? i couldnt tell you 1 thing abount plys mod but that it gives you armor and i realy wnat it

touch the cat fell my bat
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 30th Jun 2008 08:23
@WowBlobby

If you look get Ply's Mod V1.07, you can use the script pack I released to go with it, I'll upload it here......

Instructions are in the readme......

Attachments

Login to view attachments
Indicium
16
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 10th Jul 2008 20:25
Its worth getting ply's mod, Even if it does crash after building a game It Adds much more features to the game
Hybrid
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 11th Jul 2008 00:32
Mad Nightmare. It seems that you only talk about Ply's Mod, when his mod doesn't support moving, realtime light mapping.

Hybrid
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 11th Jul 2008 00:35 Edited at: 11th Jul 2008 05:15
However, I was thinking. With one massive script, you could trigger lights to spawn on and off in a row, thus giving the illusion of a continuous, moving light.

If you want a flashight effect, then just use a hud.

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 11th Jul 2008 02:10
@Hybrid:

Usually when people get excited about something, they tend to talk about it a lot. Don't blame him for being human.

Also, I want to mention this again:

DYNAMIC LIGHTS ARE NOT LIGHTMAPPED! To help you comprehend this allow me to explain the difference:
Lightmapping is the act of calculating a "light's" color, range and reach onto the 3-dimensional surfaces that surround it. Once the calculation is complete, it then saves this "map" of the light's scope into a texture file to later be used AS the texture for the 3D environment creating the ILLUSION that a light is there.
Dynamic lights do not do this. They use reserved DirectX lights which are limited to a certain amount. DirectX handles the lights and does it's own temporary "lightmapping" into RAM and NOT into a file. However, since this is not a permanent mapping of the light, it can be changed constantly allowing the light to "move", to increase in range, or even to change colors without the need to alter a file stored on the HDD.


And if you took the time to go find out for yourself, you may have discovered that my mod can, indeed, move lights. With the added commands to reposition any dynamic entity on the fly, it goes without saying that this applies to dynamic lights too.

... Thank you for listening.


The one and only,


Whosoever says, "Don't sweat the small stuff," is obviously not a programmer.
Hybrid
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 11th Jul 2008 05:04 Edited at: 11th Jul 2008 05:14
WOW, your mod has more power that I thought. Also, everyone seems hostile today, especialy me. Anyhow, would my idea work, if, lets say, that using Ply's mod would not be desireable because of the use of another mod?

Login to post a reply

Server time is: 2024-11-24 11:02:34
Your offset time is: 2024-11-24 11:02:34