|
Tiberian Technologies Scripts Reference Revision: 9000
|
Remote Control Vehicle Console. More...
#include <dp88_ar.h>
This script is attached to consoles to allow players to take remote control of a drone vehicle which is spawned by the console on demand. The vehicle preset which is spawned must have the dp88_RemoteControlVehicle script attached with a matching remoteControlID parameter to work correctly
| remoteControlID | Shared ID used by the console and drones to enable them to be linked correctly - each vehicle preset should use a unique ID, but multiple consoles can share that vehicles ID |
| vehiclePreset | Name of the vehicle preset to spawn as the drone |
| cost | Cost of purchasing a drone when non exists |
| team | ID of the team permitted to use this console (0: Nod, 1: GDI, 2: Both) |
| chargeTime | Minimum time, in seconds, for the console to charge up before the purchase of a drone is permitted and to recharge between drone purchases. Set to 0 to disable charging. |
| accessDeniedSound | 2D sound to play for a player of the wrong team who tries to use the console |
| consoleOfflineSound | 2D sound to play for a player trying to use a disabled console |
| consoleChargingSound | 2D sound to play for a player trying to use a console which is charging |
| insufficientFundsSound | 2D sound to play for a player trying to purchase a drone with insufficient credits |
| connectionEstablishedSound | 2D sound to play for a player when they successful take control of a drone |
| animationName | Name of the animation for the state frames |
| animFrameAvailable1 | First frame of the animation to play when the console is available (drone ready to purchase) |
| animFrameAvailable2 | Last frame of the animation to play when the console is available (drone ready to purchase) |
| animFrameCharging1 | First frame of the animation to play when the console is charging |
| animFrameCharging2 | Last frame of the animation to play when the console is charging |
| animFrameActive1 | First frame of the animation to play when the console is in use |
| animFrameActive2 | Last frame of the animation to play when the console is in use |
| animFrameIdle1 | First frame of the animation to play when the console is available (drone idle in field) |
| animFrameIdle2 | Last frame of the animation to play when the console is available (drone idle in field) |
| animFrameDisabled1 | First frame of the animation to play when the console is disabled |
| animFrameDisabled2 | Last frame of the animation to play when the console is disabled |