Post by kariyajr on Oct 16, 2022 0:11:37 GMT 10
*Warning* If this tutorial reduced your experience of gameplay. you should skipped this article.
In the end of Jake stage 2-3 (Ice Cave). we should do Intense button/stick rolling to quickly open 4 Valve doors.
I know its not that hard for concentrated. but I still want to messed with game scripts a bit. 4fun of course. lol
Let's start it !.
1) now, extracted s0402Soft.arc file with -xfs method.
2) at very first folder path. You should see [data] and [soft] folder.
3) go into [data] folder. position of valve doors stored in there. (surprised me a lot too)
4) looks for s0402_m00.lot.xml in [ data\stage\s0402\scr\scr00\ ]
5) Its has a lot of object positions. We looking for : sm1218 = valve door object in Jake 2-3
Y : is height in X-Y-Z. we're in underground cave. so its -500. everything on same floor should Y = -500.
Z : is depth in X-Y-Z. If you have knowledge of maths. X,Y,Z will do 90 angle to each other.
Id013 = 3rd door Axis is
Id012 = 4th door Axis is
4 doors are on the same height, lines on the same value. that value is Z. and X are all different. so "X" is what we need to change.
Simply to decreased X value of "mPosition" less than -215. On my tested I setted like this :
2nd door
3rd door
4th door
result : Door 2-4 still not go through the cave wall. but Its overlaped with Drill Truck's model (Drill hasn't Hitboxes, lol).
then you saved, repacked, and tested by yourself.
on the gameplay run :
1) I play normally until find last section.
2) Open 1st door on the chills.
3) RUN for Your Life to the end of cave. didn't care anything. until Partner catched up with you at Drill truck and weird doors. Minigame of Drills will launches.
Enjoy ! XD
In the end of Jake stage 2-3 (Ice Cave). we should do Intense button/stick rolling to quickly open 4 Valve doors.
I know its not that hard for concentrated. but I still want to messed with game scripts a bit. 4fun of course. lol
Let's start it !.
1) now, extracted s0402Soft.arc file with -xfs method.
2) at very first folder path. You should see [data] and [soft] folder.
3) go into [data] folder. position of valve doors stored in there. (surprised me a lot too)
4) looks for s0402_m00.lot.xml in [ data\stage\s0402\scr\scr00\ ]
5) Its has a lot of object positions. We looking for : sm1218 = valve door object in Jake 2-3
<string name="mName" value="id012_sm1218"/>
<string name="mName" value="id013_sm1218"/>
<string name="mName" value="id014_sm1218"/>
<string name="mName" value="id015_sm1218"/>
Those 4 ids are 4 doors before Driller truck. sorted backward like this :
<string name="mName" value="id015_sm1218"/> = 1st door
<string name="mName" value="id014_sm1218"/> = 2nd door
<string name="mName" value="id013_sm1218"/> = 3rd door
<string name="mName" value="id012_sm1218"/> = 4th door
Now, I messed with stage scripts a lot. You need to know it's last objective first.
(1) Ustanak must be spawned.
(2) go to drill truck position WITH YOUR PARTNER.
Why I didn't move all 4 doors out of the way? :
- Door Id015 = 1st door, will spawn Ustanak on the other side AFTER you close this door. If you didn't open-and-close. your NPC partner will not move from door's waiting point. (NPC don't know what to do)
So, Valve door 2-4 didn't need for that.
We'll look for Id014 = 2nd door Axis :
(1) Ustanak must be spawned.
(2) go to drill truck position WITH YOUR PARTNER.
Why I didn't move all 4 doors out of the way? :
- Door Id015 = 1st door, will spawn Ustanak on the other side AFTER you close this door. If you didn't open-and-close. your NPC partner will not move from door's waiting point. (NPC don't know what to do)
So, Valve door 2-4 didn't need for that.
We'll look for Id014 = 2nd door Axis :
<s32 name="mID" value="14"/>
<string name="mInfoClass" value="cSetInfoInsModel"/>
<string name="mUnitClass" value="uSM"/>
<classref name="mpInfo" type="785040654">
<string name="mName" value="id014_sm1218"/>
<u32 name="mOrder" value="0"/>
<vector3 name="mPosition" x="1785.0000000000" y="-500.0000000000" z="7260.3500976563"/>
<vector3 name="mAngle" x="0.0000000000" y="1.5707960129" z="0.0000000000"/>
Y : is height in X-Y-Z. we're in underground cave. so its -500. everything on same floor should Y = -500.
Z : is depth in X-Y-Z. If you have knowledge of maths. X,Y,Z will do 90 angle to each other.
Id013 = 3rd door Axis is
<vector3 name="mPosition" x="785.0000000000" y="-500.0000000000" z="7260.3500976563"/>
Id012 = 4th door Axis is
<vector3 name="mPosition" x="-215.0000000000" y="-500.0000000000" z="7260.3500976563"/>
4 doors are on the same height, lines on the same value. that value is Z. and X are all different. so "X" is what we need to change.
Simply to decreased X value of "mPosition" less than -215. On my tested I setted like this :
2nd door
<vector3 name="mPosition" x="-915.0000000000" y="-500.0000000000" z="7260.3500976563"/>
3rd door
<vector3 name="mPosition" x="-1015.0000000000" y="-500.0000000000" z="7260.3500976563"/>
4th door
<vector3 name="mPosition" x="-1115.0000000000" y="-500.0000000000" z="7260.3500976563"/>
result : Door 2-4 still not go through the cave wall. but Its overlaped with Drill Truck's model (Drill hasn't Hitboxes, lol).
then you saved, repacked, and tested by yourself.
on the gameplay run :
1) I play normally until find last section.
2) Open 1st door on the chills.
3) RUN for Your Life to the end of cave. didn't care anything. until Partner catched up with you at Drill truck and weird doors. Minigame of Drills will launches.
Enjoy ! XD