Editing Mod:Scripts
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 68: | Line 68: | ||
* '''Quantity - Player:''' Number of elements ('''<''' '''>''' or '''=''') of the same type of a specified ''player''. | * '''Quantity - Player:''' Number of elements ('''<''' '''>''' or '''=''') of the same type of a specified ''player''. | ||
* '''Quantity - Player Kills:''' Comparaison, entre deux ''players'', du nombre de personnages tués. | * '''Quantity - Player Kills:''' Comparaison, entre deux ''players'', du nombre de personnages tués. | ||
− | * '''Quantity - Unit:''' | + | * '''Quantity - Unit:''' Nombre d'éléments ('''<''' '''>''' ou '''=''') d'un même type d'une entité spécifiée. |
* '''Object Script State:''' State ('''on''' or '''off''') of an interactive object, such as a switch or a door. | * '''Object Script State:''' State ('''on''' or '''off''') of an interactive object, such as a switch or a door. | ||
* <font color="grey"><s>'''WeaponMode is:''' These modes are not used in ''The Sum'</s></font> | * <font color="grey"><s>'''WeaponMode is:''' These modes are not used in ''The Sum'</s></font> | ||
Line 123: | Line 123: | ||
* '''Change Team:''' Change the "team" of a specified "player". | * '''Change Team:''' Change the "team" of a specified "player". | ||
* '''Change Player:''' Change the ''player'' of a specified ''Unit''. | * '''Change Player:''' Change the ''player'' of a specified ''Unit''. | ||
− | * '''Move Unit:''' ''Teleport'' an entity to a specified waypoint.{{Warning|Moving a non-existent entity will | + | * '''Move Unit:''' ''Teleport'' an entity to a specified waypoint.{{Warning|Moving a non-existent entity will crash the game.}} |
* '''Give Item to NPC:''' Passes an item with the specified code name from the player characters to a character with the specified code name.{{Warning|When the player is too far away, nothing happens. When the character already has a copy of the item, nothing happens}} | * '''Give Item to NPC:''' Passes an item with the specified code name from the player characters to a character with the specified code name.{{Warning|When the player is too far away, nothing happens. When the character already has a copy of the item, nothing happens}} | ||
* '''Give Item from NPC to Human:''' Passes an item with a specified code name from a character to the player with a specified code name. {{Warning|When the character is too far away, nothing happens. When the player already has a copy of the item, nothing happens}} | * '''Give Item from NPC to Human:''' Passes an item with a specified code name from a character to the player with a specified code name. {{Warning|When the character is too far away, nothing happens. When the player already has a copy of the item, nothing happens}} | ||
Line 132: | Line 132: | ||
* <font color="grey"><s>'''Display Debrief window and text:''' Used only at the end of the game.</s></font> | * <font color="grey"><s>'''Display Debrief window and text:''' Used only at the end of the game.</s></font> | ||
* '''Zone of death:''' Instantly kills all entities in a specified zone and in a specified manner (''Normal'', ''Explode'', ''Cutinhalf'', ''Electrify'', ''Melt'', ''Fire'', ''Riddled'', ''Bighole''). By checking {{False button|Outside location|color=gray}}, it is possible to kill all entities outside the specified zone. | * '''Zone of death:''' Instantly kills all entities in a specified zone and in a specified manner (''Normal'', ''Explode'', ''Cutinhalf'', ''Electrify'', ''Melt'', ''Fire'', ''Riddled'', ''Bighole''). By checking {{False button|Outside location|color=gray}}, it is possible to kill all entities outside the specified zone. | ||
− | * '''Play Bink Movie:''' Start a ''.bik'' video (created with [[Mod:Editors#The_RAD_Video_Tools|The RAD Video Tools]]) and stored in ''Game/core/movie/''. The {{False button|Archive Title Key|color=gray}} is a code name ( | + | * '''Play Bink Movie:''' Start a ''.bik'' video (created with [[Mod:Editors#The_RAD_Video_Tools|The RAD Video Tools]]) and stored in ''Game/core/movie/''. The {{False button|Archive Title Key|color=gray}} is a code name (ex:''movie_name_intro'') that must also be added to the files ''Game/core/locale/game/'''generic_mission.txt''''' and ''Game/NousAurons/locale/game/'''generic_mission.txt''''' under "// FILM NAME" in this way:<syntaxhighlight> |
movie_name_intro = {Introduction} | movie_name_intro = {Introduction} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 145: | Line 145: | ||
* <font color="grey"><s>'''MP - Team with the Least Wins:''' ''The Sum'' does not work in ''Multiplayer'' mode.</s></font> | * <font color="grey"><s>'''MP - Team with the Least Wins:''' ''The Sum'' does not work in ''Multiplayer'' mode.</s></font> | ||
* <font color="grey"><s>'''MP - Team Meeting Condition Wins:''' ''The Sum'' does not work in ''Multiplayer'' mode.</s></font> | * <font color="grey"><s>'''MP - Team Meeting Condition Wins:''' ''The Sum'' does not work in ''Multiplayer'' mode.</s></font> | ||
− | * <font color="grey"><s>'''MP - Team Victory:''' ''The Sum'' does not work in ''Multiplayer'' mode.</s></font>{{Idea|Each set of actions can be executed only once, or each time the conditions are met. To do so, check {{False button|Preserve|color=black2}} to the right of {{False button|✔ Conditions|color=black2}}{{False button| Actions|color=black2}}. | + | * <font color="grey"><s>'''MP - Team Victory:''' ''The Sum'' does not work in ''Multiplayer'' mode.</s></font> |
+ | {{Idea|Each set of actions can be executed only once, or each time the conditions are met. To do so, check {{False button|Preserve|color=black2}} to the right of {{False button|✔ Conditions|color=black2}}{{False button| Actions|color=black2}}. |