Call of Duty 5: SP Utility Scripts
Jump to navigation Jump to search
“Utility scripts” are referred to as the scripts that are commonly used. For example, in the script directory, you will see several scripts with the prefix of an underscore, (i.e. _anim.gsc). These are known as the _utility scripts.
|This handles playing the various animations on AI, from body animations to facial animations to interactive animations.
|Contains functions for executing game saves and checkpoints.
|Co-op call back functions.
|Contains set up functions for Co-op callbacks.
|Logic and functions that handle drones (non-AI).
|Contains common tasks functions for player HUD.
|Functions pertaining to introscreens before missions start such as date/time/place.
|Loads up scripts needed for the game/missions to work properly.
|Functions to player load outs; weapons players start with and the view model arms.
|Gold mine of functions for AI spawners here, most of which can be used by Radiant as KVPs.
|Contains a lot of common tasks scripters use. Odds are, if you need to script a common functionality that other maps demonstrate, it might be in here.
|This handles playing the various effects and animations on a vehicle. Most things you see in the vehicle menu in Radiant are handled here. There's all sorts of properties that you can set on a trigger to access some of this functionality.
|This is where all the vehicle / AI interactions happen.
|This is where all the rain/ thunder/ lighting effects happen.
|High level script for the Nazi Zombie mode.
Sources: Treyarch's Wiki