Earth, 2019. A team of US scientists makes a frightening discovery on an island in the South China Sea, and all contact with them is lost when the North Korean government quickly seals off the area. The United States responds by dispatching an elite team of nanotech-suited Delta Force operatives, and tensions quickly rise to boiling point. But when a massive alien ship reveals itself in the middle of the island, generating an immense force sphere that freezes a vast portion of the area, the two warring factions must unite, fighting epic battles through tropical jungle, flash-frozen wastes, and finally in the heart of the alien ship itself for the ultimate zero-G showdown.

Report article RSS Feed Crysis hud creating

hi in this tutorial you will be going to step by step of how to create a working hud with the health bar and the ammo bar enjoj

Posted by mackan4762 on Aug 17th, 2009
Intermediate UI/HUD.

Hi there this is one of my first tutorial of how to create a hud for crysis
download link :http://www.megaupload.com/?d=Q76ZFXTO

Actionscript 2.0 code

function setHealth(arg:Number)
{
if (arg <0) { arg=0; }
health_txt.text = arg;
health_txt.text = arg-1
}
function setEnergy(arg:Number)
{
energy_txt.text = arg;
energy_txt.text = arg-1
}

function setAmmo(iSomething:Number, iAmmo:Number, iClipSize:Number,
iRestAmmo:Number, iGrenadeAmmo:Number, sGrenadeType:String, bPlayer:Boolean)
{
ammo_txt.text = iAmmo;
restammo_txt.text =iRestAmmo;
grenadeammo_txt.text =iGrenadeAmmo;
}
Name of the file after you rename it HUD_AmmoHealthEnergySuit.gfx
create a folder in crysis/game/libs if you don't have libs just create one and then go into libs and create a new folder named UI place the file in there and have fun

i hope you all enjoj it

Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
Crysis
Platform
Windows
Developer
Crytek
Publisher
Electronic Arts
Engine
CryENGINE 2
Contact
Send Message
Official Page
Ea.com
Release Date
Released Nov 12, 2007
Game Watch
Track this game
Tutorial
Browse
Tutorials
Report Abuse
Report article
Related Games
Crysis
Crysis Single & Multiplayer First Person Shooter
Related Engines
CryENGINE 2
CryENGINE 2 Commercial Released Mar 5, 2007
Related Groups
Crytek
Crytek Developer & Publisher with 3 members
Electronic Arts
Electronic Arts Developer & Publisher