Scripts / camera shake

Author
Message
Tarkus1971
Audio Media Maker
9
Years of Service
User Offline
Joined: 24th Feb 2015
Location: England, UK
Posted: 9th May 2015 16:59
Hi

Is there any way to make the camera shake around randomly for a few seconds, like it would if there was a nearby explosion etc,

thanks
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 9th May 2015 19:43 Edited at: 9th May 2015 19:43
here you go
https://forum.game-guru.com/thread/207801?page=8#msg2517162
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11
Tarkus1971
Audio Media Maker
9
Years of Service
User Offline
Joined: 24th Feb 2015
Location: England, UK
Posted: 10th May 2015 09:49
hey thanks smallg, great
Tarkus1971
Audio Media Maker
9
Years of Service
User Offline
Joined: 24th Feb 2015
Location: England, UK
Posted: 10th May 2015 10:16
probably me being a little dim, but I can't seem to get it to work at all?
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 10th May 2015 16:20
double check the instructions and then let me know what is happening, also what item are you using?
did you edit the script in any way?
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11
Tarkus1971
Audio Media Maker
9
Years of Service
User Offline
Joined: 24th Feb 2015
Location: England, UK
Posted: 10th May 2015 16:35
I just took out the "press e" lines, but left the shake line, assigned it to a trigger zone, but the camera didn't shake. when I walked inside the zone.
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 10th May 2015 16:50
ah good point, that's an oversight on my part because you can't move zones so it wont work directly with a zone, you need a real entity, if you need it to be a zone you will need to modify the script to include the zone number

i.e. assign it to an entity as normal and then where you replaced the zone check use the actual entity number of the zone instead of 'e'
like


*where 2 is the zone number*
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11
Tarkus1971
Audio Media Maker
9
Years of Service
User Offline
Joined: 24th Feb 2015
Location: England, UK
Posted: 10th May 2015 18:37
ah cool thanks so much smallg
Teabone
Forum Support
18
Years of Service
User Offline
Joined: 8th Jun 2006
Location: Earth
Posted: 14th Jun 2015 12:42
I'm curious how you would zoom the camera out a bit? Noticed a lot of new commands are out camera control.... i just dont know how to use them yet lol
i7 -2600 CPU @ 3.40GHz - Windows 7 - 8GB RAM - Nivida GeForce 420 GT

Login to post a reply

Server time is: 2024-12-22 01:37:29
Your offset time is: 2024-12-22 01:37:29