A previewer

Designed a level that creates new, exciting, and challenging Armagetron game play? Or maybe just something funky. Put it right here.
Post Reply
Wik
Average Program
Posts: 72
Joined: Tue Aug 10, 2010 1:32 pm

A previewer

Post by Wik »

Just a humble attempt to write a sty map previewer. It's a bit different (other fort zone color, ugly spawn point arrows etc.) and still has some flaws, but maybe some of you might give it a try. Enable Javascript to use the options.
http://wikinger.bplaced.net/armaauth/mappreviewer.php
It also can tidy the code ... somehow. Spawn points are in the center of the arrows.
(bplaced.net = freehoster, => sometimes slow connection)
User avatar
sinewav
Graphic Artist
Posts: 6413
Joined: Wed Jan 23, 2008 3:37 am
Contact:

Re: A previewer

Post by sinewav »

Man, that really looks great. This is the ultimate previewer. Well done!

Also, ponies.
User avatar
dukevin
Round Winner
Posts: 219
Joined: Mon Aug 30, 2010 8:25 am
Location: Southern California
Contact:

Re: A previewer

Post by dukevin »

That's very nice wik :)
Image
User avatar
AI-team
Shutout Match Winner
Posts: 1020
Joined: Tue Jun 23, 2009 6:17 pm
Location: Germany/Munich
Contact:

Re: A previewer

Post by AI-team »

that's indeed pretty neat, gj!
  
 
"95% of people believe in every quote you post on the internet" ~ Abraham Lincoln
 
 
User avatar
kyle
Reverse Outside Corner Grinder
Posts: 1876
Joined: Thu Jun 08, 2006 3:33 pm
Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
Contact:

Re: A previewer

Post by kyle »

That is pretty good, I actually was planning on fixing the ones on ct's site to do the same. I had tried to a while ago, but it failed at getting it to work. anyway the file I change must not have gotten uploaded because I did the same thing and it worked just fine.

as for colors I left the Fortress, winzone, dethzone, and added sumo, ball, flag, target, and rubber.
Image
Wik
Average Program
Posts: 72
Joined: Tue Aug 10, 2010 1:32 pm

Re: A previewer

Post by Wik »

Fixed two bugs that could lead to max_execution_time errors.

@ kyle:
I made fortress blue simply because yellow is the default rubber zone color. More distinguishable than the n-th shade of whatever.

Sumo zones? New? More information, please.
User avatar
vov
Match Winner
Posts: 568
Joined: Thu Feb 17, 2011 8:40 pm

Re: A previewer

Post by vov »

Sumo zones should spawn a fortress zone for every team. At least they do so with the spawn_zone command in the sty hack. So there's no difference between a sumo zone or n fortress zones on top of each other (that's why kyle has them in the same colors)
User avatar
kyle
Reverse Outside Corner Grinder
Posts: 1876
Joined: Thu Jun 08, 2006 3:33 pm
Location: Indiana, USA, Earth, Milky Way Galaxy, Universe, Multiverse
Contact:

Re: A previewer

Post by kyle »

One problem with sumo zone is it does not abide by the MAX_ZONES_PER_TEAM so in a normal sumo map with 4 or so different pods it does not work well because there would be 4 zones per team.

But it is helpful in some places.

rubber zones are shades of orange to red by default depending on rubber, target zones are actually blue by default.
Image
Wik
Average Program
Posts: 72
Joined: Tue Aug 10, 2010 1:32 pm

Re: A previewer

Post by Wik »

Thanks for the info.
Fixed another bug, implemented some new and better algorithms, messed totally up, rewrote half the code, got it working - now fool-proof, hopefully.
What I'm asking you now is to feed it the most FUBAR code you can think of. If no bigger problems arise in the next days, I'll post the code here for the guys who were interested.
Wik
Average Program
Posts: 72
Joined: Tue Aug 10, 2010 1:32 pm

Re: A previewer

Post by Wik »

For your convenience, I sorted the code alphabetically.

EDIT: Fixed a bug, uploaded corrected script.
Post Reply