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.

Post tutorial Report RSS 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 on - 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

Your comment will be anonymous unless you join the community. Or sign in with your social account: