minimap help

General Stuff about Armagetron, That doesn't belong anywhere else...
Post Reply
bmg
On Lightcycle Grid
Posts: 16
Joined: Sun Sep 12, 2010 5:00 pm

minimap help

Post by bmg »

hi everyone, i'd like some help trying to do something. I got a new cockpit that i like but it doesn't have a minimap, which i want. I was wondering if you guys knew a way to get a minimap without having to change my cockpit. maybe having to do with putting something into console? Thanks, bmg. :D
User avatar
theroze
Match Winner
Posts: 596
Joined: Mon Aug 10, 2009 7:30 am
Location: 47 72 69 64

Re: minimap help

Post by theroze »

Wiki is your friend :)
apparition wrote:You being able to kill so many players that quickly and efficiently is evidence that the community skill level must be dropping... Sad :/
Reigning champion of: Sir-spam-a-lot 2011
User avatar
sinewav
Graphic Artist
Posts: 6413
Joined: Wed Jan 23, 2008 3:37 am
Contact:

Re: minimap help

Post by sinewav »

Can you post the cockpit file? It might be as simple as copying some code into it (if it's not already there). See the link rose posted above under "Map". Or you might have the map turned off? Sorry, I don't know the command for that - but someone will be along to help.
bmg
On Lightcycle Grid
Posts: 16
Joined: Sun Sep 12, 2010 5:00 pm

Re: minimap help

Post by bmg »

I dont hvae the exact code but i know the cockpit was the essential made by rain. Yeah, I checked map and didnt find anything.
User avatar
sinewav
Graphic Artist
Posts: 6413
Joined: Wed Jan 23, 2008 3:37 am
Contact:

Re: minimap help

Post by sinewav »

Yeah, Rain's cockpit doesn't have a map. You can paste the code it though. Here, try using the code below. I don't know how it looks since I don't use the 0.3x branch.

Code: Select all

<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!DOCTYPE Resource SYSTEM "AATeam/cockpit-0.3.0.dtd">

<Resource type="aacockpit" name="essential" version="0.0.1" author="rain" category="">
    <Cockpit version="0.0.1">
        
	<!-- Rubber Meter -->
        <BarGauge camera="all">
            <DataSet>
                <AtomicData field="source" source="player_rubber" />
                <AtomicData field="minimum" source="0" />
                <AtomicData field="maximum" source="cycle_rubber" />
            </DataSet>
            <Position x="0" y="-1" />
            <Size height="0.05" width="0.999" />
            <ShowCurrent value="true" />
            <ShowMaximum value="false" />
            <ShowMinimum value="false" />
            <Background>
                <Gradient orientation="value">
                    <Color r="0." g="1." b="0." alpha=".0" at="0." />
                    <Color r="0." g="1." b="0." alpha=".1" at=".3" />
                    <Color r="1." g="1." b="1." alpha=".2" at=".4" />
                    <Color r="1." g="1." b="1." alpha=".2" at="1." />
                </Gradient>
            </Background>
            <Foreground>
                <Gradient orientation="value">
                    <Color r="0." g="1." b="0." alpha=".7" at="0." />
                    <Color r="0." g="1." b="0." alpha=".7" at=".3" />
                    <Color r="1." g="1." b="0." alpha=".7" at=".6" />
                    <Color r="1." g="0." b="0." alpha=".7" at=".8" />
                    <Color r="1." g="0." b="0." alpha=".7" at="1." />
                </Gradient>
            </Foreground>
        </BarGauge>
        
	<!-- Time FPS and Players Alive -->
	<Label camera="all" viewport="top">
            <DataSet id="hours">
                <AtomicData source="current_hours12h" minwidth="2" fill="0" />
            </DataSet>
            <DataSet id="minutes">
                <AtomicData source="current_minutes" minwidth="2" fill="0" />
            </DataSet>
            <DataSet id="ampm">
                <Conditional field="source" lvalue="current_hours" rvalue="12" operator="le">
                    <IfTrue>
                        <AtomicData source="AM" />
                    </IfTrue>
                    <IfFalse>
                        <AtomicData source="PM" />
                    </IfFalse>
                </Conditional>
            </DataSet>
            <DataSet id="fps">
                <AtomicData source="current_framerate" />
            </DataSet>
            <DataSet id="friends">
                <AtomicData field="source" source="friends_alive" />
            </DataSet>
            <DataSet id="friendscolor">
                <Conditional field="source" lvalue="friends_alive" rvalue="0" operator="eq">
                    <IfTrue>
                        <AtomicData source="0xffffff" />
                    </IfTrue>
                    <IfFalse>
                        <AtomicData source="0x7fff7f" />
                    </IfFalse>
                </Conditional>
            </DataSet>
            <DataSet id="enemies">
                <AtomicData field="source" source="enemies_alive" />
            </DataSet>
            <DataSet id="enemiescolor">
                <Conditional field="source" lvalue="enemies_alive" rvalue="0" operator="eq">
                    <IfTrue>
                        <AtomicData source="0xffffff" />
                    </IfTrue>
                    <IfFalse>
                        <AtomicData source="0xff7f7f" />
                    </IfFalse>
                </Conditional>
            </DataSet>
            <Position x="0.65" y="0.5" />
            <Size height="0.04" width="0.02" />
            <Face>
                <Table>
                    <Row>
                        <Cell><Text value="Time:" /></Cell>
                        <Cell><GameData data="hours" /><Text value=":" /><GameData data="minutes" /><Text value=" " /><GameData data="ampm" /></Cell>
                    </Row>
                    <Row>
                        <Cell><Text value="Framerate:" /></Cell>
                        <Cell><GameData data="fps" /><Text value=" FPS" /></Cell>
                    </Row>
                    <Row>
                        <Cell><Text value="Friends:" /></Cell>
                        <Cell><GameData data="friendscolor" /><GameData data="friends" /></Cell>
                    </Row>
                    <Row>
                        <Cell><Text value="Enemies:" /></Cell>
                        <Cell><GameData data="enemiescolor" /><GameData data="enemies" /></Cell>
                    </Row>
                  </Table>
            </Face>
        </Label>
        <Map camera="all">
           <Position x="0.73" y="-0.72" />
           <Size height="0.25" width="0.25" />
       </Map>
    </Cockpit>
</Resource>
Last edited by sinewav on Sat Dec 25, 2010 11:23 pm, edited 1 time in total.
bmg
On Lightcycle Grid
Posts: 16
Joined: Sun Sep 12, 2010 5:00 pm

Re: minimap help

Post by bmg »

thanks for your help!
Post Reply