Here is my first attempt at expanding the map editor!
The lib contains a few objects:
-
CrateSpawnEx : Allows crates with a fixed weapon to be positioned on the map.
-
CustomTeamHealth : Forces each worm in a team to start with their own custom amount of health points.
-
BowlingBall : Spawns a Bowling Ball on the map.
-
Fan : Spawns a Fan on the map. I coded this before figuring out how exactly those fans work, so these might not be as useful as the actual Fan weapon. You can choose between SAFE and UNSAFE modes and configure their power.
-
ElectroMagnet : Spawns an ElectroMagnet on the map. You can set it's range and change it's polarity to your liking.
-
PurchaseItem : Allows small weapon shops to be positioned on the map. To be used with my True Shopping Lib.
-
ItemStock : Invisible object that determines what is sold in a shop. Each shop can be linked to up to 20 of these. To be used with my True Shopping Lib.
-
CoinBonus : Grants small coin bonuses for each team after their turns. The amount of coins given is based on the total damage dealt to enemy worms (customizable). To be used with my True Shopping Lib.
I hope you guys like it!
CHANGELOG:
v3:
*Compatibility with the newest update for the True Shopping System.
*Fixed lolglitch with CoinBonus. Bonuses are now given as soon as the next turn starts.
*Added support for shops with more than one item. (Press N to browse through them)
*ItemStock object is now available.
*Limited to up to 10 shops (up to 200 weapons) per map.
v2:
*Added support for Bowling Balls, Fans and ElectroMagnets (Credit to whoever coded those weapons!)
*Added support for
True Shopping System*BowlingBall, Fan, ElectroMagnet, PurchaseItem and CoinBonus are now available
*Commented code
v1:
* First public release, CrateSpawnEx and CustomTeamHealth are included.