eyrefa.blogg.se

Warzone 2100 command turret
Warzone 2100 command turret






It is also possible to define arrays of some data type. vlo file starts on the new line and ends at the end of the line. All components, be it some research, structure, droid template or a weapon is referred by its internal name in the game and are defined in the appropriate txt data files.Įach variable definition in a.

warzone 2100 command turret

Since it is a string it must be put inside quotation marks. "Body11ABT" is an internal name of the "Python" body used by warzone, it is defined in the body.txt file. vlo file and assign it to a variable of type BODY with some descriptive name, like: NOTE: Available data types are covered later.įor example if you want to have access to certain droid bodies, like "Python" in your script you have to define it in your. Each variable definition starts on a new line and is structured as follows: vlo file, it contains definitions of the data that will be used in the main script part - the. variable_definitions that resides inside the curly braces is the heart of every. txt files, located in 'stats' folder) will be used in the script, so it is a good idea to start writing the script with a. When writing a script it is usually known what data (as defined in data. A multi-line comment is started by the characters /* and finishes with */.

warzone 2100 command turret

There are two type of comment for the script language. Some of the file below does not apply to skirmish scripts! Make your changes to player0.slo and vlo -> player7.slo and vlo. slo file is equivalent to a ".c" file and. slo file - like for example if you want to place certain structures on the map using scripts or enable certain research, you must first make these components available to your script by defining them in a. If you want to use any of these components in your script - in your. All these components are defined in appropriate text files like body.txt, structure.txt etc.

warzone 2100 command turret

It is common for a script to deal with new or existing game components such as research topics, structures, unit bodies, propulsions, weapons etc. vlo file holds additional variable declarations necessary for the. slo file is the main part of the script and holds executable instructions while the. In order for Warzone scripts to function properly two files are required: a file with a. Reminder: WZScript is being phased-out, you should be using Javascript API instead.








Warzone 2100 command turret