Product Chat / Flame Flicker

Author
Message
GraPhiX
Forum Support
19
Years of Service
User Offline
Joined: 15th Feb 2005
Playing:
Posted: 22nd Dec 2016 16:31
Hi Guys
thanks to Belidos for the light flicker script, but I cannot get it right I am trying to create a 'flame flicker' this is what I have got so far has anyone got any idea how I can make it more fire like?


Welcome to the real world!
Windows 10 Pro x64 - Core i7-2600K @3.40GHz - 32.0GB RAM - GeForce GTX 950 2GB - 4x500GB SSD Striped
UNIRD12B
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 2nd May 2014
Location: Canada
Posted: 22nd Dec 2016 16:57
hi ,
is there a SPEED setting anywhere in the script ?
if so , i'd try setting it to flicker faster.

UNIRD12B
Let\'s actually make something happen with this one !
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 22nd Dec 2016 17:07
I would use 3 of them with different speeds and a slightly different color for each light.

That will give you the desired effect you want.

Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit, Screen resolution 1680 x 1050.

Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 22nd Dec 2016 17:13
I would do as Pirate Myke says, place three lights, one yellow, one orange, one red, then create three copies of the script (don't forget to rename them and rename the _init and _main parts of the script) with three different speeds, that should give you a decent fire flicker effect.

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.
GraPhiX
Forum Support
19
Years of Service
User Offline
Joined: 15th Feb 2005
Playing:
Posted: 22nd Dec 2016 17:14 Edited at: 22nd Dec 2016 17:17
Hi thank you for replying, I have no clue with LUA I am trying to learn this is the script from Belidos which setting do I need to change


lol everyone posted as I posted this, I have used 3 lights 1 orange 1 yellow and a slight blue
Welcome to the real world!
Windows 10 Pro x64 - Core i7-2600K @3.40GHz - 32.0GB RAM - GeForce GTX 950 2GB - 4x500GB SSD Striped
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 22nd Dec 2016 17:16
It's kind f clearly marked in the script right there for you ...



just change the number in the line below that.

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.
GraPhiX
Forum Support
19
Years of Service
User Offline
Joined: 15th Feb 2005
Playing:
Posted: 22nd Dec 2016 17:18 Edited at: 22nd Dec 2016 17:24
thank you Belidos I have tried that from 1 to 500 maybe I did something wrong I will try again, at least I was on the right track

ahh I did not rename the scripts I now have flicker1 2 and 3 it works much better thank you so much
Welcome to the real world!
Windows 10 Pro x64 - Core i7-2600K @3.40GHz - 32.0GB RAM - GeForce GTX 950 2GB - 4x500GB SSD Striped
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 22nd Dec 2016 17:19 Edited at: 22nd Dec 2016 17:25
Don't forget you will need three copies of the script to get the effect you want, copy them and rename them to:

light_flicker1.lua
light_flicker2.lua
light_flicker3.lua

Then in each script find the lines:


and change them to match the name of the script like so:



Then in each one find the following line:



and change the number i'd try 100, 300, and 500 to start with and refine it from there.

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 22nd Dec 2016 17:27
Also, so you know for future, there is a specific section of the forum for scripting questions named Scripts, you would get a better response from there because there are some master scripting guru's on this forum, but they only lurk in that thread.

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.
GraPhiX
Forum Support
19
Years of Service
User Offline
Joined: 15th Feb 2005
Playing:
Posted: 22nd Dec 2016 17:32
Got it thank you I feel a bit dumb lol




Welcome to the real world!
Windows 10 Pro x64 - Core i7-2600K @3.40GHz - 32.0GB RAM - GeForce GTX 950 2GB - 4x500GB SSD Striped
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 22nd Dec 2016 17:50 Edited at: 22nd Dec 2016 17:56
try changing the following lines to different smaller values for faster speed:

delay[e] = GetTimer(e) + math.random(100,1500)

to something like

delay[e] = GetTimer(e) + math.random(50,250)
as an example,

You'll need to experiment though.
gonna try this myself as I want similar effect.
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, SQL, PL-SQL, JavaScript, HTML, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
FPSC to GameGuru Tools: SegAutoWelder, Entity+Weapon Welder
GraPhiX
Forum Support
19
Years of Service
User Offline
Joined: 15th Feb 2005
Playing:
Posted: 23rd Dec 2016 13:20
thanks for the tips guys think I got it looking a bit better now

Welcome to the real world!
Windows 10 Pro x64 - Core i7-2600K @3.40GHz - 32.0GB RAM - GeForce GTX 950 2GB - 4x500GB SSD Striped
PCS
7
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 23rd Dec 2016 14:13
maybe if you guys use a constant yellow light and then only a red and orange flicker light, then you will not have some dark areas on the map during the flicker time cycles.

Just a thought

Windows 7 Professional 64-bit
Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz (4 CPUs), ~2.7GHz RAM 4GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 23rd Dec 2016 15:03
@PCSKILLER-ummm, interesting thought, I'll give it a try....thanks for the input
Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++, SQL, PL-SQL, JavaScript, HTML, Darkbasic Pro (still love this language), Purebasic, others
Hardware: Dell Precision 490; AMD Radeon HD 7570; 12GB.
FPSC to GameGuru Tools: SegAutoWelder, Entity+Weapon Welder
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 23rd Dec 2016 15:10
Indeed, a constant light plus flicker is best.
The main thing missing with these things is the shadows, moving/flickerinh shadows would really bring it to life.
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
GraPhiX
Forum Support
19
Years of Service
User Offline
Joined: 15th Feb 2005
Playing:
Posted: 23rd Dec 2016 17:12
@Pcskiller yep you were totally correct it does look better I'm just doing some more tweaks and will post another video it looks much more realistic now thank you
Welcome to the real world!
Windows 10 Pro x64 - Core i7-2600K @3.40GHz - 32.0GB RAM - GeForce GTX 950 2GB - 4x500GB SSD Striped
PCS
7
Years of Service
User Offline
Joined: 7th Jul 2016
Playing:
Posted: 24th Dec 2016 21:23
glad i could helped.

Windows 7 Professional 64-bit
Intel(R) Core(TM)2 Quad CPU Q8400 @ 2.66GHz (4 CPUs), ~2.7GHz RAM 4GB NVIDIA GeForce GT 730
DirectX Version: DirectX 11
Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 25th Dec 2016 23:23 Edited at: 25th Dec 2016 23:24
I'm currently using a flicker script very similar. Though It feels more like its a light switching being turned on and off rapidly. Is there a way to change the light radius at random instead?

If not I'll def use the methods provided here. Having a very small light in the core might help and a larger one that flickers for the outer rim.
Twitter - Teabone3 | Youtube - Teabone3 | Twitch - Teabone3 | TGC Assets - Store Link

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GT 740
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 26th Dec 2016 09:35
No, you can't adjust anything about lights except if they are on or off via lua.
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 26th Dec 2016 11:12
oh

Well I do like the idea of using two lights. I'll use that trick for now.
Twitter - Teabone3 | Youtube - Teabone3 | Twitch - Teabone3 | TGC Assets - Store Link

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GT 740
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 26th Dec 2016 12:06
Quote: "No, you can't adjust anything about lights except if they are on or off via lua."


True, but radius and strength of lights visually can be changed via bloom and surface level, which can be altered in scripts, do you think there would be a way to incorporate that into a script?

i5, NV960 2GB, 16GB memory, 2x 2TB Hybrid, Win10.
i3 , Intel integrated graphics, 6GB memory, 512GB Generic SATAIII Win8.1.
Intel Celeron (duel Core), Radeon integrated graphics, 4GB memory, 180gB Generic SATAII, WinVista.
Q6600, Intel integrated graphics, 8GB memory, 512GB Generic SATAII, Win7.
GraPhiX
Forum Support
19
Years of Service
User Offline
Joined: 15th Feb 2005
Playing:
Posted: 16th Jan 2017 16:33
Hi Guys

took all of your recommendation's on board and this is what I ended up with looks much much better thank you

Welcome to the real world!
Windows 10 Pro x64 - Core i7-2600K @3.40GHz - 32.0GB RAM - GeForce GTX 950 2GB - 4x500GB SSD Striped
Jerry Tremble
GameGuru TGC Backer
11
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 16th Jan 2017 21:31
That looks great, nice job!!!
Desktop: i7 4770@3.4Ghz (passmark 9809), 12GB RAM, Win 10/64, GeForce GTX 1080 (passmark 12006), 1TB SSD, 1TB HDD; Laptop: i7 4800MQ@2.7Ghz, 16GB RAM, Win 10/64, GeForce GTX870M , 1TB SSD.
PM

Login to post a reply

Server time is: 2024-07-05 10:02:59
Your offset time is: 2024-07-05 10:02:59