Heh

What do you want to see in Armagetron soon? Any new feature ideas? Let's ponder these ground breaking ideas...
Post Reply
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6711
Joined: Thu Dec 18, 2003 7:03 pm

Heh

Post by Tank Program »

Randomly found this looking through my Armagetron folder just now...
hudwlocalive.JPG
This is a screenshot of the original HUD during its development as part of Armagetron 0.2.6.0-TPR2a, the code that would eventually become Armagetron Advanced 0.2.7.0. Circa April 2004. The HUD you see here was hacked onto the function call that displayed the FPS.

It doesn't matter if you start out any good at coding or not. Eventually, you get somewhere with your efforts.
Image
User avatar
Lucifer
Project Developer
Posts: 8641
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas
Contact:

Re: Heh

Post by Lucifer »

The cockpit was originally built on that, coincidentally by someone who'd played with php and had no clue what to do in c++.

Your spawn point is irrelevant. Match winner is everything.
Image

Be the devil's own, Lucifer's my name.
- Iron Maiden
Durf
Match Winner
Posts: 426
Joined: Mon Jul 30, 2012 10:35 pm

Re: Heh

Post by Durf »

Hey, I wouldn't mind having things like current location or spawn location available on the HUD. (for very specific uses)

I knew Armagetron was a bit of a hack-job...but wow.

someone who'd played with php and had no clue what to do in c++
There's hope for me yet!
User avatar
vov
Match Winner
Posts: 568
Joined: Thu Feb 17, 2011 8:40 pm

Re: Heh

Post by vov »

Durf: v0.4, custom HUDs :D
current location: http://wiki.armagetronad.org/index.php/ ... ta_sources

Snippet that I have to test maps and ofc mess around with the respawning command:

Code: Select all

<!-- For map editors: x|y display, bottom left corner, gray for no distraction since the numbers blink a lot ;p -->
<Label toggle="2">
	<DataSet id="xcoord">
		<AtomicData field="source" source="current_pos_x" precision="2"/>
	</DataSet>
	<DataSet id="ycoord">
		<AtomicData field="source" source="current_pos_y" precision="2"/>
	</DataSet>
	<Position x="-.99" y="-.93"/>
	<Size height=".034" width=".017"/>
	<Caption location="off">
		<Text value="Speed"/>
	</Caption>
	<Face>
	<Table>
		<Row>
		<Cell>
			<Text value="0xaaaaaax("/>
			<GameData data="xcoord"/>
			<Text value=")"/>
		</Cell>
		</Row>
		<Row>
		<Cell>
			<Text value="0xaaaaaay("/>
			<GameData data="ycoord"/>
			<Text value=")"/>
		</Cell>
		</Row>
	</Table>
	</Face>
</Label>
Durf
Match Winner
Posts: 426
Joined: Mon Jul 30, 2012 10:35 pm

Re: Heh

Post by Durf »

:o
Nice. I should probably use 0.4 then.
Thanks for sharing!
User avatar
/dev/null
Shutout Match Winner
Posts: 819
Joined: Sat Sep 04, 2004 6:28 pm
Location: Chicago-ish

Re: Heh

Post by /dev/null »

2.6 4 lyfe.
User avatar
aP|Nelg
Match Winner
Posts: 621
Joined: Wed Oct 22, 2014 10:22 pm
Contact:

Re: Heh

Post by aP|Nelg »

/dev/null wrote:2.6 4 lyfe.
if you're using 0.2.6, you cannot connect to most modern servers....
Post Reply