Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Resident Evil Style Kicks and Suplex's - Similar Theory

Author
Message
AdrianoJones Wannabe
15
Years of Service
User Offline
Joined: 2nd Jul 2009
Location: Ontario, Canada
Posted: 4th Feb 2010 02:24
Well I know this can't really be achieved in FPSC.
But the theory of doing it is:

Well first, you'll need a video of the trick being performed. Make sure the background is something that is suitable for your level, for it could not be changed. Make it black or something so it's less noticeable.
So now I need a script that when a certain key is pressed near an enemy, the video is played and then the enemy is killed. Is there a possible solution for this?
If so, it would be nice if there was such a script.

-Adrian

And I do, wanna love you... And I do, wanna try...
Because if falling for you girl is crazy, then I'm going out of my mind.
So hold back your tears this time...
Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 4th Feb 2010 03:49
It would look really bad. But yes, it is possible through scripting.


[b]FPSC MIGRATION: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21
AdrianoJones Wannabe
15
Years of Service
User Offline
Joined: 2nd Jul 2009
Location: Ontario, Canada
Posted: 4th Feb 2010 04:21
Quote: "It would look really bad. But yes, it is possible through scripting."


I agree, but I say that a nice effect could be achieved. Has anyone ever noticed that in Resident Evil 4, while fighting boss monsters or dodging, the same video is played over and over again for each certain action (for example, climbing on a boss and slashing its back) or such. The thing that makes it flow really smoothly is that the angle of view in those interactive videos are shown at a certain perspective so it doesn't show a specific location that the player is at. This might take a while to understand.

-Adrian

And I do, wanna love you... And I do, wanna try...
Because if falling for you girl is crazy, then I'm going out of my mind.
So hold back your tears this time...
Kravenwolf
15
Years of Service
User Offline
Joined: 14th Apr 2009
Location: Silent Hill
Posted: 4th Feb 2010 06:36 Edited at: 4th Feb 2010 06:46
I've actually been brainstorming here and there on the same subject. I've been thinking of a few ways that I could pull off "realtime death scenes" for my latest project. I also got the idea from Resident Evil.

I haven't gotten far enough to actually start trying out my methods, but what I was going to attempt to achieve with some of the "mini-bosses" in my game was spawn an animated entity after an enemy deals damage to the player. My theory:

(1) The enemy/boss attacks the player.

(2) If the player is range of that attack, the game freezes the player and the camera, and the enemy/boss disappears.

(3) A new entity is spawned in place of the enemy that disappeared. This entity contains both the original enemy/boss, as well as a player character model in the same mesh. This entity, basically plays out an animation of the character death sequence (i.e. the boss grabs the player character by the throat, stabs him through the chest, and then throws him to the ground. All the while, the player is watching this entity animation).

(4) After the animation, the player's health is taken away, the screen fades out, and the game is over.


That's pretty much it. A "realtime death scene". NOT a pre-recorded video. The animation, or "scene", can play where ever the player is attacked in the level.

Another example of this could be acheived with bond1's chainsaw brute. The brute swings his chainsaw to attack. As soon as that attack "hits" the player, the player/camera is frozen, the brute disappears, and a new animated entity spawns in it's place. The new entity is a chainsaw brute, and a player character. It's animation starts as soon as the entity spawns, and it shows the chainsaw brute pulling back its chainsaw, and then decapitating the player character. The screen fades to black, the player's health is taken away, and the game is over. Like I said, I haven't tried this method yet, and I still haven't looked into seeing if all of the needed commands/actions to pull something like this off are there. It's just one of a few theories I have to achieve something like this in FPS Creator.

Kravenwolf

Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 4th Feb 2010 13:12
Kravenwoldf, all of the above is possible.


[b]FPSC MIGRATION: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21
Shadowtroid
14
Years of Service
User Offline
Joined: 23rd Dec 2009
Location: nope
Posted: 4th Feb 2010 13:17
The only problem with that Kravenwolf is that the players perspective would stay the same. As in, it'd look like you just popped in front of yourself. If you can get the players position to change, however, that would work.

"And we played the first thing that came to our heads...Just so happened to be... the best song in the world...

it was the best song in the world..."
Kravenwolf
15
Years of Service
User Offline
Joined: 14th Apr 2009
Location: Silent Hill
Posted: 4th Feb 2010 16:40
Quote: "all of the above is possible."


That's very good to hear, thanks Marc

Quote: "the players perspective would stay the same. As in, it'd look like you just popped in front of yourself. "


I know that it's possible to adjust the field of view. So, as the new entity is spawned, the camera angle can pan out. I also know the player's current weapon can be forcefully dropped or holstered, so I can also use this command so the player's weapon doesn't get in the way of the death scene.

Kravenwolf

Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 4th Feb 2010 16:48
Send a youtube video of the kick and I'll take a look.


[b]FPSC MIGRATION: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21
Kravenwolf
15
Years of Service
User Offline
Joined: 14th Apr 2009
Location: Silent Hill
Posted: 4th Feb 2010 17:02 Edited at: 4th Feb 2010 17:14
http://www.youtube.com/watch?v=sXLEN_hBBIM

These are what he means. The animations are always the same, but they're done in real-time. It's the same as in Resident Evil 4.

Kravenwolf

Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 4th Feb 2010 18:33
So it's third person?


[b]FPSC MIGRATION: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21
Hockeykid
DBPro Tool Maker
17
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 4th Feb 2010 22:07
Or we could grab a copy of PB do some scripting with cameras and get a real time cut scene going. (Possible, don't hold me to it but from what I remember of the camera commands it should be possible)

AdrianoJones Wannabe
15
Years of Service
User Offline
Joined: 2nd Jul 2009
Location: Ontario, Canada
Posted: 4th Feb 2010 22:12
Yes, if anyone has a possible script or method that would work in Fenix Mod, please tell me.

Kravenwolf: Those are very good ideas, I'll try to experiment with that idea, thanks.

-Adrian

And I do, wanna love you... And I do, wanna try...
Because if falling for you girl is crazy, then I'm going out of my mind.
So hold back your tears this time...
wayne davis rocks
16
Years of Service
User Offline
Joined: 10th May 2008
Location: US Liberty In
Posted: 12th Feb 2010 22:55
brilliant

Wayne Davis Band
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 16th Feb 2010 03:00
Quote: "Or we could grab a copy of PB do some scripting with cameras and get a real time cut scene going."


That's exactly what I was thinking after reading Kraven's post.

Hide the player's weapon, bind the player camera to the new "cinematic" entity, set up the offsets, maybe have the camera "spin" around the model while the animation is playing... BOOM!!! Instant glorification!

Only problem here would be that all of the other entities would see the player as the cinematic entity and would attempt to shoot at it.
But with some extra scripting, you could have all of your enemies stop and watch the action instead of shooting.


The one and only,


wayne davis rocks
16
Years of Service
User Offline
Joined: 10th May 2008
Location: US Liberty In
Posted: 16th Feb 2010 17:40
coloff and colon

Wayne Davis Band

Login to post a reply

Server time is: 2024-11-25 02:56:59
Your offset time is: 2024-11-25 02:56:59