Home   Help Search Login Register  

Author Topic: 'Rank Box'  (Read 1525 times)

0 Members and 1 Guest are viewing this topic.

Britboy

  • Guest
'Rank Box'
« on: 16 Apr 2004, 16:24:57 »
I posted this on the official forums but have gotten no reply, so I thought I'd post it here :)

Ok, this is for MP games.

For my squad there are various people of different ranks, and I would like to make these ranks displayable in game. I have a way of doing this in script form, but the tricky bit is assigning them to players.

As we don't necessarily know who will be playing the game that evening it's impossible to edit the mission so the appropriate script for each person is initiated in the unit's init line.

Instead I want to create a 'rank box', like an ammo box except people go up to it, pick the appropriate rank and have the appropriate script run to display it.

However I have no clue as how to code this. Anyone care to help?

Also I hear that if you run a script from the action menu that the visual results aren't visible to other units. Obviously, for this to be any use, this needs to be overcome. Does anyone know a way?

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:'Rank Box'
« Reply #1 on: 16 Apr 2004, 17:43:27 »
i dont think i have a grasp of what you want can you try to expand on it please

are you wanting in some way to display the rank of the unit slot that a player has taken
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Britboy

  • Guest
Re:'Rank Box'
« Reply #2 on: 16 Apr 2004, 19:03:33 »
Sorry, perhaps I wasn't clear.

The units have a customisable rank texture which is initiated by a script.

I would like players in game to be able to choose the rank to be displayed.

Offline benreeper

  • Members
  • *
  • I'm a llama!
Re:'Rank Box'
« Reply #3 on: 20 Apr 2004, 23:15:32 »
Use the settexture command.  Check the comref.
--Ben

DBR_ONIX

  • Guest
Re:'Rank Box'
« Reply #4 on: 17 Oct 2004, 21:47:28 »
You could use units like the Lowlands Warrior units, and XML images (Check Avon ladys FAQ for info), with the approprite image in your picture
Like here's mine :
Link

It also shows up on the lowlands guys arm :) As well as all (All BIS, and a lot of unoficcal) vehicles ;)
- Ben