What About Screen Shaking?

Topics regarding Scripting with Reality Factory
Post Reply
User avatar
metal_head
Posts: 1244
Joined: Sat Jan 05, 2008 8:31 pm
Location: Bulgaria,Sofia
Contact:

What About Screen Shaking?

Post by metal_head »

Is there a command that can do a sceen shake? I couldn't find such command in the manual, but because I am the one that's searching, there's 90% chance that there IS a command for that. I looked at the misc and special effects section too and I couldn't find anything :( I wanna make the screen to shake when a gun's fired...I know how to do it, but I need a screen shake, not a camera rotation.
User avatar
Juutis
Posts: 1511
Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland

Re: What About Screen Shaking?

Post by Juutis »

Each time a weapon is fired you could shoot a projectile with screen shake to the ground below the player.
Pain is only psychological.
User avatar
metal_head
Posts: 1244
Joined: Sat Jan 05, 2008 8:31 pm
Location: Bulgaria,Sofia
Contact:

Re: What About Screen Shaking?

Post by metal_head »

...That means that there is no command for that, right :D
Well I'll think about it, thanks! :)
User avatar
QuestOfDreams
Site Admin
Posts: 1520
Joined: Sun Jul 03, 2005 11:12 pm
Location: Austria
Contact:

Re: What About Screen Shaking?

Post by QuestOfDreams »

There are many ways to do screen shaking via a script.
  • trigger a ScreenShake entity
  • SetFixedCameraPosition
  • attach the camera to a pawn and move the pawn
  • ...
Post Reply