Author |
Message |
alphagamer774
Joined: Wed Feb 10, 2010 4:06 am Posts: 1294 Location: Comox, BC, Canada
|
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?
|
Thu May 27, 2010 2:23 am |
|
|
Disst
Joined: Thu Feb 12, 2009 1:47 am Posts: 1182
|
Re: Is a "Screenshake" possible?
Why in god's name would you want this?
|
Thu May 27, 2010 2:26 am |
|
|
alphagamer774
Joined: Wed Feb 10, 2010 4:06 am Posts: 1294 Location: Comox, BC, Canada
|
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.
|
Thu May 27, 2010 2:28 am |
|
|
whitty
Joined: Sat Jun 16, 2007 2:31 am Posts: 2982 Location: Texas
|
Re: Is a "Screenshake" possible?
alphagamer774 wrote: Is there some kind of variable to make the screen shake? F11.
|
Thu May 27, 2010 2:32 am |
|
|
spungypirate
Joined: Tue Feb 16, 2010 6:07 am Posts: 98
|
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.
|
Thu May 27, 2010 2:42 am |
|
|
Grif
REAL AMERICAN HERO
Joined: Sat Jan 27, 2007 10:25 pm Posts: 5655
|
Re: Is a "Screenshake" possible?
you could set view point to a specific actor and have it move around rapidly
|
Thu May 27, 2010 4:09 am |
|
|
alphagamer774
Joined: Wed Feb 10, 2010 4:06 am Posts: 1294 Location: Comox, BC, Canada
|
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?
|
Thu May 27, 2010 4:44 am |
|
|
411570N3
Joined: Wed Jan 07, 2009 10:26 am Posts: 4074 Location: That quaint little British colony down south
|
Re: Is a "Screenshake" possible?
Yes, it would.
|
Thu May 27, 2010 5:43 am |
|
|
spungypirate
Joined: Tue Feb 16, 2010 6:07 am Posts: 98
|
Re: Is a "Screenshake" possible?
That was pretty much what I was thinking. Would definitely be a fun way to decimate the map...
|
Thu May 27, 2010 8:08 pm |
|
|
alphagamer774
Joined: Wed Feb 10, 2010 4:06 am Posts: 1294 Location: Comox, BC, Canada
|
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?
|
Thu May 27, 2010 8:18 pm |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
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.
|
Thu May 27, 2010 9:38 pm |
|
|
Commodore111
Joined: Sun Oct 11, 2009 7:47 pm Posts: 132
|
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.
Last edited by Commodore111 on Fri May 28, 2010 1:55 am, edited 1 time in total.
|
Thu May 27, 2010 11:06 pm |
|
|
Lizardheim
DRL Developer
Joined: Fri May 15, 2009 10:29 am Posts: 4107 Location: Russia
|
Re: Is a "Screenshake" possible?
Except the facts that it's silly and unneccesairy it's a good idea yeah.
|
Thu May 27, 2010 11:41 pm |
|
|
Awesomeness
Joined: Sat Jun 19, 2010 5:02 pm Posts: 331 Location: Mekkan
|
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.
|
Mon Jun 21, 2010 4:36 pm |
|
|
Lizardheim
DRL Developer
Joined: Fri May 15, 2009 10:29 am Posts: 4107 Location: Russia
|
Re: Is a "Screenshake" possible?
No it wouldn't. It would just be annoying.
|
Mon Jun 21, 2010 4:53 pm |
|
|
|