User Tools

Site Tools


ded:infine_script_reference

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
ded:infine_script_reference [2017-03-13 21:31]
skyjake [Game control]
ded:infine_script_reference [2017-03-22 09:06] (current)
skyjake ↷ Links adapted because of a move operation
Line 94: Line 94:
 | deathmatch| True in [[:​deathmatch]] games. | | deathmatch| True in [[:​deathmatch]] games. |
 | shareware| True when a [[:​shareware_wad]] is being used (DOOM 1, Heretic). Always false for [[:​doom_ii]],​ [[:​final_doom]] and [[:hexen]]. | | shareware| True when a [[:​shareware_wad]] is being used (DOOM 1, Heretic). Always false for [[:​doom_ii]],​ [[:​final_doom]] and [[:hexen]]. |
-| ultimate| True if the [[:​game_mode]] is "​[[:​doom1-ultimate]]"​ ([[:​doom]]). | +| ultimate| True if the [[:​game_mode]] is "​[[:​doom1-ultimate]]"​ ([[games:doom]]). | 
-| commercial| True if the [[:​game_mode]] is "​[[:​doom2]]"​ ([[:​doom]]). |+| commercial| True if the [[:​game_mode]] is "​[[:​doom2]]"​ ([[games:doom]]). |
 | leavehub| True if a [[:hub]] has just been exited ([[:​hexen]]). | | leavehub| True if a [[:hub]] has just been exited ([[:​hexen]]). |
 | fighter| True if the player'​s class is [[:​fighter]] ([[:​hexen]]). | | fighter| True if the player'​s class is [[:​fighter]] ([[:​hexen]]). |
Line 239: Line 239:
   : Works like "​image",​ but lets you specify the initial location of the image. This is not usually needed since the default initial location is (0,0) and images cover the whole screen (320x200).   : Works like "​image",​ but lets you specify the initial location of the image. This is not usually needed since the default initial location is (0,0) and images cover the whole screen (320x200).
   ; ''​Patch''​ (pic-id) (x) (y) (patch-lump) ​   ; ''​Patch''​ (pic-id) (x) (y) (patch-lump) ​
-  : Create a picture object out of a [[:​patch_image]]. Patches are the internal image format of [[:doom]]. It's most commonly used by the sprites (all sprite frames as patches). Patches can have transparent pixels (e.g. all the characters of the [[:doom]] font are patches). (pic-id) is a text string of your choosing. (patch-lump) is the name of the lump that contains the patch image.+  : Create a picture object out of a [[:​patch_image]]. Patches are the internal image format of [[games:doom]]. It's most commonly used by the sprites (all sprite frames as patches). Patches can have transparent pixels (e.g. all the characters of the [[games:doom]] font are patches). (pic-id) is a text string of your choosing. (patch-lump) is the name of the lump that contains the patch image.
   ; ''​Set''​ (pic-id) (patch-lump) ​   ; ''​Set''​ (pic-id) (patch-lump) ​
   : Set the patch of an existing picture object. Only the [[:​patch_lump]] of the picture object is changed, other parameters like position and scaling remain the same.   : Set the patch of an existing picture object. Only the [[:​patch_lump]] of the picture object is changed, other parameters like position and scaling remain the same.
ded/infine_script_reference.txt · Last modified: 2017-03-22 09:06 by skyjake