Scripts / player screen moves when damaged, was there a script like this?

Author
Message
KombatArmy212
5
Years of Service
User Offline
Joined: 11th Aug 2018
Location:
Posted: 1st Feb 2021 03:39
Have I ever seen in this forum that they had done something like this, that every time the player receives damage the screen would move up showing the damage was executed as in this game, at 1:12 there you can see how the screen up and down again, does anyone know if this may be possible in gameguru?
https://www.youtube.com/watch?v=VbOjX8lxqXk m
minute 1;12
PM
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 1st Feb 2021 14:20
Would require a change in gameplayercontrol.lua as that script handles the camera position and angle.
Been there, done that, got all the T-Shirts!
PM
KombatArmy212
5
Years of Service
User Offline
Joined: 11th Aug 2018
Location:
Posted: 1st Feb 2021 18:07
When the player is hit in gameguru, I don't know what it is like in gameguru max, I still can't pay it, I notice the player backs off when hit, can a camera movement script be attached every time he is hit? or as in fps maker that a red circle appeared when receiving damage, a little ugly it looked in fps maker but it worked, it is a matter of making it appear and fade progressively so that the effect is better, and if we add that Carama moves it makes the gameplay improve a lot.
I'm going to try to do something, but I don't think it will work. I'm good at modifying scripts and I made some I want to share with you, but I'm not good at creating them.
PM
KombatArmy212
5
Years of Service
User Offline
Joined: 11th Aug 2018
Location:
Posted: 1st Feb 2021 18:09
If we add the movement of the camera, I meant sorry for the mistake.
PM
GubbyBlips
5
Years of Service
User Offline
Joined: 14th Jan 2019
Location:
Posted: 1st Feb 2021 19:45
Okay, you can look at a couple threads that where posted that relate somewhat.
To find player damage is easy. What kind of camera movement you personally want-- that's the uncertainty.

I'm sure both scripts I put down need some tweaking, mostly the 'weapon reload' camera
bobbing script because the g_PlayerAngX angles are oddly polarized.

https://forum.game-guru.com/thread/222063
optional addition@ line 54;
SetFreezeAngle(shaketime[e], g_PlayerAngY, g_PlayerAngZ + plryaw[e])

https://forum.game-guru.com/thread/222085
fix starting @ line 94;

--c_firstx[e] = g_PlayerAngX
c_firstx[e] = 15
c_firsty[e] = g_PlayerAngY
c_firstz[e] = g_PlayerAngZ

--c_scopex[e] = g_PlayerAngX
c_scopex[e] = 15
c_scopey[e] = g_PlayerAngY
c_scopez[e] = g_PlayerAngZ
PM

Login to post a reply

Server time is: 2024-04-24 08:21:00
Your offset time is: 2024-04-24 08:21:00