Don't switch back to rope/chute/jetpack if selected ammo is not ammoprop_AltUse
This fixes a regression like that you can't shoryuken after rope.
+ features
* bugfixes
0.9.22 -> 0.9.23
Content:
+ New game-style/mode: Battalion (see https://hedgewars.org/wiki/Battalion )
+ New theme: Beach
+ Completely new Cheese map; replaces the old one
+ New forts: Lonely_Island, Octopus, Olympic, Snail
+ Many new random hedgehog and team names
+ Add hats: barrelhider, bishop, jester, leprechaun, pirate_eyepatch, tf_scout, zoo_octopus
+ Add hair-less variants of old hats: beefeaterhat, lambdahat, nursehat, pirate_bandana, pirate_hat, poke_ash_hat, RamboClean, sf_vega_hat, sf_guile_hat, simple_red, simple_yellow, simple_green, thugclean
* Remove hat: tf_scount (this was a duplicate of tf_demoman)
* Add graves: Clover, Old Apple, pi, Simple reversed, TV, Whisky, Ying and Yang
* Redo flags: cm_pentagram, cm_soviet, armenia, ireland, nepal, suisse, sweden, turkey
Game engine:
+ New weapon: rubber duck
+ Freezer can now freeze sticky mines (they get disabled and fall into the water)
+ Improved hedgehog spawns on maps that lack land mass or free space
+ AI hedgehogs can now use Bee and Vampirism
+ Divided Teams mode will now work with more than 2 teams (Hint: you probably want to set world edges to "wrap" in such games)
+ Fort Mode will now work with more than 2 teams
+ Render graves behind everything else, so that they can't hide mines etc.
+ Show indicator symbols at bottom right while extra damage or low gravity are active
+ Color coding for the turn timer: green = ready timer, yellow = turn in progress, red = retreat timer, gray = timer paused
+ Play countdown sounds at 1-4 seconds turn time
+ Several new sound effects for weapons and utilities
+ More ticker messages: Hog gets sick, king died, hog was resurrected, hog time travels (and returns), timeout, kamikaze
+ Small visual effects enhancements
+ Briefly show theme and music authors in chat at start of game
+ A few new funny ticker messages (English)
+ Keep rope / parachute / flying saucer selected when destroyed and secondary ammo selected
* Fixed cursor often jumping back to screen center when putting target location while moving cursor
* Fixed air-strikes drops being off-center
* Gameplay fix: Hammer damage is now rounded down. This means it will cause NO DAMAGE to a hedgehog with less than 3 hp.
* Fixed screenshots being too bright if taken in quick succession
* Video recording functionality is restored
* Fixed bee not being affected by wrap world edge while still being thrown
* Rope is now destroyed when attempting to shoot it through wrap or bouncy world edge
* Fixed turn not ending when sticky mine was trapped on rubberband
* Fixed molotov cocktails bouncing off vertically off rubber
* Fixed sniper rifle disabling laser sight utility after using
* Fixed hedgehog-voices missing a response type (Justyouwait/"You're gonna pay for that") on some platforms (e.g. Linux)
* Fixed SD-flakes of themes not working if regular flakes were disabled
* Fixed RC planes being able to collect frozen crates
* Fixed Seduction's "Yoohoo!" sound not playing
* Fixed Hedgehogs getting hurt while firing deagle / sniper rifle bullet in certains situations
* Fixed hedgehogs saying “Missed” when drowning enemy without dealing damage
* Fixed enemy saying "Missed” when giving poison without direct damage
* Fixed hedgehogs not saying “Stupid” and not displaying announcer message for inflicting self-harm
* Fixed incorrect time box tooltip when in Sudden Death
* Fixed cake taking over 200 seconds to explode when its stuck and can't move
* Fixed Birdy descending into water when hog took damage or died before it got picked up
* Fixed teleportation being able to teleport in land if you clicked in the "dark" area of the wrap world edge
* Fixed team getting infinite ammo when stockpiling >= 100 ammo (max. finite ammo is now limited to 99)
* Fixed short sound effect breakdown right after using a time box
* Fixed sticky mine sound sometimes playing when shooting portable portal device when a sticky mine is placed on terrain
* Fixed player being able to switch to dying hog
* Fixed hedgehog holding nothing in hand when napalm or piano strike got selected
* Fixed possible to move rope angle below 0° while having secondary weapon selected
* Remove buggy /finish chat command
* Various other fixes
Highlander:
+ Show collected weapons after kill and play sound
+ Mission panel now shows all game modifiers (e.g. mines time, vampirism, etc.)
* Removed "Freezer"/IceGun from the default Highlander weaponset
Construction Mode:
+ Added script parameter support:
+ initialenergy: Amount of energy at start
+ energyperround: New energy per round
+ maxenergy: Maximum allowed energy
+ cratesperround: Maximum placable crates per round
+ Completely reworked all in-game texts and descriptions
* Fix rubber being placable inside land
* Fix invalid girder placement costing energy
* Special tools like structure placer now have their own proper descriptions (instead of Air Attack description, etc.)
* Costs for weapon and utility crates were all equal
* Remove airplane cursor
* Fix Lua errors when hog goes to time travel while any filter is in map
* Many other fixes and tweaks
Racer and TechRacer:
+ Allow to only place 2 waypoints in Racer
+ Allow to remove Racer waypoints with precise key
+ New script parameters for Racer:
+ rounds: Number of rounds to play
+ waypointradius: Size of waypoints
+ maxwaypoints: Maximum allowed number of waypoints
+ Show correct ranking and times in stats screen of Racer and TechRacer
* Fix description and icon of waypoint placement tool in Racer
* Remove airplane cursor in Racer
* Fixed waypoint message in TechRacer and Racer overwriting current weapon selection message
* Fixed TechRacer not recording finish if time was >= 100s
WxW:
+ Support for multiple sets of walls per map
+ Add optional “Crate Before Attack” rule
+ Add optional “All But Last” rule
+ Add optional “Kill The Leader” rule
+ Script parameter support (see Lua file comment for documentation)
+ Possible to set max. number of weapons in game (script parameter only)
+ Menu can be disabled (with script parameter “menu=false”) for insant game start
+ Possible to set number of crates per turn
+ Ropes, ShoppaKing, ShoppaHell and ShoppaNeon can now be played with the classic left and right walls
+ Allows almost all game modifiers to be changed, the only exception is crate probabilities
+ New wall sets for Ropes, ShoppaNeon, ShoppaDesert, ShoppaWild, ShoppaKing and ShoppaHell.
+ Basic support for a bunch of Shoppa maps
+ Fully functional even without a map border
+ More sound effects
+ More helpful mission display after configuration has been accepted
+ Hide “Surf Before Crate” setting if surfing is disabled for this map, or the bottom is active and water never rises
+ Hide walls setting if script does not provide walls for map yet
+ Freeze crates at turn start if Walls Before Crate or Surf Before Crate is enabled (they unfreeze if you met requirements)
+ Allow toggling the radar with Switch Hog key while roping or rope selected
* No smoke when hog is near near a WxW wall but walls need not to be touched
* Fix other player being able to change the menu config in the short period before the first turn
Tumbler:
+ Script parameter support:
+ spawnbarrels: New barrels per turn
+ spawnmines: New mines per turn
+ ammoflamer: Initial Flamer fuel
+ ammobarrel: Initial Barrel Launcher ammo
+ ammomine: Initial Mine Deployer ammo
+ minetimerplaced: Mine timer (ms) of mines dropped from Mine Deployer
+ bonustime: Bonus time (s) in utility crates
+ bonusflames: Bonus Flamer fuel in ammo crates
+ chanceammo: Per-turn % chance of an ammo crate drop
+ chancetime: Per-turn % chance of an utility crate (extra time) drop
+ Alternative weapon selection with slot keys (F1, F2, F3)
+ Add mine/barrel launch sounds
+ Add countdown sounds
+ Rewrote mission description and captions
+ Sound and message when trying to fire empty weapon
* Permanently disable some game modifiers which won't work together with this
Space Invasion:
+ Show actual scores in stats screen, and a proper graph
+ Show a couple of “awards” (snarky comments) in stats screen
+ Remove bonuses “Boom!”, “BOOM!” and “BOOM!! BOOM!! BOOM!!” for balancing reasons
+ Script parameter support:
+ rounds: Number of rounds
+ shield: Initial shield
+ barrels: Initial barrel ammo
+ pings: Available radar pings
+ timebonus: Time bonus for red drones
+ barrelbonus: Ammo bonus for green invaders
+ shieldbonus: Shield bonus for purple invaders
+ forcetheme: Set to “true” to use the selected theme instead of EarthRise
+ Complete rewrite of almost all messages and the mission panel
+ More event messages
+ Show current score in HUD (white number)
+ Stop overwriting most game scheme’s parameters
+ Disable weapon scheme
+ More sounds: Empty ammo, countdown, throw, kamikaze, radar ping, explosion
* Fix explosion being drawn twice when colliding with invader
HedgeEditor:
+ Dud mine placement mode
+ Allow to select frames in sprite placement mode
+ New placable sprite: sprTargetBee
+ Complete rewrite of all help texts
+ Allow to add and subtract health
+ Add more convenient start values (e.g. for health)
+ Allow to set timer of sticky mines
+ Health crates can now have 0 health
+ Hog and team names (from identity modes) are now translatable
+ Show health/timer above health crates, barrels, mines, sticky mines and air mines
+ Allow to toggle health/timer display with Precise+3
+ Allow to toggle main help at any time with Precise+1
* Add proper description and name for the gear placement tool (no more fake air attack)
* Fix many issues with exported files
* Fix placement mode being changable when gear placement tool is not selected
* Make land gun spawn in utility crates instead of weapon crates
* Stop aggressively showing the mission panel after any button press
* Fix placement modes sometimes showing “nil” in caption
* Fix girder sprite being displayed at top left for no reason
* Ammo names are not hardcoded anymore (no more double work for translators)
* Fix many missing or poor-quality texts for translation
* Fix error when trying to set ShoppaBalance rank without anything selected
* Don't show misleading circle when placing girder/rubber
* Disable timer keys 2-4 in rubber placement mode
* Fix incorrect weapon crate preview of air attack, drill strike and napalm
Other Game Styles:
+ Capture The Flag supports setting number of captures with script parameter “capture=<number>”
+ Don't place air mines in Shoppa
* Fixed Capture the Flag error: Flag of first team spawned at second hog instead of first
* Mutant script shows now appropriate ranking and graph in stats screen
* Disable Sudden Death for good in Shoppa game scheme, some game styles and mission maps
A Classic Fairytale:
+ Mission 4: Add infinite skip
+ Mission 5: Spare traitor's life with Skip instead of Precise
+ Mission 6: Add alternate dialogues when killing cyborgs before collecting the crates
+ All missions: Clarify mine timers
* Mission 1: Leaf of faith: Hog was able to walk to the right and get stuck
* Mission 1: Leap of faith: Teleport player back to mole when failing
* Mission 2: Fix crash when trying to open ammo menu in opening sequence
* Mission 2: Fix game sometimes getting stuck after walking back to Leaks A Lot
* Mission 2: Remove restart option when cooperating with cyborg; it messed things up too much
* Mission 3: Fix various Lua errors when playing with 2 hogs and one of them dies
* Mission 3: Fix broken end sequence after killing cyborg or princess
* Mission 3: Fix broken sequence of princess being caged
* Mission 3: All girder crates now have 3 girders each
* Mission 5: Fix crash when skipping animation while the cyborg talks before the 3rd wave of cannibals starts
* Mission 6: Block off left cave entrance to stop player to just rope all the way around
* Mission 6: Fix mines not being able to get triggered in first turn
* Mission 8: Fix Lua error message at the beginning
* Mission 10: Fix mission becoming unplayable when all hogs except the traitor died
* All missions: Add missing texts for translation
* All missions: Fix incorrect crate types
* All missions: Rewrite mission texts to state missions more clearly
* Fix swapped mission preview images of missions 2 and 3
A Space Adventure:
+ Side missions save and show your personal best successes (e.g. fastest finish in Hard Flying)
+ Spacetrip: Show 2 flowers over fully completed planets (with side missions)
+ All missions: Add skip where it doesn't hurt
+ All missions: Clarify mine timers
+ All missions: Improve displaying behaviour of mission panel
+ All missions: Change team colors
+ Side missions: Remove or shorten intro sequences
+ Side missions: Generous ready time to give more time to read the mission panel
+ Getting to the device: Put device part in a real crate, improve some dialogues
+ Final mission: Add outro sequence instead of instantly quitting
+ Bad timing: Improve messaging and choice dialog
* Spacetrip: Fix various bugs and logic flaws in the initial mission
* A frozen adventure: Fix bazooka and excess freezers (>6) not retained over checkpoints
* A frozen adventure: Fix and improve poorly written messages
* Getting to the device: Add real crate and correct message for collecting device part
* Getting to the device: Remove checkpoints. There was a good chance for these missions to become unwinnable
* Searching in the dust: Remove checkpoints. See above.
* Searching in the dust: Fix Hog Solo dropping straight down when roping near smuggler
* Searching in the dust: Fix incorrect messages after collecting device part
* Precise flying: Fix victory not being recognized, also wait for flames to settle before losing
* Hard Flying: Fix ending in a Lua error
* The First Stop: Fix stats screen showing teams twice
* Fruit planet: Fix “Precise shooting” disappearing directly after completing “Bad timing”
* Fruit planet: Fix “Getting to the device” not visible when landing on fruit planet with first main mission completed only
* Killing The Specialists: Fix killing hog with Deagle gave you chance to use another weapon in same turn
* Fix weird behaviour when walking right before the first animation in most missions
* Fix a coupe of texts being untranslatable
* Fix a variety of minor logic flaws in the story
* Fix typos
* All missions: Fix incorrect crate types
Missions:
+ New scenario: Teamwork 2
+ New scenario: Big Armory
+ New training: Basic Flying Saucer Training
+ Rope-Knocking Challenge was improved (now awards score based on kills and time; taunts for knocking out hedgehogs)
+ Rewrote some help texts in basic rope training
+ Graphical effect (black bars) while in cut scenes
+ Change description and icon for baseball bat in Knockball mission map
* TrophyRace: Fix hedgehogs not being eliminated anymore after one hog skipped or ran out of time
* Portal Mind Challenge was cleaned up and reworked (especially less awful wording)
* Fixed Target Practice missions getting stuck when a target dropped into water
* Fixed mistakes and bad wording of strings in several missions, scripts and campaigns
* Climb Home: Fix game getting stuck when a player reached home in multiplayer
* Climb Home: Fix Lua error messages and broken stats screen
Frontend:
+ Campaign screen shows which campaigns and missions you've completed so far
+ Training screen now has 3 mission categories: Training (tutorials), Challenge (get a high score), Scenario (complete a task)
+ Replaced the Fort Mode game modifier by adding "Forts" to the map type selection. This makes the mode easier selectable/discoverable. Also the slider can be used to adjust the distance between forts.
+ Menu screens got few new icons and other tweaks, e.g. larger dropdown lists for easier access
+ Additional button for just randomizing theme that will not change your selected map
+ Randomizing map/theme in online-mode will not include DLC-content
+ New teams start with a random grave and fort
+ Hedgewars creates 4 human teams and 2 computer teams on its first launch
+ Allow to randomize hog names, hats, team name, flag, grave, voice and fort separately
+ “Random team” button is now able to randomly select from all available hats
+ Creating new game/weapon schemes guarantees unique names
+ Custom maps and styles are now marked with an icon instead of an asterisk
+ Mark custom forts in team editor
* Fix flag being selectable for computer players although it had no effect
* Campaign screen does no longer show AI-controlled teams
* Campaign names and campaign mission names can now be translated
* Creating randomized teams now randomizes (almost) every aspect
* Fixed mostly broken descriptions for multiplayer mission maps
* Clicking on "New" in weapon scheme editor now creates empty weapon scheme instead of default
* Fix language names in language list being always in English
* Prevent starting game with >48 hogs (because engine doesn't support it yet)
* Fix the key for toggling team bars being incorrectly described
* Fix caption of stats screen showing only one winner if multiple teams have won
* Remove broken “Play again” button appearing in stats page after an online game
* Weapons scheme editor: When leaving, it no longer flickers and the selection is not reset to Default
* Team editor: Fix old team being retained when renaming a team
* Team editor: Automatically rename team when leaving team editor page with an already used team name
Content Creation:
+ Theme objects can now have more than 1 in-land rect specified. You can specify the amount in theme.cfg by adding another number (and ,) before the first rect
+ Theme objects can now be placed on water (by setting first in-land rectangle to 0,0,0,0)
+ Themes can now use flakes with negative falling speed (rising flakes)
+ Themes can now contain custom sound files: splash.ogg Droplet1.ogg Droplet2.ogg Droplet3.ogg skip.ogg
+ Themes can now have mirrored clouds and flakes: CloudsL.png, SDCloudsL.png, FlakeL.png, SDFlakeL.png
+ Water in themes supports custom animation and flow speed with water-animation and sd-water-animation in theme.cfg
+ Simplified hat format for unanimated hats; a single 32×32 image is enough. For clan hats, use size 64×32, with the color overlay at the right
+ Ammos.png and Ammos_bw.png in HWPs are now overlayed over the base images; use transparent icons to keep them unchanged from the original
* Default water color was black instead of blue
Translations:
+ Scottish Gaelic updates for: Engine, frontend, tips, missions
+ Loading screen can now be translated
+ A few window titles can be translated
+ Campaign names and campaign mission names can be translated
+ A Classic Fairytale, missions 8 and 10 can now be translated
* Built-in texts from Qt (e.g. “cut”, “paste”, “copy”) in frontend weren't translated
* Remove text from mission images to make them language-neutral
* Fix English-only language/country names in language selection
* Fix very, very broken mission map descriptions
Lua-API:
+ New call: SetCinematicMode(enable) -- e.g. for cutscenes etc.
+ New call: GetAmmoName(ammoType [, ignoreOverwrite]) -- returns the localized name for the specified ammoType
+ New call: GetVisualGearType(vgUid) -- returns the visual gear type
+ New call: SetAmmoTexts(ammoType, name, caption, description) -- Overwrite displayed name and description of an ammo type
+ New call: SetAmmoDescriptionAppendix(ammoType, descAppend) -- Append a custom text to the description of an ammo type without overwriting it
+ New call: GetHogFort(gearUid) -- Returns the name of the fort of the hog's team
+ New call: PlaceRubber(x, y, frameIdx) -- Places a rubber
+ New call: SendGameResultOff() -- Disable the game automatically setting a game result in the stats screen
+ New call: SendRankingStatsOff() -- Disable the game automatically filling the team rankings in the stats screen
+ New call: SendAchievementsStatsOff() -- Disable the game automatically populating the bullet point list in the “Details” section on the stats screen
+ New call: GetTeamStats(teamname) -- Returns a table of team stats
+ New call: EndTurn([noTaunts]) -- Ends the current turn
+ New hook: onVisualGearAdd(vgUid) -- called when a visual gear is added
+ New hook: onVisualGearDelete(vgUid) -- called when a visual gear is deleted
+ New hook: onUsedAmmo(ammoType) -- called when ammo has been finished using (e.g. after both shotgun shots)
+ New variable: AirMinesNum -- Number of air mines being placed on a medium-sized map
+ New variable: WorldEdge -- World edge type (weNone, weWrap, weBounce, weSea)
+ New variable: AmmoTypeMax -- Maximum ammo type ID (useful to iterate through all ammo types, starting by 0)
+ New variable: ReadyTimeLeft -- Remaining ready time, 0 if turn in progress. Can be set in onNewTurn
+ Locale library: loc_noop -- Mark string for translation but don't translate it
+ Animate library: AnimInit([startAnimating]) -- New parameter startAnimating: if true, will start game in cinematic mode with most controls disabled. Must play an animation after that
+ Animate library: AnimSetInputMask(extraInputMask) -- Set input mask in a manner comptible with the Animate library
* Fixed call: HideHog(gear) -- Fix crash when gear is invalid. Returns true on success or false otherwise
* Fixed call: SwitchHog(gear) -- Fix new hog being unable to open ammo menu
* Removed call: SetAmmoStore -- Old undocumented function of questional use, has never been used
0.9.21 -> 0.9.22
+ New Weapon / Map object: AirMine (floating mine that will follow nearby hedgehogs)
+ Extensive changes to TechRacer: Variable terrain types, enhanced parameters, hwmap interpreter, fuel limiter, etc.
+ HedgeEditor - create missions/etc. in-game! see https://hedgewars.org/HedgeEditor
+ Map previews can now take script parameters into account and preview waypoints in TechRacer
+ Added a couple new flags
+ Various tweaks to the interface and in-game chat
+ Divided teams options will now just be ignored when more/less than 2 teams/clans, instead of displaying a fatal error
+ Added 6 TechRacer maps to TechMaps
+ Added 3 SpeedShoppa Challenges: Shoppa Love, Ropes and Crates, The Customer is King
+ Hammer damage is now rounded up. This means it can be used to execute hedgehogs with only 1 hp.
+ Improved "Art" theme.
* Generated bridges/girders are now connected better to the land mass
* Fixed rubberband sprite
* Fixed Wind-Indicator being wrong in certain situations
* Melon Bomb Pieces now bounce on Rubberband
* Reduced menu music volume
* The game will now fallback to default voicepack if a team's voicepack is not locally installed. (Instead of rendering team voiceless)
* Hammer now does more damage when the Extra-Damage utility is used
* Many other bug fixes
Lua-API:
+ New map parameter: MapFeatureSize -- numeric representation of detail slider below map preview; use within onGameInit()/onPreviewInit()
+ New functions: SetMaxBuildDistance([ distInPx ]) -- specify how many pixels away a hedgehog can still place girders/etc. set to 0 for no limit; call with no param to reset to default,
+ New hook: onSuddenDeath() -- called by engine when sudden death begins
+ Parameters are now optional for the generic gear setters. i.e. - SetVisualGearValues(gear, x, y). nil values are skipped and not set.
+ PlaceSprite can now set land type (bouncy, indestructible, ice etc), colour the sprite, flip the sprite, and place the sprite behind existing land.
+ EraseSprite. Can flip and selectively erase based on land flags.
+ More of the gear structure values are now accessible in the generic gear getter/setter.
* Previously missing gear states are now available (gstSubmersible, gstFrozen and gstNoGravity)
* Fixed OnHogAttack giving the incorrect AmmoType (amNothing) under certain conditions
0.9.20 -> 0.9.21:
+ New type of randomly generated maps: Perlin Maps.
+ Old Random generated maps are more diverse now.
+ Slider for adjusting land generation detail.
+ Highlander gamemode can now be used with custom weapon schemes (1-8=How probable to get this weapon. 9=All hogs get it)
+ New playable themes: "Hoggywood" and "Cake"
+ New gameplay mode "Construction Mode"
+ New gameplay mode "TechRacer"
+ New game play mode "DiagonalMaze" (generates a simple diagonal maze)
+ Add 7 target practice missions, now with simple scoring
+ Update RC Plane Challenge: Stats screen reworked and shows now several facts, simple ranking system based on used planes, some taunts in the game
+ New training/multiplayer mission: "Climb Home"
+ Game scheme screen has a "Script parameter" field now. This allows to make more customizable scripts/modes.
+ Network game rejoining. Note: Your team(s) will vanish after 3 turns.
+ Visual and gameplay changes to "sea" - world edge, visual change to wrap world edge to allow seeing through the wrap, visual change to bounce worldedge
+ The map of the Basketball Mission can be selected for regular games again ("BasketballField")
+ New engine command: /togglechat will disable/enable chat display (does not affect chat history display)
+ Change to Racer: first weapon/utility available will be automatically selected on start
+ Added some visual feedback to failed girder placement.
+ Various performance tweaks, especially for very large maps.
+ Allow switching through hogs in reverse order with PRECISE+HOGSWITCH (left shift + tab, by default)
+ Added support for custom Sudden Death music to theme.cfg (e.g. sd-music=hell.ogg ).
+ New Hats: policegirl, fr_tomato, cratehider
* Fixed drill rockets sometimes exploding on impact.
* Fixed trainings broken due to indestructable targets/crates.
* Fixes and tweaks for low qualily rendering.
* Sinegun won't shoot through -solid- land anymore
* Many bug fixes and tweaks.
Frontend / Netgame:
+ High resolution previews!
+ Preview for dynamic maps generated by game style scripts (e.g. "ShoppaMap))!
+ Moved room status filter to top left of rooms list.
Lua API:
+ New library: Params, makes parsing of script parameters easier
+ New library: TargetPractice, used to generate target practice missions (the newly added missions use it)
+ More helpful syntax error messages.
+ New hooks:
onParameters(paramString) -- called when script parameters are configured. the parameter contains the parameter(s) as text string
onPreviewInit() -- called during map preview initialization
onGearWaterSkip(gearUid) -- called when a gear skims the water without drowning (when hitting it with high speed at low angle). By checking gearUid you can figure out which gear that was.
+ New functions:
DismissTeam(teamname) -- removes a team from the game (note: if you used loc() on teamnames, don't forget to the translated teamname here too)
GetGameFlag(gameflag) -- returns true/false
PlaceSprite(x, y, sprite, frameIdx [, landFlag, ... ]) -- sprite refers to an id from the TSprite list
SetWaterLine(waterline) -- moves water level to the specified y. the current value is in read-only global waterline
SetNextWeapon() -- make current hedgehog switch to next weapon. e.g. use in trainings to preselect weapon
SetWeapon(ammoType) -- decide which weapon the current hedgehog should equip
+ Map Drawing:
-- to be used in onGameInit() -- first set MapGen to mgDrawn and then use the commands below
AddPoint(x, y [, width [, erase] ]) -- takes x,y location, a width (means start of a new line) and erase (if line should erase, not draw)
FlushPoints() -- makes sure that all the points/lines specified using the command above are actually applied to the map
+ New global enumerations:
Mapgens: mgRandom, mgMaze, mgPerlin, mgDrawn
TSprite values
LandFlags: lfIndestructible, lfIce, lfBouncy
+ Changed functions:
HogSay(gearUid, text, manner [, vgState]) -- now also allows you to make NON-Hedgehog gears speak, e.g. barrels... wait what?!
+ Changed hooks:
onHogAttack() can now be hooked with new parameter: onHogAttack(ammoType) - to conveniently find out which ammo/weapon is being used
* Fixes:
gfResetHealth is now a available like the other GameFlags
0.9.19 -> 0.9.20:
+ New campaign, A Space Adventure!
+ Password protected rooms
+ Shapes on drawn maps (ellipses, rectangles) - constrain dimensions with ctrl, as with straight line tool.
+ New rubber utility, lfBouncy mask (green) for maps. lfBouncy is also anti-portal.
+ Lazy loading of many aspects of frontend to improve startup time under Windows
+ Set hog/team/health label defaults in config, toggle team health display using delete (left shift + delete for labels now)
+ Usernames next to teams when playing online.
+ Can now filter rooms by game style (such as Highlander). Filtering simplified since it is mostly unused.
+ AFK mode. Press p when not your turn online to trigger autoskip of your turn.
+ Russian localisation of Default voice.
+ Map edges can wrap or bounce. Also a silly "connect to the sea" mode
+ Sticky fire kicks you a bit less, fire interacts with frozen land/ice
+ Generated map stays same if the template is the same between groups (all/large for example)
+ Visual enhancements for whip and crosshair
+ Option to draw maps with a "shoppa" border - used by ShoppaMap lua at present
+ New hats
+ Translation updates
+ New lua script to control gravity. May have unpredictable effects. Try zero g shoppa. Changes to allow lua to spawn poison clouds without interrupting turn.
+ Speech bubbles are now echoed to chat for logging purposes with the hog's name.
* You should now thaw on your turn, not enemy's. AI frozen/unfrozen crate movement fix. Blowtorch can thaw frozen hogs.
* Prevent target crosshair moving around unpredictably when doing multiple airstrikes
* Rope should kick along surfaces more reliably, fix rope aim speed if you miss a shot, firing rope does not freeze timer, fix aiming on last rope
* Remember bounce/timer in reset wep modes like Highlander
* Increase precision in damage calcs; extra damage affects fire properly now
* Fixed video recording resolution
* Fixed context menu/cursor in text areas
* Many bugfixes. Keypad enter in chat, hog sliding freezing game, team name flaws in Windows, localisation of tips, crasher in slots with no weapons, frontend holiday css.
0.9.18 -> 0.9.19:
+ New Freezer weapon - freezes terrain, water, hedgehogs, mines, cases, explosives
+ Saucer can aim weapons and fire underwater
+ Main graphical user interface overhaul
+ Splashscreen on Windows *_*
+ Up and down keys navigate in chat history
+ Several commands from chat available
+ Support hwplay:// scheme syntax
+ Supply full revision and hash information in version tag
+ Better set of options for driving engine
+ Downloadable content can now be stored in packages for easy uninstall
+ Lua scripts can load a sidecar overlay package of game resources
+ Math improvements for better performance/reliability
+ Smarter AI - now uses drill rocket accurately and is aware of barrels and dud mines. More aggressive in infinite attack, lua can tell to target specific hogs, such as in Mutant
+ New fort, Steel Tower
+ New theme, Fruit
+ New hats - some national ones, Portal, harlequin, more animals...
+ New maps based on StarBound. SB_Bones, SB_Crystal, SB_Grassy, SB_Grove, SB_Haunty, SB_Oaks, SB_Shrooms, SB_Tentacles
+ Translation updates - Turkish, French, German, Japanese, Portuguese, Italian, Russian - Campaign french should work correctly now
+ Theme object masks
+ Easier weapon selection in shoppa. F1 will select from F5 if there are no weps in F1-F4
+ Cleaver radius shrunk to improve usability on horizontal throws
+ Map hog limit is now just a suggestion, not enforced
+ Static map theme is now just the default, can be changed
+ Themeable static maps (provide a mask.png without a map.png)
+ Split seed with '|' to keep the land shape but change the hog placement
* You can now move out of the way when throwing a sticky mine or cleaver straight up
* Rope sliding should behave more like pre-0.9.18 again
* Forbid kicking on 1v1 matches
* Desync fixes
* Fixed fort mode
* Making very large maps now works properly with targeted weapons
* ParseCommand should be safe to use in Lua now, at any time
* Fixes to many weapons. Mudball, blowtorch, explosives, cluster bomb spread, portal.
0.9.17 -> 0.9.18:
+ 'A Classic Fairytale' Campaign
+ Video recorder (requires ffmpeg/libav)
+ Cleaver weapon
+ AI is now aware of drowning and fall damage
+ AI learned how to use Sniper Rifle and Cake
+ Variable pen width and eraser for drawn maps
+ Several trainings and missions
+ Allow setting custom local palette of teams colors
+ Hide eliminated teams from teams healths widget
+ Server doesn't delete room till last player quits it
+ PNG screenshots
+ Show bot level on CPU flag
+ Objects now have density value assigned which impacts their behavior on explosions, throwing from rope and drowning
+ Improve AI skills at Desert Eagel, Whip, Firepunch, Baseball Bat, Hammer, Cluster Bomb, Watermelon and walking
+ Individual hedgehogs healths in team health bar
+ Drill rocket wouldn't explode in your face if you stand close to wall
+ Ability to rope into a portal, allow RC plane to go through portals
+ Many small frontend improvements: get rid of "save" buttons, descriptions, allow to use network proxy, etc
+ Reduce amount of memory needed for engine to store land data
+ Countless other small fixes and improvements
+ Detect desyncs early
+ Mudball will not cause any direct damage anymore
* Fix cake getting stuck in barrels, crates and hedgehogs
* Fix all knowns bugs which caused network game hang when players close engine or quit
* Fix drill strike bug when drill's timer gets ridiculously high value instead of explosion
* Fix some crashes, freezes and memory leaks in frontend and engine
0.9.16 -> 0.9.17:
+ New theme, Cave
+ New voicepack, Hillbilly
+ More attractive mission screen with previews
+ Chat timestamping, links, input history, tab completion
+ AI smarter, now uses switch. Also tweaks to mine/crate/barrel rules
+ Customisable chat by dragging a .css file, see file generated by the /saveStyleSheet command
+ Errors/warnings in chat instead of popup boxes
+ Mousewheel to change hog/weapon counts in game creation
+ Refresh DLC page on access, display notice if DLC page is not accessible
+ Team colours changed, again
+ Land texture on maps using mask of black
+ Spread clouds/flakes over near/far layers for more 3D
+ Team coloured RC/airstrike
+ Icy girders/bridges on Snow/Christmas themes, support for ice land type (blue in mask)
+ Sticky mines, mines activate 1s after use in infinite attack mode
+ Grenades/bazooka/melon pieces/ballgun now kicked by explosions
+ Minor theme optimisation, Optional SkyR
+ Camera follows melon, clusterbomb, gas cloud
* More fixes to fullscreen/window resize on non-Linux systems
* Vertical movement should be restricted for small displays, camera will try less hard to keep hog in centre
* Keep mouse from jumping around when ammo menu is active
* Hogs can now move after trapping another hog in a portal loop
* ctrl-w no longer closes engine window
* Fix bugs in blowtorch angle/direction
* Fix playing notes on the piano
* Fix some colours in greyscale 3D
* Fix Lua overrides of map config
* Girders no longer make windows in tunnels
* Prevent some more escaping through border, firepunch, pickhammer
* Many frontend bugfixes, code cleanup. Crash in game abort, flake clipping, invalid state on room close
* Many other engine bugfixes. SDL event crasher, timebox crasher, birdy hang, desync on quits, crash in birdy eggshell, hammer + vamp + invuln, clouds on Deep Space theme, etc
0.9.15 -> 0.9.16:
+ In-game chat now supports backspace-repeat and Escape to close the text input area
+ Team status bars shrunk/made translucent if they take up a significant portion of the screen
+ Background music change on sudden death mode
+ Stereoscopic rendering
+ Installing content (anything under Data/ - maps, sounds, and any such stuff) to user profile allows custom adding/overriding of any Data/ content
+ Screen for downloadable content
+ Allow up to 8 teams in a game
+ New gameplay modes/styles: Racer, The Specialists, Tumbler, Space Invasion, Balanced Random Weapon
+ New single player missions: Bamboo Thicket, That Sinking Feeling, Newton and the Tree
+ New Weapon/Utility: Land Spray Gun
+ New Utility: Time Box
+ New Game mode: Tag team
+ New Game option for map bottom border
+ New Theme: Golf
+ Many new hats
+ Sudden Death art
+ Get away time modifier (in %)
+ Shoppa scheme by default resets ammo
+ Shots are on a tenth of a second delay instead of a 1 and a quarter second delay (fast deagle/portal fire)
+ Defective mines explode if they take enough damage
+ Rope head can attach to hogs/crates/barrels again (rope still passes through them)
+ Control of grenade bounce
+ Drill Strike bombs don't explode when leaving ground, but after a (customizable!) timer
+ Hammer impacts mines/barrels
+ Seduction is an Area-of-Effect attack now
+ Significantly altered flame behavior and damage.
+ 'Throwing' weapons into hogs (e.g. grenade) no longer does max damage.
+ Ukranian localization of Default voice. support for localized voices
+ Theme cleanup, including the new theme config file change
+ Improvements in scoring and tracking damage
+ Camera tracking now toggleable
+ Mudball does not end turn
+ Indicator for height of plane when using napalm
+ Land smoothing (looks less pixelated on generation and damage)
+ Improved lua script support (e.g. set per-hog ammo, place girders, spawn fake crates, switch hogs, change hats)
+ The names of the ShoppaKingTournament winners are now written on the Trophies in the ShoppaKing and TrophyRace maps!
+ Allow window resizes during game
+ Improved fullscreen capabilities
+ Additional/new sounds (mine impact, sine gun, etc)
+ Victory/flawless victory sounds
* Voices don't overlap (was needed more due to faster game actions due to shortened delays)
* Prevent portaling to impossible locations better
* Snow accumulates more smoothly
* Rope should be less sticky now
* Rope shouldn't be able to get Hogs stuck on walls anymore
* Fix for last portal shot always being yellow
* More accurate napalm strike drop location
* AI fixes (heh, yeah right)
* Fixed locales, such as korean
* Code refactoring
* Various bug/leak fixes
Frontend/Menu and Netgame:
+ Drawing straight lines in drawn map mode (hold down the control key when clicking, then move mouse to end point and release).
+ Undo clear in drawn map mode
+ Autokick ignored players joining your room
+ Improved nick sorting in lobby and rooms. (not case-sensitive, letters first, friend @ top, ignored @ bottom)
+ Display player count in lobby
+ Lobby: Player names of online players can be clicked in chat directly so that you don't have to find them in the player list
+ Room names can be changed by the room admin without recreating the room
* Fix invisible icons in popup menus
* Various fixes and adjustments
0.9.14 -> 0.9.15:
+ Ability to create, save and load hand drawn maps
+ New maps: Capture the Flag (Blizzard) Map
+ New themes: Christmas
+ Snowflakes on Christmas/Snow themes accumulates on the ground
+ New game modifiers: No wind, More wind
+ New missions: Dangerous ducklings, Diver, Spooky tree, Teamwork
+ New weapons: Mudball, Drill strike
+ Many more Lua hooks
+ Readytimer
+ Ability to edit seed
+ Ability to select gameplay scripts
+ New gameplay scripts: Capture the Flag, No jumping, Random weapon
+ New Lua unified translation framework
+ Code refactoring
+ Max teams upped to 8
+ Cosmetic enhancements to Napalm strike
+ Selecting a game scheme selects the corresponding weapon set
+ Dust when drills dig
+ New hats: beaver, porkey, sheep
+ Add density property to Gears
+ Reworked management of schemes and weapon sets
+ Will ask before deleting teams, schemes and weapon sets
+ Explosions detach rope from land
+ Variable rope length in scheme
+ Allow hog speech when not your turn
0.9.13 -> 0.9.14:
+ New audio tracks
+ New forts: EvilChicken, Tank
+ New game modes: AI Survival Mode, Per Hedgehog Ammo, Reset Health, Reset Weapons, Unlimited Attacks
+ New grave: ring
+ Over 30 new hats
+ New themes: Art, Brick, Jungle, Stage
+ New maps: ShoppaKing, Sticks, TrophyRace (Mission)
+ New utilities: Portal Gun, Resurrector
+ New weapons: Flamethrower, Hammer, Old Limburger, Piano Strike, Sticky Mines
+ Weapons' projectiles will now be launched from their barrels instead of the hog's center
+ Flying Saucers may be used for moving below the water surface
+ New default game schemes: Clean Slate, Fort Mode, Timeless, Thinking with Portals, King Mode
+ New default weapon set: Clean Slate, Thinking with Portals
+ Bomb clusters/Melon parts inherit some of the original bomb's speed
+ Extended game statistics
+ Improved health bar updating
+ Hogs that blow themselves up will use triggers in their team color
+ Settings allow better control over the level of details/effects
+ Improved Lua support
+ On empty ammo switch to no weapon rather than the first available one (to avoid shooting by accident)
+ Display of hints in the frontend
+ Some improvements of existing Themes of Maps
+ Land destruction effects added
+ Improved fire effects
+ Improved Melon explosion effects
+ Online game lobby now features game filters
+ Other Frontend enhancements
+ Additional sounds
+ Show special game rules in Esc screen
+ Updated translation
+ Speed optimizations
+ Hedgewars will now use a sub directory of "My Documents" like other games instead of "%userprofile%/.hedgewars" under Windows
+ Added support for graphics cards/drivers that have a 512x512 pixel textures limit
+ Team colors are more distinguishable from each other now
* Fixed bug that allowed charging a weapon while on rope, leading to frozen timer
* Various bug fixes
0.9.12 -> 0.9.13:
+ Speed optimizations
+ New weapon: Birdy (carries your hog and lets you throw poisonous eggs at your foes)
+ Hats are visible while using rope and blowtorch
+ Explosive barrels
+ AI is able to handle artillery mode as well as new weapons
+ Weapon schemes now include crate probability as well as delays
+ Optional semi transparent labels for hogs to avoid hidden gaps
+ New voicepack: British
+ New frontend sounds
+ Frontend now allows you to add player names to either your friends or ignore list and join their current rooms (follow)
+ Optional tooltips explaining weapons in weapons menu
+ 3D effect for waves
+ Game now fades in/out at the start and end of a round
+ Flashlight effect when taking screenshots
+ Holding 'precise' key now allows hogs to change direction without moving
+ New game modes: place hedgehogs, king mode, randomized starting order, shared ammo, no girders
+ Improved CJK text handling and detection
+ Dud mines
+ Reserved hats for donators (reservation time is limited; they'll be useable by everyone some months later)
+ Added team flags (pick your country or your favorite 'fun' flag)
+ Active team's name blinking on round start
+ Team chat for spectators
+ New explosion graphics with screen shakes for huge explosions
+ Hogs might react to thrown grenades or explosives and panic
+ Popup effects visualizing collected weapons
+ New visual effects (dust, smoke, gun shells)
+ Replaced the UFO with the Homing Bee
+ View ammo menu even while other player's turn
+ Preview alternate weapon while using another one (e.g. parachute, rope and flying saucer)
+ Splashes and droplets once objects fall into water
+ 45 degree bounce for grenades
+ New bounce sounds for most objects
+ Several new sounds for hedgehogs including walking animation and some emotes
+ Show special game rules at round's start
+ Support for Lua scripts (used for tutorials as well as 'mission' maps)
+ Changed Basketball map to be a mission including scoreboards
+ Added Knockball mission
+ New crazy map template
+ New random map generator supporting maze type maps
+ New game schemes: Barrel Mayhem, Tunnel Hogs
+ New weapon scheme: Tunnel Hogs
+ New themes: Olympics, Desert
+ Lots of other updates to other themes
+ Background textures for destroyed land simulating depth (on random maps only)
+ New target cursors
+ Many new hats
+ Additional effects
+ Icon for hwengine under windows
+ Delete old teams using the frontend
+ Support for long localized strings (longer than 255 bytes)
+ Xfire support (shows nickname, server and room name in player info)
* Fixed showing two cursors in some situations
* Drill rocket's sound will now stop even after drilling right into water
* Properly unload SDL_mixer's support libraries on engine shutdown
* Fixed several memory leaks
+ Lots of other bug fixes and additions we already forgot during this huge release
+ Updated translation
+ PowerPC architecture supported
* Reduced memory footprint and leakage
0.9.11 -> 0.9.12:
+ Zoom
+ New weapons: flying saucer, molotov cocktail
+ More sounds
+ New visual effects
+ Updated graphics
+ Chat within team only
+ Remember net password
+ More trainings
+ Implement room control delegation when host's connection fails
+ Colorize chat events in engine
+ [mac only] Add Sparkle framework to automatically update the program when a new version comes out
+ [mac only] Add M3InstallController for easy installation
* Fix crash in replay caused by speechbubbles
* Fix some desync causes
* Fix rope bugs
* Fix bugs in weapon selection code
0.9.10 -> 0.9.11:
+ Speech bubbles
+ Many new hats, new graves
+ New taunts
+ New voice pack, new default voice
+ Animated stars in frontend's background
+ New music
+ Vampirism weapon and game mode, karma mode
+ Artillery mode
+ Sniper rifle
+ Options for mine delay/quantity
* Fix disconnection from server not been performed correctly
* Don't crash engine after round in reduced quality mode
* Fix game desync when oneof players quits
* Hedgehogs don't take hat off when jumping
* Fix initial room map config desync
* Fix team name in training
* Fix crash in parachute/rope if drowning with active girder/teleport
* Fix rope disappearing bug
0.9.9 -> 0.9.10:
+ Many new hats, maps, themes, updates on existing ones
+ Remove small pixels left by fire
+ Double possible land dimensions, allow up to 48 hedgehogs in game
+ Brand new net server
+ Cave mode
+ Initial sound volume option
+ Increase rendering speed and overall graphics performance
+ New game options
+ Game schemes
+ New voicepack
+ Reduced quality mode for better performance on old computers
+ Random teams generator
+ Many utilities
+ Templates filter
+ Water bouncing
* Fix underwater theme soundtrack
* Fix blowtorch delete condition
* Fix crash when attackbar wasn't deleted, but hedgehog gear was
* Fix spectating when one of players left the game
* Fix accidental rope removing from ammo in some cases
* Prevent engine crash when not enough place for all hedgehogs
* Fix bug with not working toggles 'rectrict joins' and 'restrict team adding'
+ Fix engine slowdown when trying to switch ammo while firing bazooka
0.9.8 -> 0.9.9:
+ Voicepacks
+ Teams health graphic on statistics page
+ Colorize join/quit messages in chat
+ Precise aiming
+ RC Plane weapon
* Fix ballgun breaking net game on 64bit systems
* Fix bug when hedgehog was unable to drop some weapons from rope in certain conditions
* Fix page switching issues when disconnected
* Fix rope bug which allowed hedgehog to go into land
* Fix cake stucking up in air on some maps
* Fix three cursor bugs
* Fix autogenerated demos/saves filenames problems
* Fix engine freeze when switching hedgehog in certain conditions
0.9.7 -> 0.9.8:
+ Many net server fixes
+ Lobby on net server
+ Napalm weapon
+ Drill rocket and Ballgun weapons
+ Show quit reason message
+ Solid Land option
+ New maps
+ Many new forts
+ Improve Hellish hand grenade
+ Spectating for those who joined after game start
* Fix silent crash when cannot place all hedgehogs
* Fix small damage tag issues
* Fix a bug leading to engine silent crash when using whip, bat or firepunch (and probably flame)
* Limit chat history to 250 entries to avoid DoS attack with its use
0.9.6 -> 0.9.7:
+ Completely redesign the frontend, no longer looks like an ugly program launcher
+ New art
+ Add fullscreen mode to frontend
+ New Castle map
+ All map rendering now 32bit / theme objects have alpha channels
+ Bath, Freeway, Hell, Sheep, Underwater themes
+ PirateFlag, Sheep maps
+ Seduction weapon
+ Dedicated server
+ Increase possible length of team and Hedgehog names
+ New music
+ Ability to customize your hedgehogs with a variety of hats
+ Ability to customize water colour in themes
+ Watermelon Bomb Weapon
+ Hellish Hand Grenade Weapon
+ /me now works in chat
+ Ability to divide teams on any map
* Fix rope getting stuck bug
* Make soundtrack loop better
* Fixed small glitch with placing girders
* Fixed grenade sound
* AI uses the mortar better
0.9.5 -> 0.9.6:
+ New Cake weapon
+ New maps: EarthRise, Bamboo, Bath, BambooPlinko
+ New theme EarthRise
+ Add soundtracks for each theme
+ Show picked up ammo name when playing demo
+ Make engine fonts bold
+ Small sound improvements
* Fix clouds shaking up
* Repair screenshots capturing
0.9.4 -> 0.9.5:
+ Taunts
+ Exit confirmation dialog
+ Sudden death
+ Maps added: Hydrant, Lonely Island
+ Updated mushroom map
+ Translations added: German, Slovak, Bulgarian, French
+ More impressive exposions
* Fix bad sprite when you jump and get hit
0.9.3 -> 0.9.4:
+ In game chat is now implemented, chat (and taunt!) your buddies during network play
+ Mortar, whip and Kamikaze weapon additions
+ Two new themes, desert island and city
+ New maps
+ New animations, including an idle animation!
+ Rope reworked, much greater momentum, ability to aim the rope between swings
+ AI updates
+ Teams now work in fort mode, i.e. 2v2
+ Ability to attack whilst jumping/rope swinging
+ Some weapons can only be used after a certain number of turns
+ Lots of new graphics
* Many network/gameplay bug fixes
0.9.2 -> 0.9.3:
+ Switch to OpenGL rendering
+ Massive graphics update
+ New animations, weapon sprites
+ New themes 'Snow' and 'Nature'
+ Many new sounds
+ Hedgehog backjump
+ Automated parachute
+ Hedgehog can jump even when someone is on its head
* Improve and bugfix statistics
* Fix bug allowing to make stack of hedgehogs using teleport
* Fix fall without damage trick, which could be performed with not attached rope
* Don't show enemy's picked weapon name
* Fix hedgehog moving direction after been shot by shotgun
* Fix bug with handling keys while it is enemy's turn
0.9 -> 0.9.2:
+ Add registration of net game in web
+ Introduce weapons sets support
+ Add teleportation tool
+ Add hedgehogs switching tool
+ Add tags with current damage (alt damage option on options page)
+ A couple of new land templates
+ Decrease network bandwidth usage
+ Add clans support (teams with identical colors are allies)
+ 's' key speeds up demo playing
+ Easter egg
+ Full saves support, 'Saved games' page
+ Add ability to choose which info is shown above hedgehogs
+ AI can use Air Attack weapon
+ Get possible screen resolutions from SDL library
+ Add Desert Eagle and UFO sounds
+ Add parachute sprite
+ Add training mode
+ New theme and map 'Volcano'
+ Moving hedgehog could make another hedgehog moving kicking him
+ Save and restore window size on application restart
* Fix using parachute while staying on the ground
* Fix old rope regression (attaching didn't work properly, when hedgehog is jumping)
* Fix AI jumping to wrong direction on the turn start
* Fix rare conditions causing network game to randomly fail
* Make missiles collide with attacking hedgehog