Creating enemy routes of battle arenas with Wiimm's tools/code examples
This page is part of the tutorial »Creating enemy routes of battle arenas with Wiimm's tools« and contains code examples for the KMP compiler of Wiimms SZS Tools.
General Settings
If you create the text version of a KMP (for example by wkmpt cat old_CookieLand_gc), you get the following information in the heading part of section [ENPT]:
[ENPT] .... # AUTO-CONENCT is one of the followinf AC$* symbols: # For racing tracks and for battle areenas with manual links setup: # AC$OFF # Do not any auto connection. Route connection are fully unter control # of the user. This is the default for check points (CKPH). # AC$PREV # Setup PREV links by NEXT links of other routes. Existing PREV links # are cleared before. This is the default for enemy routes (ENPH). # This is the behavior of all versions before v1.60a. # # Modes for automatic route connection in battle arenas: # AC$DISPATCH # Find dispatch points and create links automatically if not already # set manually. # # Flags: The modes of above can be combined with the following options by # the OR operator '|' (example: AC$PREV | ACF$FIX) # ACF$FIX_PREV # Add self-links, if a PREV list is empty. # ACF$FIX_NEXT # Add self-links, if a NEXT list is empty. # ACF$FIX # Abbreviation for: ACF$FIX_PREV | ACF$FIX_NEXT # @AUTO-CONNECT = AC$DISPATCH
The command @AUTO_CONNECT = selects a main mode for the automatic route connections. The classic definition is AC$PREV, which means, that only PREV links are created automatic by analyzing the NEXT links. This is the behavior of all versions before v1.60a.
Battle arenas, that use Dispatch Points, should use the setting AC$DISPATCH.
Track example: Luigi Circuit
???
Arena example: GCN Cookie Land
???
Links
Main Tutorials
Introduction –
Textures –
Scale –
Modeling ⇒ Using Blender –
BRRES: CTools
BRRES: BrawlBox –
BRRES: RiiStudio –
Minimap –
Solidity –
KCL: Wiimms Tools –
KMP Editing
Object Editing –
Cameras –
Cannons –
Post-effects –
Videos
Battle Arenas
Battle Arenas –
Enemy routes in battle arenas ⇒ Using Wiimm's Tools –
Coins
Misc. Tutorials
Getting Files –
BrawlBox Tricks –
Animations –
Shadows –
Mipmaps
Custom Effects –
Moving Terrain –
Music –
Ports –
Paint Remakes –
Tutorial Archive
Extended presence flags: Track Tutorial –
LE-CODE Track FAQ
Testing and Reviewing
Testing a Track –
Visual Review –
Track Transformation –
Fixing Errors
Software
3D Tools –
BrawlBox –
CTools Pack –
KMP3D –
KMP Cloud –
KMP Modifier
Lorenzi's KMP Editor –
MagicY –
Material Tool –
Post-Effect Editor –
Wiimms SZS Tools –
Wiimm's Tool Manager
Other
KMP Objects –
Custom Objects –
Model Database –
Tutorial Archive