Stunts Forum

Stunts - the Game => Stunts Reverse Engineering => Topic started by: Ryoma on October 30, 2021, 11:06:47 AM

Title: How to open the truck hatch ?
Post by: Ryoma on October 30, 2021, 11:06:47 AM
I made a trailer for the Ferrari. The purpose is tu replace the Truck.
I did my job and keep the maximum values for this (coordonnates, positions, etc...). Saved it in game2.3sh and a wheel moved instead of the hatch. I corrected and still the same.
After I saved the original game2.p3s in game2.3sh and now with the old truck, it does not work.

Any idea or we can consider it's not possible ?
Title: Re: How to open the truck hatch ?
Post by: Ryoma on October 30, 2021, 11:08:21 AM
Here the game.3sh...always this bug with Android, you have to rename it.
Title: Re: How to open the truck hatch ?
Post by: Daniel3D on October 30, 2021, 02:57:13 PM
I think that you have to load the resource as animation and not as shape. But I don't know how to change it.
Title: Re: How to open the truck hatch ?
Post by: Ryoma on October 30, 2021, 08:33:05 PM
Eureka !!!!!! 14 hours on it !!!!!
In fact the 1st polygon is animated and bring with it all the polygons welded to it.
So I moved from one pixel the z position of the 2 doors. I drawn between a color 129 polygone welded to the doors and put it in first position.
Stunts animated this polygon which bring the 2 doors.
I will make some tests and after I propose it here.

https://mega.nz/file/FnAGUTqY#8E_4WpHSj0TrUXuqg-JKAPWRqraPdlLo21wlPi8Q5Qo
Title: Re: How to open the truck hatch ?
Post by: Daniel3D on October 30, 2021, 08:36:41 PM
Wow.
Nicely done. As far as I know, there is not much know about the game animations.
Title: Re: How to open the truck hatch ?
Post by: Duplode on October 30, 2021, 08:41:21 PM
Brilliant! The movement is presumably hard coded somewhere to happen on a fixed position of the polygon list, much like it works for rotating the front wheels.
Title: Re: How to open the truck hatch ?
Post by: Daniel3D on October 30, 2021, 08:44:03 PM
Quote from: Duplode on October 30, 2021, 08:41:21 PM
Brilliant! The movement is presumably hard coded somewhere to happen on a fixed position of the polygon list, much like it works for rotating the front wheels.
I am not sure it is. Stressed has besides text and shape and stuff also animation in its list.
Title: Re: How to open the truck hatch ?
Post by: Ryoma on October 30, 2021, 08:46:58 PM
Here the game2.3sh for the Ferrari Édition

https://mega.nz/file/FnAGUTqY#8E_4WpHSj0TrUXuqg-JKAPWRqraPdlLo21wlPi8Q5Qo
Title: Re: How to open the truck hatch ?
Post by: Ryoma on October 30, 2021, 08:55:41 PM
Here a gif
Title: Re: How to open the truck hatch ?
Post by: Duplode on October 30, 2021, 09:01:49 PM
Quote from: Daniel3D on October 30, 2021, 08:44:03 PM
I am not sure it is. Stressed has besides text and shape and stuff also animation in its list.

IIRC those animation resource are only used for the opponent 2D animations on the post-race evaluation screen.
Title: Re: How to open the truck hatch ?
Post by: Overdrijf on November 01, 2021, 04:47:09 PM
Nice!
Title: Re: How to open the truck hatch ?
Post by: Ryoma on November 01, 2021, 04:55:08 PM
Thanks
(https://zupimages.net/up/21/43/95k6.gif)