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

Painter 5.1 for PX 0.8.0: Build the map in-game!
http://px.worms2d.info/forum/viewtopic.php?f=13&t=407
Page 1 of 2

Author:  StepS [ Wed Jan 11, 2012 9:20 pm ]
Post subject:  Painter 5.1 for PX 0.8.0: Build the map in-game!

Image

A painter made from scratch, using the newest EAX possibilities :D

This script allows you to paint on the map, add objects and do a LOT of other stuff. Add and erase with the customly sized brush.
All the painted pixels are real, you can touch them and play on them.
This is the v5.1, fully playable online.

How to use:

Buttons:
Ctrl+H - show or hide help
] - enable the brush and activate the script, also you can hold this button to temporarily point the camera over the brush.
[ - disable the brush and deactivate the script.
; - activate and disable the mouse brush. Don't click the mouse; use the normal keys for performing action.
' - activate and disable the camera lock on the brush (will be improved soon).
W - move the brush up.
A - move the brush left.
S - move the brush down.
D - move the brush right
K - hold it and move the brush to paint the colored squares (see below how to set a color).
L - hold it and move the brush to erase the squares. Can also revive the soil if it was erased by ultra eraser (see below).
I - indestructible painting.
O - super eraser, destroys indy pixels and ground. Can also revive the soil if it was erased by ultra eraser (see below). Works on indy maps!
P - ultra eraser, also destroys soil. Works on indy maps!
J - spray brush.
U - indy spray brush.
M - mine brush, produces mines. Use Alt+0 for instant mines, Alt+- to reduce the mine fuse and Alt++ to increase it.
, - oil drum brush, produces oil drums.
. - fire brush, produces fire.
/ - crate brush, produces crates. Use Tab + 1 2 3 4 5 to switch the crate types: weapon crate, utility crate, donor card, health crate, target.
N - explosive brush. The radius and the damage depend on the brush size.
B - gas brush (fart).
1 - set brush speed to 2.
2 - set brush speed to 4.
3 - set brush speed to 6. default value.
4 - set brush speed to 8.
5 - set brush speed to 10.
6 - set brush speed to 12.
7 - set brush speed to 14.
8 - set brush speed to 16.
9 - set brush speed to 18.
0 - set brush speed to 20 (max).
Ctrl + ~ 1 2 3 4 5 6 7 8 9 0 - = - set the brush color. Press Backspace to use your team color.
Shift+1 2 3 4 5 6 7 8 9 0 - set brush size. Max: 100×100 (button 0), default: 20×20 (button 2).
Shift+W A S D - move the brush just one step (of the current speed) for a better accuracy.
Shift+B N M < > ? - put just one object (crate, oil drum, mine, flame, etc).
Menu or Num 5 - open GUI (shows current infos about the brush - size, speed, position, etc :) )
You can see them here:
Image

Image

Image

Image


Coming soon:
  • Weapon brush.
  • Improved handmade camera lock.
  • It's hard to enumerate anything more powerful for this tool, or out of my possibilities
  • Circle brush (if possible)
  • A better painting/erasing with mouse brush (if possible)
  • Text painting (suggestion by dcrew) - probably.

Version history:
  • 5.1: Improvement in the disabled control (paused game pauses Painter as well), another fix about mouse brush detection.
  • 5.0.1: A little fix about mouse brush detection.
  • 5.0: Added mouse brush (beta! don't click), help window, GUI (shows current infos about the brush - size, speed, position, etc :) ), added Spray Brush and Indy Spray Brush (random pixels inside the brush). Parts of code got improved.
  • 4.0: Many stuff added: Ultra Eraser, Mine Brush, Oil Drum Brush, Explosive Brush, Crate Brush (5 types), Gas Brush aka Farting Brush, Custom colors, more speeds and sizes, Small brush, etc. Code optimized in some places.
  • 2.7: Added Indy Brush, Super Eraser (erases bg soil), Fire Brush (makes fire).
  • 2.0: Added ability to set the speed and size of brush!
  • 1.2: Desyncs fixed completely (keySync had a bug).
  • 1.1: A minor fix to prevent possible desyncs.
  • 1.0: Initial release.


Attachments:
painter.rar [18.04 KiB]
Downloaded 1105 times

Author:  StepS [ Thu Jan 12, 2012 6:50 pm ]
Post subject:  Re: Painter 2.0 for PX 0.8.0: Build the map in-game!

Updated to 2.0! Now with selectable Size and Speed.
Update: 2.7. Added Indy Brush, Super Eraser (erases bg soil), Fire Brush (makes fire).

Author:  b1llygo4t [ Mon Jan 16, 2012 5:14 am ]
Post subject:  Re: Painter 2.7 for PX 0.8.0: Build the map in-game!

wow, thats so cool

Author:  StepS [ Tue Jan 17, 2012 9:19 pm ]
Post subject:  Re: Painter 4.0 for PX 0.8.0: Build the map in-game!

4.0 released! Really many new stuff :D I recommend to watch the pictures to see.

Author:  Pac-Man [ Fri Jan 20, 2012 7:26 am ]
Post subject:  Re: Painter 4.0 for PX 0.8.0: Build the map in-game!

I recommend optimizing the code :P

Author:  Twicken [ Wed Feb 01, 2012 9:39 am ]
Post subject:  Re: Painter 4.0 for PX 0.8.0: Build the map in-game!

this is great nice work

Author:  StepS [ Sun May 13, 2012 10:07 pm ]
Post subject:  Re: Painter 5.0 for PX 0.8.0: Build the map in-game!

Version 5.0 released! :D
5.0: Added mouse brush (beta! don't click), help window, GUI (shows current infos about the brush - size, speed, position, etc :) ), added Spray Brush and Indy Spray Brush (random pixels inside the brush). Parts of code got improved.
Sorry for not updating for a while - in fact I made it quite some time ago but haven't touched since.
I'll be doing more scripting in the near days :shock:

Author:  StepS [ Thu May 17, 2012 4:38 pm ]
Post subject:  Re: Painter 5.1 for PX 0.8.0: Build the map in-game!

A new version - 5.1.
5.1: Improvement in the disabled control (paused game pauses Painter as well), another fix about mouse brush detection.

Author:  Worms [ Mon Jul 30, 2012 3:16 pm ]
Post subject:  Re: Painter 5.1 for PX 0.8.0: Build the map in-game!

how to you painter ???? :D

Author:  StepS [ Mon Jul 30, 2012 3:22 pm ]
Post subject:  Re: Painter 5.1 for PX 0.8.0: Build the map in-game!

Worms wrote:
how to you painter ???? :D

joe, can you pls stop bothering me? :?
it's all written there, the archive contains folders which you extract to Worms Armageddon directory with replacing.
just choose a scheme and go

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