Product Chat / move real time lights ingame

Author
Message
Team wolf
7
Years of Service
User Offline
Joined: 26th Dec 2016
Location:
Posted: 20th Jan 2017 21:15
can you move real time lights ingame if yes how?
PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 20th Jan 2017 21:45
do you mean physically move the lights that are in the editor? you can using lua to reposition them as I've done it, but the radial circle disappears... unless you mean something else??
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
Team wolf
7
Years of Service
User Offline
Joined: 26th Dec 2016
Location:
Posted: 20th Jan 2017 22:46
how you move the lights in game ith lua? that is what i am yalking aboutt
PM
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 20th Jan 2017 23:16 Edited at: 21st Jan 2017 08:49
[sorry double post somehow?-removed]
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
Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 20th Jan 2017 23:17 Edited at: 21st Jan 2017 08:51
example code, you will need to modify.
just edit and attach to the light entity.
to expand on what I mean, if you know the X/Y/Z coords where you want to move any entity not just lights, you just use SetPosition and SetRotation. you might want to try setting these as globals maybe. Depends on how you want to move your lights, ie. by using a key or some other way.

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
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 21st Jan 2017 15:05
Doesn't work.

I tried everything I could think of to get the lights to move and finally emailed Lee about it, his answer was simple: "You can't move dynamic lights".

I was rather annoyed about is as I have a flaming torch which the player can carry but it is pretty useless if it doesn't actually produce any light!

Been there, done that, got all the T-Shirts!
PM
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 23rd Jan 2017 10:17
This feature is not on any list at the moment. Perhaps it can be associated with one of the items on the voting board. It's also not a quick fix as the limited number of dynamic lights means moving one of them means the other lights would swim noticeably as they shift (as in move as opposed to just changing intensity) to accommodate the influence of the moving one.
PC SPECS: Windows 8.1 Pro 64-bit, Intel Core i7-5930K (PASSMARK:13645), NVIDIA Geforce GTX 980 GPU (PASSMARK:9762) , 32GB RAM

Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 24th Jan 2017 22:07
Closest entry that was on the feature voting board was "Unlimited Dynamic Lights". Not quite the same thing though. Are the new list of features going to be broken down into categories? Like "Lights" and all things lights go under it?
Twitter - Teabone3 | Youtube - Teabone3 | Twitch - Teabone3 | TGC Assets - Store Link

i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce GT 740

Login to post a reply

Server time is: 2024-07-05 10:04:15
Your offset time is: 2024-07-05 10:04:15