Mario Kart 64
|
If you are familiar with oot or sm64 prepare to be very disappointed. Both games split actors into separate files. In an unorderly fashion, mk64 appears to place all actors in the same file save for the odd exception.
Example actor setup based on update_course_actors
Check actor_types.h for a full list of options. You can create a new actor struct for your actor and customize it or use a predefined one. All actor structs must retain the same size. Generally, the types in the struct may be modified so long as type
and flags
stay the same as those are used elsewhere.
See update_actor_railroad_crossing
for an example of how a timer may be setup and used.
Audio may be activated using the following method: func_800C98B8
For more complex uses such as distanceFrom and collision, you will need to analyze the other actors.