Project X Forums
http://px.worms2d.info/forum/

Extra MapEditor Objects [Updated Again v3]
http://px.worms2d.info/forum/viewtopic.php?f=13&t=386
Page 1 of 1

Author:  Virtu [ Mon Nov 21, 2011 1:57 am ]
Post subject:  Extra MapEditor Objects [Updated Again v3]

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! :D

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.

Attachments:
File comment: Extra MapEditor Objects v3
extraobjs.zip [83.39 KiB]
Downloaded 629 times

Author:  StepS [ Mon Nov 21, 2011 2:59 pm ]
Post subject:  Re: Extra MapEditor Objects

Thanks! That was what I needed :)
coming soon: pac-man minigame in WA

Author:  Twicken [ Sun Nov 27, 2011 12:35 am ]
Post subject:  Re: Extra MapEditor Objects

nice one man, this is certainly useful

Author:  Virtu [ Mon Dec 12, 2011 2:02 am ]
Post subject:  Re: Extra MapEditor Objects [Updated Again v3]

Updated! Now supports multi-weapon shops.
Enjoy :)

Author:  b1llygo4t [ Tue Jan 03, 2012 2:38 pm ]
Post subject:  Re: Extra MapEditor Objects [Updated Again v3]

I noticed the capture the flag libraries allow girders to be destructible even if the level is not. it would be nice to be able to place destructible girders with the map editor.

Author:  StepS [ Sat Jan 07, 2012 11:09 am ]
Post subject:  Re: Extra MapEditor Objects [Updated Again v3]

b1llygo4t wrote:
I noticed the capture the flag libraries allow girders to be destructible even if the level is not. it would be nice to be able to place destructible girders with the map editor.

destructible girders are permanently enabled in project x and cannot be turned off.

Author:  Alexkiborg [ Sun Jan 08, 2012 5:13 pm ]
Post subject:  Re: Extra MapEditor Objects [Updated Again v3]

Not bad ! keep up with updates cuz i will make new map with your features :)

Author:  StepS [ Sun Jan 08, 2012 10:02 pm ]
Post subject:  Re: Extra MapEditor Objects [Updated Again v3]

Virtu wrote:
-BowlingBall : Spawns a Bowling Ball on the map.

ohh, noticed this just now. :oops:
you made one of my dreams come true!!!

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/