Forums
April 20, 2024, 02:21 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - nizikawa

Pages: [1]
1
General discussion / EasyTerrain - custom terrain creation made easy
« on: January 05, 2022, 06:45 PM »
EasyTerrain simplifies terrain creation process by automatically slicing a template image with terrain assets and converting them to format ready for SpriteEditor.

Fill supplied template.png with assets of your terrain, save it as input.png (using indexed mode with transparency or as normal PNG in RGBA mode) and run the script. Terrain files ready for conversion will be created in output/ directory. Convert the files with supplied SpriteEditor.exe to create Level.dir and icon.img (rename it to text.img in Worms Armageddon/DATA/Level/YourTerrain directory).

See provided input.png for example how to put your assets.

Sample gradient.img.bmp and icon.img.bmp have been provided in data/ directory to make the terrain work out of the box, but you will need to customize them manually.

Debris sprite must be transparent and use a 1px stroke outside its bounding box. Sample debris sprites have been provided in debris samples.png. If your debris animation exceeds the available vertical space, you can simply resize the template image. Remember to update data/debris.spr.spd with width, height and frames used in your debris animation.


Source code: https://github.com/nizikawa-worms/EasyTerrain
Download (win32 exe bundle): https://github.com/nizikawa-worms/EasyTerrain/releases/download/v1.0.0/easyterrain_v100_exe_bundle.zip

2
Wormkit Modules / wkWormOrder v. 1.2.0 released
« on: September 03, 2021, 10:09 AM »
wkWormOrder is a WormKit module that appends worm order numbers to their names and allows randomizing the worm order within the team in multiplayer games.

Features
  • To enable displaying order of your worms, use /order my command in game chat.
  • To enable displaying order of all worms, use /order all command in game chat.
  • During replay playback all worms have their numbers displayed.
  • The displayed worm name format is customizable in .ini with {name} and {number} tags.
  • In multiplayer games the worm order within your team can be scrambled. The order is scrambled every time you add the team to the round roster. To enable this feature set: ScrambleWormOrder = 1
  • Team name bars can have their owner name displayed. The displayed format is customizable with {name} (team name), {owner} (owner nickname), {hp} (sum of HP of all worms within the team) and {wins} (number of team wins in match) tags. To enable this feature set: TeamNameShowOwner = 1 or use /owner command in game chat

Source code: https://github.com/nizikawa-worms/wkWormOrder

3
Wormkit Modules / wkToolAssist v. 0.1.0 released
« on: August 28, 2021, 11:01 AM »
wkToolAssist is a WormKit module that implements some features present in Tool Assisted WA Builds by Deadcode.

Features:
- Adjust game speed at any time
- Set checkpoints to rollback game state
- Step frame forward/backward
- Show trajectories of moving worms, projectiles and mines
- Show overlay info with worm position, speed and state
- Record .wagame replays in a format compatible with stock WA

Limitations:
- To prevent abuse, the module comes bundled with a special version of WA.exe with disabled network functionality. The module is closed source.
- Version 0.1.0 lacks the ability to edit existing replays. This feature is planned for version 0.2.0
- Recorded replays contain chat message about wkToolAssist being used
- Team flags are replaced with "TA" flag

Installation:
  • Extract ToolAssist.dll and TA_*.exe matching your WA version to your Worms Armageddon installation directory.
  • Launch TA_*.exe
  • Disable wkJellyWorm if you have it installed
  • The module does not work under WINE

Controls:
- Keys 0-9 - set game speed to predefined values:
   1: 1.0x,
   2: 0.5x,
   3: 0.25x
   4: 0.15x
   5: 0.1x
   6: 0.05x
   7: 0.025x
   8: 0.0125x
   9: 0.005x
   0: stop time
- Keys + - increase/decrease game speed by 0.01x
- Keys [ ]  step a single frame backward/forward
- Key S - save current frame as checkpoint
- Key R - restore game state to the last checkpoint
- Key Z - remove last checkpoint and restore state to the previous one
- Key ~ - revert game to frame 0 and start playing until the last checkpoint

Notes on keyboard inputs:
- Game controls in stock WA are buggy at game speeds 0.25x and below. To fix this problem the module implements it's own keyboard handling logic and uses it at speeds <= 0.25x
- The custom key logic does not respect custom mappings used in wkRemapKeys
- Some keys such as space or enter are set as sticky - pressing them once remembers the state until the next time the key state is read by the game, usually on the next logic frame.
- To "unpress" sticky key, hold shift and press the keyboard key you want to unpress.
- The list of active keys is displayed in the screen corner

Download: https://github.com/nizikawa-worms/wkToolAssist/releases/download/v.0.1.0/wkToolAssist.v.0.1.0.zip

4
Wormkit Modules / wkTerrainSync
« on: February 07, 2021, 09:30 AM »
wkTerrainSync is an improved version of wkTerrain38 that fixes limitations of the original module. It implements custom network protocol to automatically synchronize terrain data, download missing terrain files from host player and more. With this module players are able to use custom terrains online without limitations and desynchs. On top of that, wkTerrainSync adds extra visual customization features to terrain files to overhaul how the game looks.

Data synchronization features:
   - Custom network protocol integrated with WA's original network code - this module works seamlessly with WormNAT2 and direct hosting
   - Terrains are now referenced by their MD5 hash instead of ID - play online games regardless of your terrain list order and terrain directory names
   - File transfers - missing terrain files are automatically downloaded from the host player
   - Terrain metadata is embedded directly in .wagame replay files - replay files will work even when terrain list changes or files are renamed

Terrain customization features:
   - Terrain files can include additional parallax sprites - back2.spr displayed in far distance behind regular back.spr ; front.spr displayed in front of the map
   - Removed sprite loader limitations when handling back.spr, back2.spr and front.spr - sprites are no longer limited to 640x160px size and can be animated like regular sprites
   - Since v1.0.2: To use extended sprite loader with back.spr rename the file as _back.spr . If _back.spr is not present, the game will load back.spr with the default sprite loader
   - Terrains can override any sprite in the game, including worm animations, weapon projectiles and clouds - place gfx0/spritename.spr (normal palette) and gfx1/spritename.spr (colorblind palette) within terrain.dir to override any sprite
   - Terrains can override water.dir for custom water color and animations - place water.dir next to level.dir in terrain directory. Use https://worms2d.info/Water_color_editor to generate custom water.dir

Installation:
   1) Remove your existing wkTerrain38.dll
   2) Place wkTerrainSync.dll and wkTerrainSync.ini in your WA directory

Usage:
   - wkTerrainSync does not require any special configuration or user interaction.
   - If you are joining an online game that uses a new terrain file that you currently don't have installed, you will see an "Invalid map file" in map thumbnail and multiple messages about terrain data download will appear in lobby chat. This means the terrain file is being downloaded from the host and a proper map thumbnail will appear once the terrain is downloaded. This should take few seconds depending on network speed.
   - When generating a random map by clicking on map thumbnail, the game selects a random terrain from all available terrains.
      To limit this selection to only custom terrains, hold CTRL key and click on the thumbnail.
      To limit this selection to only default terrains, hold ALT key and click on the thumbnail.
   - Online play with a mix of wkTerrain38 and wkTerrainSync players is not supported. In such case both wkTerrain38 and wkTerrainSync will refuse to load custom terrain maps and wkTerrainSync will print warning messages in lobby chat
   - Downloaded terrain directories are stored as "Name #MD5checksum" to avoid file conflicts
   - Incomplete file transfers are stored with .part suffix to prevent adding incomplete downloads to the terrain list
   - To troubleshoot the module, enable dev console in .ini file and examine the logged messages
   - To print the version of the module and a list of available terrains, use /terrains command in lobby

Current version: 1.2.6.0
Source code is available at: https://github.com/nizikawa-worms/wkTerrainSync
Download: https://github.com/nizikawa-worms/wkTerrainSync/releases/latest/download/wkTerrainSync-release.zip

Pages: [1]