Jump to content
Sign in to follow this  
wok

Stance Indicator Script

Recommended Posts

I didn't like the existing addons for stance indicators, so I created my own but since I don't know how to create addons I made it a script.

Arma 3 has three basic stances: STAND, CROUCH and PRONE. Each main stance have 3 "sub" stances: UP, MIDDLE, DOWN. I wanted the indicator to be as simple and small as possible, so I created it dividing a box in three columns, the first and last columns show the STEP LEFT / RIGHT stances (note that this is not the leaning done by Q / E keys, it's the adjust stance key + A / D). The center column is divided in 3 rows, each represents one of the main stances. The top one is STAND, the middle one is CROUCH, and the bottom one is PRONE. When one of these rows are 100% filled with color it represents the UP sub-stance, when it's half full it's the MIDDLE sub-stance, when it's a quarter full it's the DOWN sub-stance.

This is how each stance looks like:

http://i.imgur.com/WdzHbQW.png >100kb

The STEP LEFT / RIGHT stances will always reset the vertical stance to the MIDDLE sub-stance.

I had many different ideas on how to do the indicator and where to show it on the screen, but it took me a few hours to do each one so I only made two, the above is the one I think looks better, these are some random stances from the other one which is displayed on the bottom right corner of the screen and has a different style, size and colors:

http://i.imgur.com/1kW94sC.png >100kb

TODO:

  • Hide indicator when pressing ESC.
  • Hide indicator in 3rd person view, when inside vehicle, etc.
  • Make sure it works fine in all screen sizes (only tested on 1920x1080 resolution 16:9 aspect ratio).

HOW TO USE:

Execute it in your mission init.sqf file with something like:

_null = [] execvm "stanceIndicator\stanceIndicator.sqf";

CREDITS: To the creator(s) of http://www.armaholic.com/page.php?id=18998. Even tho i didn't used their code, I read it before creating my indicator so some parts are similar.

DOWNLOAD (I included both versions in separated folders): http://www.sendspace.com/file/4ffoph

Edited by wok
Images too large in size

Share this post


Link to post
Share on other sites

Looks real nice. Good thing too it's only a script and not a mod. Will have a look when get home from work.

bottom right one will get in the way of gps.

had a closer look at screens, are the ones near ammo count in the right order in your screens as the prone is in the middle bar but crouch is at the bottom?

Edited by KevsnoTrev

Share this post


Link to post
Share on other sites
Looks real nice. Good thing too it's only a script and not a mod. Will have a look when get home from work.

bottom right one will get in the way of gps.

had a closer look at screens, are the ones near ammo count in the right order in your screens as the prone is in the middle bar but crouch is at the bottom?

Thank you foxhound!, and thank you KevsnoTrev for reporting that error. The images are in the correct order (stand, crouch, prone), the titles were wrong, where it said prone it should say crouch and viceversa. I updated the image fixing the titles.

http://i.imgur.com/WdzHbQW.png

Edited by wok

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×