Difference between revisions of "Code hacks"

From Armagetron
m (Adding pig's stuff)
Line 21: Line 21:
  
 
== External Scripts and Programs ==
 
== External Scripts and Programs ==
 +
 +
These are programs and scripts people have written that modify the game without requiring compiling the game.
  
 
=== Generators ===
 
=== Generators ===

Revision as of 05:26, 27 August 2006

From time to time people do various hacks to the code or write various scripts and programs to support the game. We'll try to collect them here so you can use them too. If you have a hack you'd like to add, just add it here. For it to format correctly, put

<nowiki> 
"<pre> 
Copy paste your script here, in the space inbetween the code and pre commands.

" </nowiki>

Alternatively just copy and paste the script as it is, but add a space in front of every line.

Note: there is no <code> in front of the script.

Modifications to Armagetron Advanced

These usually require actually applying a patch to Armagetron Advanced source and recompiling. Not for the faint of heart!

Styball Patch

groundpig's infamous ball/shooter work. Apply this patch to 0.2.8.2 source and build it.

Download the patch

External Scripts and Programs

These are programs and scripts people have written that modify the game without requiring compiling the game.

Generators

These are scripts used to generate maps.

Labyrinth Script

This is the script that generates mazes. It requires python and almost certainly requires a Linux installation. It's never been tested in windows. It's also available in Lucifer's private area of the SVN repository. Patches should be made against that and sent to Lucifer.

Download this script

Map Rotation

People have worked up good map rotation programs, hopefully they'll put them here.

Lucifer's Map Rotator

This is the rotator that used to power Swamplords on Crack before it was taken down. It includes the mazer.py script listed in Generators on this page. Probably requires Linux, it's not known to work in Windows.

Download the file