DSHack.org Archive
This is a read-only archive from DSHack.org, as seen in 2008-2015.
Click here to join our newer Forum.
Page: 1
Dark Light
Posted 2015年04月05日 - 8:47 JST #20661



Members
297 Posts
For the past week, I've managed to get a fully functioning Battle Course(Take a look at GBA Battle course 2 for example).
 
Today, I along with the release of GBA Battle Course 2, I present you the Battle Course tutorial
 
First we have some prerequisites:
  • Your NSBMD generated through MKDSCM(latest) or Maya/3DS Max
  • Your NSBTX generated(Texture File)
  • Your Collision File(KCL)
  • All of the above in your battle Carc
  • MKDSCM(latest reccomended)
  • EFE(Reccomended if MKDSCM doesn't work properly)
 
 
Assuming that you have that done we now begin the tutorial.
 
Note: Remember to Save Often!!!!! Also make backup copies just in-case you do stuff wrong.
 
1. Cleaning out the NKM file
Q6sWeMg.png
F7fsikr.png
zW8TR3o.png
Step 1 End Result:
 
5fkfooo.png
(Notice the CPU routes gone)
 
2. Making CPU(MEPO/MEPA) routes
 
CPU routes should be your #1 priority. In step one you deleted the CPU routes because using existing CPU routes would be alot harder then not.
 
2.1 fWiWHIE.png
 
2.2  JjeYSg5.png
       EA6HSYJ.png
       XXrovHx.png
 
2.3 (Neccesairy Edits)
      mlwMdkL.png
      mHl1IhY.png
      YVhkaZs.png
      UgG9JnG.png
      (There may be a time where you feel like adding one more MEPA/O point would be useful.)
2.4 Adding more main routes
     jutEjaa.png
     5lo1tgV.png
  (There may be a time where you feel like adding one more MEPA/O point would be useful.)
2.5 The Connecting MEPO
      T2zmfMa.png
      bJiUJju.png
I split up the other main route, because I noticed there would be problem if we just leave it as a full Decagon.
 
2.6 Adding Height to all the MEPO points... 
Use MKDSCM's auto Y feature on an object, and then use that Y value as an estimate for the MEPO routes. 
For example: 
mE6aD3V.png
YLdc3m2.png
 
Final Result of step 2:
KwkI2jF.png
YJMZWOU.png
 
Now we have all the points that were going to use. Now we need to Connect the routes.
3. Connecting the CPU routes
This is the most time consuming, math involved, hardest, etc. You need to make sure that you have your MEPO points finalized, the the MEPA routes
 
If you are using EFE, you should save the .carc open the same carc in MKDSCM and use MKDSCM as a reference. Open the carc with MKDSCM, open both the KCL and the NKM.
Example: 
VcdMxyw.png
3.1 & 3.2 The Comes From Column
 Now lets find the first MEPO point(This should also be the point where the first MEPA route starts).
WpzLqXS.png
Now take note of the point(s) around it that isn't connected
mKnmukB.png
 
(3.2)Switch to EFE, now we take these two points and apply it in the MEPA.
End result: 
3ijKW9j.png
SLfgTmn.png
(See notes at bottom for maximum amount of settings)
 
3.3 The "Goes To" Collumn
t5PoiEf.png
zhd14Xx.png
End result: 
7IodPbt.png
Now we do the same thing we did in 3.2, only in the "Goes To Collumn"
3.4 Now we go to point 26(because it's right at 0) and we take note of all the points around it.
UHInuqV.png
Since this is The Connecting MEPO we apply all the points(except for 26 because that is the point/route we're working on) to the Come From and Goes to Column.
QX1yvoU.png
3.5 Apply 3.1-3.4 to all of the routes.
Step 3 End Result:
iU4hWlI.png
ACcXu6Y.png
 
Now the hard part is done.
Step 4: Applying Starting positions, Point Value, and testing the track.
4.1 Take the black dots(starting positions) and put them in the track. Try and get it close to the Origin(Origin = 0, y 0). And adjust the height of the starting positions.
3zlmgHv.png
5HiVTEz.png
4.2 Go to the MEPO tab and adjust the point Value to all of the MEPO... Reccomended Point Values is between 50(for smaller sections) to 175(for larger sections.)
ZWPiNFq.png
ChJpblK.png
Now we test it in game....
GsDhH9N.png
And this works!!!
 
If this didn't work and freezes in game, go to the OBJI locate Object 6900 and change the Y value so that it is higher then the course(for example course is at 100 units on Y, make 6900 at 500 at Y).
 
If it persists, comment or PM me.
 
Notes:
  • Obji 6900 can control how many balloons you have. Its obji setting 1 is the number of balloons you start activated, and the second the number of balloons yow can use. In battle is always 00010005 (I think) 1 balloon activated, 5 you can activate. If you set to 0, you will get an endless battle. 
  • The amount of settings in MEPA cannot exceed 4. Example of maximum amount:
    R0TYx91.png
 
From here continue working on your track like a regular custom track.

Gericom
Posted 2015年04月05日 - 17:22 JST #20662

Feature-Length Nut Expansion Pak

Moderator
1377 Posts
Very nice tutorial.

Did you know that you can use auto-y in mkdscm on mepo aswell? And that you can zoom in with the scroll wheel. And you can select multiple points and set the value for all at once in efe?

I will make efe show the current point index aswell.

Dark Light
Posted 2015年04月05日 - 22:03 JST #20664



Members
297 Posts

Very nice tutorial.

Did you know that you can use auto-y in mkdscm on mepo aswell? And that you can zoom in with the scroll wheel. And you can select multiple points and set the value for all at once in efe?

I will make efe show the current point index aswell.

Can you make an option to include laptop style mouses, like hitting Y will Auto-Y or something to the equiv? Cause the only way for me to find Y is by estimating.


Gericom
Posted 2015年04月06日 - 1:13 JST #20665

Feature-Length Nut Expansion Pak

Moderator
1377 Posts

Can you make an option to include laptop style mouses, like hitting Y will Auto-Y or something to the equiv? Cause the only way for me to find Y is by estimating.


Yes. I think I will move it to the right mouse button. Also, efe does not support auto y yet.

pabloh&g
Posted 2015年04月06日 - 7:47 JST #20667

On 26/09/2014, at 9:25 pm, Yamilla Hoshi wrote:> ????

Members
167 Posts
You forgot to say something. Obji 6900 coontrols how many ballons you have. Its obji setting 1 is the number of ballons you start activated, and the second the number of ballons yow can use. In battle is always 00010005 (I think) 1 ballon actived, 5 you can activate. If you set to 0, you will get an endless battle.

Dark Light
Posted 2015年04月06日 - 8:10 JST #20668



Members
297 Posts

You forgot to say something. Obji 6900 coontrols how many ballons you have. Its obji setting 1 is the number of ballons you start activated, and the second the number of ballons yow can use. In battle is always 00010005 (I think) 1 ballon actived, 5 you can activate. If you set to 0, you will get an endless battle.

I never knew this, thanks! Will add this info to the first post.


Dark Light
Posted 2015年04月09日 - 6:14 JST #20682



Members
297 Posts

New discovery found today, the amount of settings used cannot exceed 4 values

Example:

R0TYx91.png

 

Any more values will cause major glitches and crash. Although not known why a fifth value won't work.


Gericom
Posted 2015年04月09日 - 14:30 JST #20683

Feature-Length Nut Expansion Pak

Moderator
1377 Posts

New discovery found today, the amount of settings used cannot exceed 4 values
Example:
R0TYx91.png
 
Any more values will cause major glitches and crash. Although not known why a fifth value won't work.

Strange. Are they not used in Nintendo tracks aswell?

Dark Light
Posted 2015年04月09日 - 18:54 JST #20685



Members
297 Posts

Strange. Are they not used in Nintendo tracks aswell?

One of the first things I noticed while trying to make battle mode to work is that Ninty's tracks didn't use more then 4 values. It didn't strike me at the time, however I needed 5 values for a course, and the game would crash when a CPU would try and go to the MEPA route with 5 or more values.


Gericom
Posted 2015年04月09日 - 19:00 JST #20686

Feature-Length Nut Expansion Pak

Moderator
1377 Posts

One of the first things I noticed while trying to make battle mode to work is that Ninty's tracks didn't use more then 4 values. It didn't strike me at the time, however I needed 5 values for a course, and the game would crash when a CPU would try and go to the MEPA route with 5 or more values.


I will see if I can find the cause of this (dissassembly). Why would they make 8 fields if only 4 of them can be used.

Page: 1