Data Realms Fan Forums
http://45.55.195.193/

Is a "Screenshake" possible?
http://45.55.195.193/viewtopic.php?f=1&t=18840
Page 1 of 2

Author:  alphagamer774 [ Thu May 27, 2010 2:23 am ]
Post subject:  Is a "Screenshake" possible?

Is there some kind of variable to make the screen shake?

Or would it just be simpler to just move every actor in range up and down a bunch of times?

Author:  Disst [ Thu May 27, 2010 2:26 am ]
Post subject:  Re: Is a "Screenshake" possible?

Why in god's name would you want this?

Author:  alphagamer774 [ Thu May 27, 2010 2:28 am ]
Post subject:  Re: Is a "Screenshake" possible?

I'm making an orbital artillery mod.

Sorta like the various nukes and such, but I thought it would be cool to have a multiple delayed hit artillery cannon that caused some kind of shake.

I'm planning for Airstrikes, Artillery, Plasma cannons and all of their variations.

EDIT2: And I won't actually release this until it's good, unlike my HALO mod, which was mostly a failure.

EDIT: I don't mean actually shaking the whole screen, just moving the camera ingame up and down a couple of times.

Author:  whitty [ Thu May 27, 2010 2:32 am ]
Post subject:  Re: Is a "Screenshake" possible?

alphagamer774 wrote:
Is there some kind of variable to make the screen shake?

F11.

Author:  spungypirate [ Thu May 27, 2010 2:42 am ]
Post subject:  Re: Is a "Screenshake" possible?

In my opinion, the screen shake would be awesome if it was accompanied by a bright light from the sky. It would make sense, that if a nuke was being dropped on the planet that your playing on, the sky would light up from the nuke on its way down. Just a thought.

Author:  Grif [ Thu May 27, 2010 4:09 am ]
Post subject:  Re: Is a "Screenshake" possible?

you could set view point to a specific actor and have it move around rapidly

Author:  alphagamer774 [ Thu May 27, 2010 4:44 am ]
Post subject:  Re: Is a "Screenshake" possible?

spungypirate wrote:
In my opinion, the screen shake would be awesome if it was accompanied by a bright light from the sky. It would make sense, that if a nuke was being dropped on the planet that your playing on, the sky would light up from the nuke on its way down. Just a thought.


Accompanied by the MW2 "BSHWOOP...BSHWOOOP..." perhaps?

That'll definently be part of this.

@Grif

That'd be Lua, right?

Author:  411570N3 [ Thu May 27, 2010 5:43 am ]
Post subject:  Re: Is a "Screenshake" possible?

Yes, it would.

Author:  spungypirate [ Thu May 27, 2010 8:08 pm ]
Post subject:  Re: Is a "Screenshake" possible?

That was pretty much what I was thinking. Would definitely be a fun way to decimate the map...

Author:  alphagamer774 [ Thu May 27, 2010 8:18 pm ]
Post subject:  Re: Is a "Screenshake" possible?

Okay, next question. Is it possible to place things randomly along a horizontal vector? For instance, you call in an artillery strike via Crafts menu. Would it be possible to have it drop a pixel that spawns a few shells dispersed randomly within a certain radius at the top of the map?

Author:  Duh102 [ Thu May 27, 2010 9:38 pm ]
Post subject:  Re: Is a "Screenshake" possible?

self.Pos.X = self.Pos.X + (math.random() * [dispersal amount] - ([dispersal amount] / 2));
Not sure if the math.random() is correct, it might just be rand(). Or something else entirely.

This is in Lua of course.

Author:  Commodore111 [ Thu May 27, 2010 11:06 pm ]
Post subject:  Re: Is a "Screenshake" possible?

Quote:
Or would it just be simpler to just move every actor in range up and down a bunch of times?


I kind like this idea. Sort of.
Force all actors to crouch, and implement a (slight, not too severe) screen shake by setting the viewpoint. Look at Abdul's gunship, he sets the screen position in the lua. (I think)
It would simulate a sort of earthquake and loud noise that disorients everybody.

Author:  Lizardheim [ Thu May 27, 2010 11:41 pm ]
Post subject:  Re: Is a "Screenshake" possible?

Except the facts that it's silly and unneccesairy it's a good idea yeah.

Author:  Awesomeness [ Mon Jun 21, 2010 4:36 pm ]
Post subject:  Re: Is a "Screenshake" possible?

Lizard wrote:
Except the facts that it's silly and unneccesairy it's a good idea yeah.

It's eye candy. Of course it's silly and unnecessary, but it makes everything looks cooler.

Author:  Lizardheim [ Mon Jun 21, 2010 4:53 pm ]
Post subject:  Re: Is a "Screenshake" possible?

No it wouldn't. It would just be annoying.

Page 1 of 2 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/