Scripts / How to display two different images in the hud

Author
Message
Angiel
9
Years of Service
User Offline
Joined: 21st Dec 2014
Location: Italy
Posted: 4th Jan 2015 12:26
hi
I want to show in my hud 2 images (hunger and food) as in the image below (photomontage made with photshop).


I use the following script:

Unfortunately I can only see the image "food". is possible to show in hud the two images "hunger" and "food" at the same time as in the photo?

sorry for my bad English, I write from Italy.
Avram
GameGuru TGC Backer
17
Years of Service
User Offline
Joined: 3rd Sep 2006
Location: Serbia
Posted: 4th Jan 2015 12:46
Nope, I'm afraid only one image can be displayed at the moment.

Angiel
9
Years of Service
User Offline
Joined: 21st Dec 2014
Location: Italy
Posted: 4th Jan 2015 13:19 Edited at: 4th Jan 2015 13:38
Thanks again Avram,

also I had arrived at the same conclusion, unfortunately now I do not know how to implement my inventory.

Help....... Any idea?

sorry for my bad English, I write from Italy.
Go Devils
11
Years of Service
User Offline
Joined: 13th Aug 2012
Location: Phoenix Arizona USA
Posted: 4th Jan 2015 20:29
I asked the same question in another post. (not yet answered)

I understand only one image for now, but the answer to Angiel's question should be about displaying the basic image and then printing the text and values over the top, which seems to be the way the Health and Ammo HUDs work (??)

I'm assuming that these HUDs work this way because they are hard wired into the engine (??)
In this type of controlled text positioning somewhere in our future?

There is no Spoon...
EXTREME D3CIMATE
10
Years of Service
User Offline
Joined: 8th Dec 2013
Location: ebensburg,PA
Posted: 10th Jan 2015 01:31
Angiel if you don't mind i can help you with a script and pic that would work i just need the food bar and hunger bar?
Angiel
9
Years of Service
User Offline
Joined: 21st Dec 2014
Location: Italy
Posted: 10th Jan 2015 07:09 Edited at: 10th Jan 2015 07:16
Hello.

the script is in the first post. But you can show or food bar or hunger bar.



here is the script for food:



The images for the bar of the food you have to put in the folder:

FPS Creator Reloaded / files / scriptbank / images

sorry for my bad English, I write from Italy.
EXTREME D3CIMATE
10
Years of Service
User Offline
Joined: 8th Dec 2013
Location: ebensburg,PA
Posted: 10th Jan 2015 16:48
Angiel try this i thing it will work out for you if not that's is ok
let me know.

Attachments

Login to view attachments
EXTREME D3CIMATE
10
Years of Service
User Offline
Joined: 8th Dec 2013
Location: ebensburg,PA
Posted: 10th Jan 2015 17:09
the main script is hunger_food then use the other ones to test ok
Angiel
9
Years of Service
User Offline
Joined: 21st Dec 2014
Location: Italy
Posted: 11th Jan 2015 20:32
thanks for scripts and images. I try tomorrow.

sorry for my bad English, I write from Italy.
EXTREME D3CIMATE
10
Years of Service
User Offline
Joined: 8th Dec 2013
Location: ebensburg,PA
Posted: 16th Jan 2015 04:23
did they work out for you

Login to post a reply

Server time is: 2024-05-08 02:14:26
Your offset time is: 2024-05-08 02:14:26