Advertisement
lucasgautheron

Untitled

May 24th, 2011
182
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.96 KB | None | 0 0
  1. Assault Cube Change Log
  2. ------------------------------
  3. Please add all commited changes to the SVN trunk from last release here.
  4. Just put // TODO at the end of any line of the change log, if you're not sure of what you're adding.
  5. This changelog is a WIP;
  6.  
  7.  
  8. CubeScript changes to AC 1105:
  9. ------------------------------
  10.  
  11. New aliases/commands/variables:
  12. -------------------------------
  13.  
  14. [*] addpunct - Injects CubeScript punctuation. (e.g. echo (addpunct hello) // Output: "hello")
  15. [*] break - Jumps out of a loop created with the "loop" or "while" command
  16. [*] continue - Skip current iteration of a "loop" or "while" command.
  17. [*] delmenu - Deletes all of the menu items in the specified menu.
  18. [*] akimboautoswitch - Enables or disables automatically switching to akimbo upon pickup. (regardless of current weapon)
  19. [*] add2list - Appends a new element to a list. (Exactly like add2alias, simply without the additional ";")
  20. [*] getvar - Gets the current value of a CVAR. (client variable)
  21. [*] isIdent - Determines if the argument given is a built-in identifier.
  22. [*] isSpect - Determines if you are in any form of spectating (team, or singleplayer "fly")
  23. [*] l0 - Adds leading zeros to an integer.
  24. [*] powf - Returns a floating point integer raised to the power of another, floating point integer.
  25. [*] rrnd - Returns a ranged random integer.
  26. [*] storesets - Generates an alias (list) of the current values for the given CVARs. (Useful for storing current settings into a buffer, before manipulating them with a script, with the intention of restoring them at a later time.)
  27. [*] strlen - Returns the length (in characters) if the given string.
  28. [*] substr - Returns a substring from the given string.
  29. [*] strpos - Returns the position of string B in string A, else -1 for not found. (Useful for parsing.)
  30. [*] strins - Returns a string, instered into another string, at position x.
  31. [*] curautoteam - Returns the server's current autoteam state. (0 or 1)
  32. [*] curplayers - Returns the current number of players. (Works both in singleplayer and multiplayer scenarios.)
  33. [*] cleanshot - Take a "clean" screenshot with no HUD items.
  34. [*] getEngineState - Returns a list of the items that showstats displays. (i.e. FPS LOD WQD WVT EVT)
  35. [*] getmodeacr - Returns the current mode's acronym. (e.g. TDM)
  36. [*] megabind - Bind a key to many different actions depending on the current game state. (i.e. do this if watching a demo, do this if editing or in coop-edit mode, do this if connected to a server, etc.)
  37. [*] getposition - Returns the coordinates of the player as a list of 3 integers or floating-point values - X, Y and Z. // TODO remove (playerinfo does the job)
  38. [*] onCallVote - Native alias that is executed when someone (including yourself) calls a vote.
  39. [*] onChangeVote - Native alias that is executed when someone (including yourself) changes a vote.
  40. [*] onVoteEnd - Native alias that is executed when a vote passes or fails.
  41. [*] votepending - Native alias that is 1 if there is a vote currently pending on the server, else 0.
  42. [*] onDeathOther - Native alias that is executed when someone (other than yourself) dies. // TODO remove from changelog & compatibility.cfg
  43. [*] onDeathSelf - Native alias that is executed when you die. // TODO remove from changelog & compatibility.cfg
  44. [*] onSpawnOther - Native alias that is executed when someone (other than yourself) spawns. // TODO remove from changelog & compatibility.cfg
  45. [*] onSpawnSelf - Native alias that is executed when you spawn. // TODO remove from changelog & compatibility.cfg
  46. [*] onKill - Native alias that is executed when you kill an enemy. // TODO remove from changelog & compatibility.cfg
  47. [*] onTK - Native alias that is executed when you kill a teammate. // TODO remove from changelog & compatibility.cfg
  48. [*] onSuicide - Native alias that is executed when you suicide. // TODO remove from changelog & compatibility.cfg
  49. [*] onLastMin - Native alias that is executed when the last minute of the current round is reached.
  50. [*] onReload - Native alias that is executed when you reload a weapon. // TODO replace with onMinRemain $arg1 with $arg1 = minute(s) remaining
  51. [*] onNewMap - Native alias that is executed when you executed the /newmap command.
  52. [*] afterinit - Native alias that is executed immediately after saved.cfg is loaded.
  53. [*] positiontype - Modifies the type of data that getposition returns. (0 for integer, 1 for floating point integer)
  54. [*] setfollowplayer - Spectates the player with client number x.
  55. [*] setmr - Restarts a demo and "fast forwards" to minutes remaining x.
  56. [*] dyngamma - Enables or disables a new "per-official-map dynamic gamma system".
  57. [*] fragmessage - Sets the frag message corresponding to a weapon. (Appears on the HUD and in your server logs.)
  58. [*] gibmessage - Sets the gib message corresponding to a weapon. (Appears on the HUD and in your server logs.)
  59. [*] setgamma - Sets the default gamma for the map you're on. (Must be an official map.)
  60. [*] forceme - Calls a vote to force yourself to the enemy team.
  61. [*] copyent - Copies the current closest entity into a buffer. (Must be in edit mode.)
  62. [*] countwalls - Returns the number of walls of type x that is in the current selection.
  63. [*] old_editbinds - Enables or disables the old editing binds. (If disabled, an updated editing binds system is used, that is focused around toggles rather than individual actions for each bind. For more info see the comments in /config/resetbinds.cfg)
  64. [*] pasteent - Pastes the previously copied entity. (Must be in edit mode.)
  65. [*] gencl - Creates or modifies an exisiting light entity, with random color values.
  66. [*] genhex - Creates a random hexadecimal value. (Useful for finding fogcolours, i.e. fogcolour (genhex))
  67. [*] genwc - Sets the current map's watercolour to random values.
  68. [*] getscrext - Returns the proper file extension of your current screenshottype setting. (e.g. ".jpg" without the quotes)
  69. [*] slowmove - Enables or disables the old spec/editfly velocity.
  70. [*] slowtoggle - Increases or decreases fly velocities. (meant to be keybound, "slowtoggle" for fly fast, toggle slow, "slowtoggle 1" for fly slow, toggle fast.)
  71. [*] oldselstyle - Enables or disables the old (1.0.4) grid/current selection style. (squares instead of triangles)
  72. [*] Multiple Idents - New helper aliases for (c). (e.g. echo (red)Hello (blue)world! (white)My fov today is: (orange) $fov)
  73. [*] resetsleeps - Reset all pending sleeps
  74. [*] settex - Set texture given as first argument to the walls of current selection and of the type specified in 2nd argument.
  75.  
  76. [*] "Sleeps" can be persistent (3rd argument of "sleep" command)
  77. [*] Substr crash bug is fixed. Also the command can now use a negative position value.
  78. [*] New stat in (pstat_score) for teamkills. New list is: FLAGS FRAGS DEATHS POINTS TEAM TEAMKILLS NAME // TODO move to compatibility.cfg
  79. [*] on_quit.cfg for deleting aliases from saved.cfg upon quit.
  80. [*] Many aliases that were stored in saved.cfg are now being stored as a single alias (list) "tmpClientData" and being restored on start. (see on_quit.cfg) // Not yet, still buggy. :P
  81. [*] Missing bracket ([], (), etc.) errors now also notify the client of what file the error resides in.
  82. [*] New automatically executed scripts folder in the root install directory of AC.
  83. [*] Float separator set to "." (dot)
  84.  
  85. Physics
  86. ---------------------
  87.  
  88. [*] Optional increased spec/editfly velocity. (Default on.)
  89. [*] Jump/Crouch raises or lowers the camera in editmode, release to stop.
  90.  
  91.  
  92. Mapping
  93. ---------------------
  94.  
  95. Weapons
  96. ---------------------
  97.  
  98. [*] Sniper damage changed (82 -> 80)
  99. [*] New shotgun behavior // TODO : develop ?
  100.  
  101. Server
  102. ---------------------
  103.  
  104. [*] Sets kill messages to appear in log for each weapon from a config file, default : serverkillmessages.cfg // TODO : is it useful ?
  105. [*] New switch to disable game status table of scores logging (-l switch)
  106. [*] Linux server available HDD space bug fixed.
  107. [*] /setnext bug fixed.
  108.  
  109. Bots
  110. ---------------------
  111.  
  112. [*] New scripted "bot survival mode".
  113. [*] Bots in plclips bug fixed.
  114. [*] bots now actually fire the rifle
  115. [*] Bots can change use pistol, knife or nades
  116. [*] Bots have different fov, depending on their level
  117.  
  118. Media (maps/textures/models)
  119. ---------------------
  120. // TODO add new maps & any new textures or models please :)
  121.  
  122.  
  123. Other
  124. ---------------------
  125.  
  126. // TODO : move this into other categories (you'll have to add some cats..)
  127.  
  128. [*] Hudgun can be displayed when spectating
  129. [*] Drop camera to previous followed player position when switching to fly editmode.
  130. [*] New updated kick/ban/reason menu with client statistics. (Reports teamkills as well.)
  131. [*] Ability to connect to a server that requires a password via the server browser. (password protected, deban, etc.)
  132. [*] New menuitems in the Keyboard menu, for looking up keybinds, and enabling/disabling the old editing binds system.
  133. [*] New menuitems in the gameplay settings menu, for setting fly velocities, and the color that your name is highlighted in, when it appears on the console via chat. (HIGHLIGHT)
  134. [*] Key "7" is now key bound to "nextclosestent" - it gets typo'd all the time - know from experience.
  135. [*] Key "F7" is now key bound to toggle fullbright on/off.
  136. [*] Colored ping in serverbrowser
  137. [*] fix scaling if scale is < 1.0 // TODO explain
  138. [*] nearplane fix // TODO explain
  139. [*] aliasinit // TODO develop
  140. [*] checkinit // TODO develop
  141. [*] Sniper trail bug fixed
  142. [*] Quicknadethrow now switches to nade even if the player was attacking
  143. [*] entproperty now works in MP coop, but buffered
  144. [*] nades accuracy, real shotgun accuracy
  145. [*] fix broken demo-viewer not able to change to SPECTATOR
  146. [*] fixed LANG for windows
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement