Own Menu

vkings_ns_neXvkings_ns_neX Join Date: 2002-11-28 Member: 10134Members
i have seen own menus like the one below

how can i make that?

would be very interesting for scripting
and making it faster without bindings

<img src='http://rawr.mine.nu/menu2.jpg' border='0' alt='user posted image'>

Comments

  • FireStormFireStorm Join Date: 2002-11-06 Member: 7390Members
    look at ui.txt

    <!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->start PieMenu SoldierMenu
    xpos = 0
       ypos = 0
       width = 1
       height = 1
       visible = true
       fgcolor = 0000FFFF
       bgcolor = 7DA5D2AA
       nodexspacing = .135
       nodeyspacing = .12
       scheme = PieMenuScheme
    rootname = #MenuMarineRoot
    defaultimage = sprites/marinenode.spr
    connectorname =

    ' gesturing common for marines and squad leaders
    node1 = 4/#MenuComms/0
    node2 = 4/2/#MenuTalk/0
    node3 = 4/2/4/#MenuFollowMe/7
    node4 = 4/2/2/#MenuCovering/8
    node5 = 4/2/0/#MenuTaunt/9
    node6 = 4/6/#MenuYell/0
    node7 = 4/6/0/#MenuNeedHealth/10
    node8 = 4/6/6/#MenuNeedAmmo/11
    node9 = 4/6/4/#MenuInPosition/12
    node10 = 4/4/#MenuSay/0
    node11 = 4/4/2/#MenuMoveOut/14
    node12 = 4/4/4/#MenuEnemySpotted/13
    node13 = 4/4/6/#MenuAllClear/15

    ' Need menu
    ' Health
    ' Ammo
    ' Commander
    ' Tactics
    ' Covering you
    ' Follow me/let's move
    ' Enemy spotted
    ' Banter
    ' Thanks
    ' Taunt
    '

    ' Use equipment
    node14 = 6/#MenuWeapon/0
    node15 = 6/4/#MenuReloadWeapon/2
    node16 = 6/0/#MenuDropWeapon/3
    ' Switch between light and heavy weapon
    node17 = 6/6/#MenuNextWeapon/1

    node18 = 2/#MenuOrders/0
    node19 = 2/0/#MenuNeedOrder/80
    node20 = 2/4/#MenuAck/81

    ' Administrative
    node21 = 0/#MenuAdmin/0
    node22 = 0/6/#MenuReadyRoom/5
    node23 = 0/2/#MenuVoteCommanderDown/6
    end


    start PieMenu AlienMenu
    xpos = 0
    ypos = 0
    width = 1
    height = 1
    visible = true
       fgcolor = FFFFFFFF
       bgcolor = FFAA00AA
       nodexspacing = .135
       'nodexspacing = .09
       nodeyspacing = .12
    scheme = PieMenuScheme
    rootname = #MenuAlienRoot
    defaultimage = sprites/aliennode.spr
    'connectorname = alienconnector
    connectorname =

    ' alien menu
    node1 = 0/#MenuAlienSmallMorph/0
     node2 = 0/2/#MenuAlienMorphLevel1/113
    node3 = 0/6/#MenuAlienMorphLevel2/114
    node4 = 0/0/#MenuAlienBigMorph/0
    node5 = 0/0/2/#MenuAlienMorphLevel3/115
    node6 = 0/0/6/#MenuAlienMorphLevel4/116
    node7 = 0/0/0/#MenuAlienMorphLevel5/117

    'node8 = 2/#MenuAlienUpgrade/0
    'node9 = 2/0/#MenuAlienUpgradeArmor/0
    'node10 = 2/0/2/#MenuAlienUpgradeSpeed/94
    'node11 = 2/0/6/#MenuAlienUpgradeCloaking/96
    'node12 = 2/4/#MenuAlienUpgradeSouth/0
    'node13 = 2/4/2/#MenuAlienUpgradeRegeneration/98
    'node14 = 2/4/6/#MenuAlienUpgradeExoskeleton/95
    '
    ''node12 = 2/2/#MenuAlienUpgradeRespawn/100
    ''node15 = 2/4/2/#MenuAlienUpgradeCloaking/97
    ''node17 = 2/4/6/#MenuAlienUpgradeInfravision/99

    node8 = 4/#MenuAlienComm/0
    node9 = 4/2/#MenuAlienCommSayingsWest/0
    node10 = 4/2/0/#MenuAlienCommSayingOne/7
    node11 = 4/2/2/#MenuAlienCommSayingTwo/8
    node12 = 4/2/4/#MenuAlienCommSayingThree/9
    node13 = 4/6/#MenuAlienCommSayingsEast/0
    node14 = 4/6/0/#MenuAlienCommSayingFour/10
    node15 = 4/6/6/#MenuAlienCommSayingFive/11
    node16 = 4/6/4/#MenuAlienCommSayingSix/12

    ' Administrative
    node17 = 4/4/#MenuAlienReadyRoom/5

    node18 = 2/#MenuAlienUpgrade/0
    node19 = 2/0/#MenuAlienMovementChamber/94
    node20 = 2/0/0/#MenuAlienUpgradeMoveOne/107
    node21 = 2/0/2/#MenuAlienUpgradeMoveTwo/108
    node22 = 2/0/6/#MenuAlienUpgradeMoveThree/109
    node23 = 2/2/#MenuAlienSensoryChamber/93
    node24 = 2/2/4/#MenuAlienUpgradeSenOne/110
    node25 = 2/2/2/#MenuAlienUpgradeSenTwo/111
    node26 = 2/2/0/#MenuAlienUpgradeSenThree/112
    node27 = 2/4/#MenuAlienDefenseChamber/92
    node28 = 2/4/2/#MenuAlienUpgradeDefOne/101
    node29 = 2/4/4/#MenuAlienUpgradeDefTwo/102
    node30 = 2/4/6/#MenuAlienUpgradeDefThree/103

    node31 = 6/#MenuAlienBuild/0
    node32 = 6/0/#MenuAlienOffensiveChamber/91
    node33 = 6/4/#MenuAlienHive/95
    node34 = 6/6/#MenuAlienResourceTower/90
    end<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
  • vkings_ns_neXvkings_ns_neX Join Date: 2002-11-28 Member: 10134Members
    thx <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' valign='absmiddle' alt='biggrin.gif'><!--endemo-->
    can i also make a menu with say or other commands too?
    or only impulse commands?
  • FireStormFireStorm Join Date: 2002-11-06 Member: 7390Members
    i think you can only use impulses
Sign In or Register to comment.