Product Chat / Can this be done?

Author
Message
Cosmic Prophet
VIP Member
16
Years of Service
User Offline
Joined: 17th Mar 2008
Location: The Cosmos
Posted: 14th Aug 2018 22:14
Can we do this yet?
This is a very old fpsc model that was not only animated but would place an animated decal in a specified position on the entity defined in the decalspec file.

Can this be done with lua commands, script, or Voodoo?

Please let me know my friends. Your pal Cos.
AMD 6 Core 3.5gh, 16GB DDR3, NVIDIA Geforce 730 4GB. Windows 7 Ultimate 64 bit.

Attachments

Login to view attachments
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 15th Aug 2018 19:13
I haven’t looked in the zip file but in principle yes - by using scripts developed by AmenMoses - think they are called ‘dynamic_entity’ and they use quaternion library (also developed by AM) that I believe is shipped with core GG now.

Basically with the scripts attached correctly the attached decal or any other entity will maintain its position and orientation to the parent entity as it is set/placed in the editor.

Some examples exist of how to use - probably in the script board.

It works really well. Assuming I haven’t missed your point

Cheers.
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 15th Aug 2018 19:52
https://forum.game-guru.com/thread/219096#msg2592310

Since that thread the quaternion code got 'fixed' so it will probably need tweaking. Let me know if it doesn't work as advertised and I'll take a look at it.
Been there, done that, got all the T-Shirts!
PM
Cosmic Prophet
VIP Member
16
Years of Service
User Offline
Joined: 17th Mar 2008
Location: The Cosmos
Posted: 15th Aug 2018 20:32
THANK YOU!!! You guys are the best! I've been asking, and wanting this feature forever, for building Scifi consoles and such.

Thanks again, Cos.
AMD 6 Core 3.5gh, 16GB DDR3, NVIDIA Geforce 730 4GB. Windows 7 Ultimate 64 bit.

Login to post a reply

Server time is: 2024-11-24 04:50:34
Your offset time is: 2024-11-24 04:50:34