So I wanted to make a dedicated thread for each script but found the Doomy's thread and decided to make the same thing. So here we go:
[size=22][url=https://lyberta.net/stuff/games/hedgewars/Lyberta-Scripts-2017-06-11.hwp]Download full package [HWP][/url][/size]
[size=22][b]Standalone scripts[/b][/size]
These scripts are used just like any other Hedgewars scripts.
[size=20]Utility scripts[/size]
[size=18]Debug logger[/size]
This is a simple logger that will output text if debugging is set. Usage:
[code]local logger = DebugLogger(true); --false to disable logging
logger.Output("Hi!");[/code]
[size=22][b][url=https://fatony.net/stuff/mods/hedgewars/modular.html]Modular game style framework[/url][/b][/size]
Modular game style is a special game style that allows you to load any number of specially designed scripts (called modules) at once.
[size=22][b]Modules[/b][/size]
These scripts can be loaded by modular game style. You need to create a custom scheme and use the "script parameter" to activate them. You can activate any number of modules at once. Separate script parameters with spaces. For example: "CakeZooka NapalmNade".
[size=20]Utility scripts[/size]
[size=18]Timer[/size]
Executes a function after the specified delay. Usage:
[code]function Foo()
AddCaption("Hi!");
end
local timer = Timer(500, Foo); --Execute Foo after 500 milliseconds[/code]
[size=18]Spawner[/size]
Periodically spawns gears from the other gear.
[size=20]Multiplayer game styles[/size]
[size=18]No Water Death[/size]
Script parameter: NoWaterDeath
This script makes hogs respawn if they drown and still have health left. They keep the health they had before drowning so if 100 hp hog took 45 damage and drowned, he will respawn with 55 hp. There are modular version and standalone.
[size=18]Explosive Death[/size]
Script parameter: ExplosiveDeath
Hogs will die with a big explosion.
[size=20]Custom weapons[/size]
[size=18][url=https://lyberta.net/stuff/games/hedgewars/Demo.mp4]Demo video no.1[/url][/size]
[size=18][url=https://lyberta.net/stuff/games/hedgewars/OneMillionDamage.mp4]One MILLION damage video[/url][/size]
[size=18]CakeZooka[/size]
Script parameter: CakeZooka
Bazooka that spawns cakes while in air.
[size=18]Ultimate Mudball[/size]
Script parameter: UltimateMudball
Mudball that spawns any useful weapon while in air. Use timer keys to change weapon. 3 prints current weapon, 4 goes one step forward, 5 goes 2 steps forward, 2 goes one step back and 1 goes 2 steps back.
[size=18]NapalmNade[/size]
Script parameter: NapalmNade
Grenade that spawns molotovs while ticking.
[size=18]MineCheese[/size]
Script parameter: MineCheese
Limburger that spawns mines while ticking.
[size=18]Evil Poison[/size]
Script parameter: EvilPoison
Poison cloud that spawns sticky mines while active.
[size=18]Hellish Pistol[/size]
Script parameter: Hellish Pistol
Pistol that spawns hellish bomb upon impact.
[size=18]Nuclear Melon[/size]
Script parameter: NuclearMelon
The melon which spawns more melons on explosion which spawn more melons which spawn more melons...
[size=18]Cheesy Melon[/size]
Script parameter: CheesyMelon
The melon that spawns limburgers on explosion.
[size=18]MineCake[/size]
Script parameter: MineCake
Cake that spawns mines while ticking.
[size=18]Poison Mine[/size]
Script parameter: PoisonMine
Mines will create a poison cloud on detonation.
[size=18]Ultimate Strike[/size]
Script parameter: UltimateStrike
The air strike that spawns any useful weapon. Use timer keys to change weapon. 3 prints current weapon, 4 goes one step forward, 5 goes 2 steps forward, 2 goes one step back and 1 goes 2 steps back.
The latest versions are available on [url=https://gitlab.com/Lyberta/hedgewars-stuff]GitLab[/url].
[url=https://lyberta.net]My stuff[/url]