Frictional Games Forum (read-only)
Simulating changes in gravity - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Articles (https://www.frictionalgames.com/forum/forum-40.html)
+---- Thread: Simulating changes in gravity (/thread-14448.html)

Pages: 1 2


RE: Simulating changes in gravity - Damascus - 04-06-2012

Alright, here you go! sorry it's so laggy.






RE: Simulating changes in gravity - Adrianis - 04-08-2012

Good effort dude but as you say, laggy. You kinda can't see the effect sadly, though you can tell things don't go down when normally they would. Is it the stress on your gfx card doing that? Can you try making it super low-res?



RE: Simulating changes in gravity - Damascus - 04-08-2012

Yeah, it comes from running my game and recording equipment at the same time. I'll try again with severely reduced graphics.



RE: Simulating changes in gravity - DRedshot - 04-15-2012

(04-08-2012, 11:09 PM)Damascus Wrote: Yeah, it comes from running my game and recording equipment at the same time. I'll try again with severely reduced graphics.
Is there any way you could reduce the loop timer to say 0.1-0.2 seconds. I dont blame yuor computer for lagging when it's running a load of looping timers (One for each floating box?), each running at 66 cycles per second Tongue
Doing this should improve your framerate drastically, and could make it more useable in custom stories.

Edit: nvm, you'll only be using one timer. Ignore what I said. Smile





RE: Simulating changes in gravity - Adrianis - 04-15-2012

(04-15-2012, 03:00 PM)DRedshot Wrote:
(04-08-2012, 11:09 PM)Damascus Wrote: Yeah, it comes from running my game and recording equipment at the same time. I'll try again with severely reduced graphics.
Is there any way you could reduce the loop timer to say 0.1-0.2 seconds. I dont blame yuor computer for lagging when it's running a load of looping timers (One for each floating box?), each running at 66 cycles per second Tongue
Doing this should improve your framerate drastically, and could make it more useable in custom stories.

Edit: nvm, you'll only be using one timer. Ignore what I said. Smile
hehe yes just one timer, and it needs to be happening very quickly or else the object will appear to be 'bouncing' ingame. The short loop time means you don't notice




RE: Simulating changes in gravity - Damascus - 04-16-2012

Try as I might, i can't get a video that isn't immensely laggy. Sorry, maybe someone else will have better luck. Tongue



RE: Simulating changes in gravity - Damascus - 05-11-2012

Would anyone else be willing to record a video of this if I were to send them the map and script?


RE: Simulating changes in gravity - Adrianis - 05-21-2012

(04-05-2012, 09:35 PM)Homicide13 Wrote: After experimenting around with this a bit I have found one problem: air friction. Although an object might ignore gravity, it still slows down due to air friction. Does anybody know where the config files are for air friction controls (assuming there are any?)
If you or, anyone else is still interested, in the model editor you just need to reduce the Angular / Linear Damping property on the body of the entity to 0


RE: Simulating changes in gravity - FragdaddyXXL - 06-24-2012

AH! you beat me to it. I was planning on doing the same exact thing before taking this hiatus. Cool seeing it works!