3rd Party Models/Media Chat / Flaming Torch

Author
Message
snowdog
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: London
Posted: 6th Aug 2015 17:51
No, I'm not swearing lol

Just wondering if anyone has come up with a lit and unlit torch to use instead of a flashlight..?

Medieval levels don't look too clever with a flashlight.
"This you have to understand. There's only one way to hurt a man who's lost everything. Give him back something broken."



Thomas Covenant, Unbeliever
PM
Tarkus1971
Audio Media Maker
9
Years of Service
User Offline
Joined: 24th Feb 2015
Location: England, UK
Posted: 6th Aug 2015 17:55
good point, if only there was a way to attach a dynamic light to the player and assign it a flickering light script, that would be a quick fix.... ?
Aftershock Quad Core AMD FM2+ 3.5 GHz 8GB Motherboard and Processor, A7700k apu, AMD HD7870 gfx card.
King Korg Synth, Alesis SR18 Drum Machine, Akai MPX8 sample player, Roland Fantom XA Synth, Axus Digital AXK2 Digital Drum Kit.
Jerry Tremble
GameGuru TGC Backer
12
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 7th Aug 2015 00:12
A really good (and should have been obvious though I don't think anyone has mentioned it yet) point! There are a few experts around here that could probably pull something like that off! (Just a hint to those experts!)
MAME Cab PC: i7 4770@3.4Ghz (passmark 9945), 12GB RAM, Win 8.1/64, GeForce GTX645 (passmark 1898); Shiny new laptop: i7 4800MQ@2.7Ghz (passmark 8586), 16GB RAM, Win 8.1/64, GeForce GTX870M (passmark 3598); Old laptop: i5@2.3Ghz, 8GB RAM, Win 7/64, Intel 3000 graphics
PM
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 7th Aug 2015 19:39
Well, this is Smallg's script with a few changes to fit your needs.

carrytorch.lua - Intended to be attached to the torch



carryflame.lua - Intended to be attached to the flame



In action



There's something I do not get is that the flame emits its own light and shadows.
The flame uses the effect (decal_animate4.fx), but I do not know how to change it, if is this achievable.

Using a simple torch and decal named (torch flame 2) it is stock one.

enjoy

3com




Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 8.1 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM
Devcore35
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 5th Aug 2014
Location: Rouen (76) - France
Posted: 7th Aug 2015 22:52
Woua O.O
Very good work 3com !
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 8th Aug 2015 00:40
unfortunaltely i dont believe you can move lights (or markers) via scripting... hopefully that will be possible in future though.
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11
Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 8th Aug 2015 04:26 Edited at: 8th Aug 2015 04:27
GG is very behind in the LUA department. Also with the flashlight being hardcoded... I'm sorry but what your asking for may not be possible at present.
i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce 420 GT
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 8th Aug 2015 15:32
Quote: "unfortunaltely i dont believe you can move lights (or markers) via scripting... hopefully that will be possible in future though."

It would be nice, keep the hope up.

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 8.1 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM
snowdog
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: London
Posted: 9th Aug 2015 11:07
That's cool, nice one!
"This you have to understand. There's only one way to hurt a man who's lost everything. Give him back something broken."



Thomas Covenant, Unbeliever
PM
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 30th Aug 2015 19:32
Might be able to do this using the weapon hud and the muzzle flash for the light.

ncmako on the FPSC forum has achieved this for classic (but I don't think we can script auto repeat fire in GG Yet) http://forum.thegamecreators.com/?m=forum_view&t=215273&b=24



I've got bond1's shader for this to work in GG after some tweaks, but so far not got the muzzle flash to light up the scene (still working on it). The torch looks pretty good though with the animations and the smoke coming off of it . All due to ncmako and bond1 of course.

Cheers.


Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 30th Aug 2015 20:38
That looks pretty good. Great job.
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

snowdog
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: London
Posted: 30th Aug 2015 23:19
Nice! Looks great, will be amazing if you can manage to get the muzzle flash thingummybob to work!
"This you have to understand. There's only one way to hurt a man who's lost everything. Give him back something broken."



Thomas Covenant, Unbeliever
PM
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 31st Aug 2015 02:54
Yes it works

But, a lot of the weapon/projectile system is still hard coded, so I've had to twist a lot of the files to make it happen - wouldn't be viable really until this is improved in the future and more lua control over weapon firing or input to engine granted.

Anyway, as a proof of concept (an animated torch complete with smoke, fire particles and emitting light) it doesn't look too bad:



Cheers.
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 31st Aug 2015 07:52
Outstanding. That is a great show of determination completed.
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

synchromesh
Forum Support
10
Years of Service
User Offline
Joined: 24th Jan 2014
Location:
Posted: 31st Aug 2015 12:10
Amazing Work ..... If theres a way around things you guys will usually find it
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
TazMan
GameGuru TGC Backer
13
Years of Service
User Offline
Joined: 20th Jan 2011
Location: Worldwide Web
Posted: 31st Aug 2015 12:15
Nice one this would be great in one of my projects, at the moment I have been using the torch that comes with GG, but the time period would call for a flaming torch.
HP Pavilion Laptop, AMD A8-4555M APU with Radeon(tm) Graphics HD Graphics 1.6GHz, 8GB Memory, 64 Bit Operating System (Windows 8.1), 1 TB Hard Drive.

I've got something to say - It's better to burn out than fade away.
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 31st Aug 2015 15:21
That's cool enough!
My congrats cybernescence, you get it.

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 31st Aug 2015 22:36
very nice
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 1st Sep 2015 13:43
Moving this thread to third party models\media.
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

Gtox
3D Media Maker
10
Years of Service
User Offline
Joined: 5th Jun 2014
Location: South Africa
Posted: 1st Sep 2015 16:13 Edited at: 1st Sep 2015 20:49
Nice work - problem is, if the users get too good with this sort of thingf, TGC might not bother doing it themselves
3com
10
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 1st Sep 2015 19:26
Quote: "problem is, if the users get too good with this sort of thingf, TGC might not bother doing it themselves"

I think finally they has to do something about that, since I wonder what's if player need torch+weapon a time?
What will happen if the player is attacking by strange creatures that inhabit the caves?
The player has 2 hands, then the torch in one hand, and in the other the weapon.

This is not achievable yet, unless TGC do something about.

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM

Login to post a reply

Server time is: 2024-11-25 05:13:26
Your offset time is: 2024-11-25 05:13:26