LUA functionality expansion
Posted: 11 Nov 2006, 01:26
Building on michilusnimbuses work can the following functionality be implemented:
-Allies can be set (and broken) through lua script.
-lua scripts can be called through the lobby (in multiplayer games)
-waypoints for units can be added easily. (just rewrite it so you can give the unit.goto(float3) function a list eg unit.goto(float3[]).
-similar modification for the patrol function unit.patrol(float3[])
-luamission builder function to recover stored waypoints of units (so I can pause the game. Call .savewaypoints on a unit and the waypoints of that unit are printed to screen and get incorporated into the infolog.txt
These are some of the steps necessary to start building up the SP side of the game (besides raw AIs)
-Allies can be set (and broken) through lua script.
-lua scripts can be called through the lobby (in multiplayer games)
-waypoints for units can be added easily. (just rewrite it so you can give the unit.goto(float3) function a list eg unit.goto(float3[]).
-similar modification for the patrol function unit.patrol(float3[])
-luamission builder function to recover stored waypoints of units (so I can pause the game. Call .savewaypoints on a unit and the waypoints of that unit are printed to screen and get incorporated into the infolog.txt
These are some of the steps necessary to start building up the SP side of the game (besides raw AIs)