View unanswered posts | View active topics It is currently Mon Jan 06, 2025 10:32 pm



Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
 Is a "Screenshake" possible? 
Author Message
User avatar

Joined: Wed Feb 10, 2010 4:06 am
Posts: 1294
Location: Comox, BC, Canada
Reply with quote
Post 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
Profile WWW
User avatar

Joined: Thu Feb 12, 2009 1:47 am
Posts: 1182
Reply with quote
Post Re: Is a "Screenshake" possible?
Why in god's name would you want this?


Thu May 27, 2010 2:26 am
Profile
User avatar

Joined: Wed Feb 10, 2010 4:06 am
Posts: 1294
Location: Comox, BC, Canada
Reply with quote
Post 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
Profile WWW
User avatar

Joined: Sat Jun 16, 2007 2:31 am
Posts: 2982
Location: Texas
Reply with quote
Post 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
Profile

Joined: Tue Feb 16, 2010 6:07 am
Posts: 98
Reply with quote
Post 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
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post 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
Profile
User avatar

Joined: Wed Feb 10, 2010 4:06 am
Posts: 1294
Location: Comox, BC, Canada
Reply with quote
Post 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
Profile WWW
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Is a "Screenshake" possible?
Yes, it would.


Thu May 27, 2010 5:43 am
Profile WWW

Joined: Tue Feb 16, 2010 6:07 am
Posts: 98
Reply with quote
Post 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
Profile
User avatar

Joined: Wed Feb 10, 2010 4:06 am
Posts: 1294
Location: Comox, BC, Canada
Reply with quote
Post 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
Profile WWW
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post 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
Profile

Joined: Sun Oct 11, 2009 7:47 pm
Posts: 132
Reply with quote
Post 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
Profile WWW
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post 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
Profile
User avatar

Joined: Sat Jun 19, 2010 5:02 pm
Posts: 331
Location: Mekkan
Reply with quote
Post 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
Profile
DRL Developer
DRL Developer

Joined: Fri May 15, 2009 10:29 am
Posts: 4107
Location: Russia
Reply with quote
Post Re: Is a "Screenshake" possible?
No it wouldn't. It would just be annoying.


Mon Jun 21, 2010 4:53 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 16 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.038s | 15 Queries | GZIP : Off ]