MatrixMoves
Playerclass plugin documentation
by Tuomo 'Tuco' Korva & Heikki Korva
http://www.planetunreal.com/reactor4
reactor_4@hotmail.com
Release NotesThis document describes the procedure to make pluginpackages for supporting new player classes in MatrixMoves. Making the plugin package takes about 10 minutes and requires no programming experience.
Supported classes
By default beta 2 version supports the following player classes:
- All original UnrealTournament player classes
- All UT Bonuspack player classes
- Rumiko player classMatrixMoves uses a plugin type approach for supporting additional player classes. This means that you don't need any additional packages for playing MatrixMoves and it's easy to make new pluginpackages for player models which don't have MM support yet.
How to make new playerclass plugin
The examples are in red. In the example I'm adding support for the Bonuspack's Nali playerclass.
1. Make sure you have MatrixMoves and the unsupported player class installed to UT
OK, MatrixMoves and Bonuspack are both installed.2. Open Unrealtournament\System\Unreal.ini file and add both packages to the end of editpackages list
Open file in notepad. Search for editpackages and add the lines to the end of the list.
EditPackages=MatrixMoves
EditPackages=Multimesh3. Fire up UnrealEd and find the unsupported player class from the class hierarchy
Nali seems to located in Pawn- PlayerPawn- TournamentPlayer- TournamentMale- CustomPlayer- tnali
4. Add a subclass for the unsupported player class and put it to a new package
Right click on the original class in the class browser, choose create new class, put MM_Bonuspackplugin as package name and MMNali as new class name.5. Open MMPlayer class under Male1 and copy all the code from it to new player class you created
Copy/paste the code from MMPlayer to the MMNali class.6. Compile code and save the new package.
Just press the compile button, then select the MM_Bonuspackplugin package from list and press save selected packages.7. Open Unrealtournament\System\MatrixMoves.ini file in some text editor. Add the original player class name to the first empty line in SupportedClasses. Then add the name of the class you created to the first empty line in PluginClasses.
Open file in notepad. Add the lines to the first empty line which in this case is after the cow class. The class name consists of package name and class name so for the original nali class it's multimesh.tnali and for the plugin class it's MM_BonuspackPlugin.MMtnali.
SupportedClasses[0]=multimesh.tcow
SupportedClasses[1]=multimesh.tnali
PluginClasses[0]=MM_BonusPackPlugin.MMtcow
PluginClasses[1]=MM_BonusPackPlugin.MMtnali8. You're done. Test if the plugin works in the game.
July 2nd, 2000
Copyright Reactor 4 - 2000. All Rights Reserved.