Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Models and Media / Where are the Gun Icon Co-ords?

Author
Message
Lewis
VBOTB Developer '10
19
Years of Service
User Offline
Joined: 16th Mar 2005
Location: Queensland, Australia
Posted: 25th Oct 2007 02:35
You know the gun image top right? well I can't seem to find where i can edit the x and y locations. Ive tried the gunspec file and the hud_icon.dds file. can anyone help?

Lewis From OsborneCreations.co.uk
Lewis
VBOTB Developer '10
19
Years of Service
User Offline
Joined: 16th Mar 2005
Location: Queensland, Australia
Posted: 25th Oct 2007 10:45
I'm sure the answer to this question is very simple, can someone just use 30 seconds of their time just to quickly tell me so i can get on with my project? sorry so sound rushy but I kind of need the answer. and yes ive searched as well but didn't find anything related.

Lewis From OsborneCreations.co.uk
Cheese Cake
17
Years of Service
User Offline
Joined: 11th Dec 2006
Location: At the bakery
Posted: 25th Oct 2007 11:16
Go to your FPSC directory:
files\languagebank\english\gamebank\mygame\setuplevel.FPI

If i was right then there are all the huds, and you just need to
look which one is the health, gun, lives. numbers...etc etc.

Cheers,
Cheese Cake.


Lewis
VBOTB Developer '10
19
Years of Service
User Offline
Joined: 16th Mar 2005
Location: Queensland, Australia
Posted: 25th Oct 2007 11:22 Edited at: 25th Oct 2007 11:22
I went into the FPI and couldnt find anything. I only got this:




Lewis From OsborneCreations.co.uk
Cheese Cake
17
Years of Service
User Offline
Joined: 11th Dec 2006
Location: At the bakery
Posted: 25th Oct 2007 11:38
I honestly dont know...
It was just an idea where it possible could be.

Cheers,
Cheese Cake.


Lewis
VBOTB Developer '10
19
Years of Service
User Offline
Joined: 16th Mar 2005
Location: Queensland, Australia
Posted: 25th Oct 2007 11:52
this sucks

Lewis From OsborneCreations.co.uk
Avid
17
Years of Service
User Offline
Joined: 24th Jun 2007
Location:
Posted: 25th Oct 2007 14:37 Edited at: 25th Oct 2007 14:39
It's in there I'm sure, although I can't see any filenames (it appears you deleted them). I'll check a default file for you.

EDIT: you need this line:

Lewis
VBOTB Developer '10
19
Years of Service
User Offline
Joined: 16th Mar 2005
Location: Queensland, Australia
Posted: 25th Oct 2007 16:36
thats not the gun image, im using a custom hud and using the ammo hud. i need the gun image TOP RIGHT to be moved slighty.

Lewis From OsborneCreations.co.uk
TeMpLaR1
19
Years of Service
User Offline
Joined: 28th Sep 2005
Location: Australia
Posted: 26th Oct 2007 09:54 Edited at: 26th Oct 2007 09:57
File > Build Game > Level Settings > Global Script

scroll down till you see Ammo Image, change the coordinates there, that will change the gun icon coordinates for the ammo image.

that is the top right ammo image your talking about

Lewis
VBOTB Developer '10
19
Years of Service
User Offline
Joined: 16th Mar 2005
Location: Queensland, Australia
Posted: 26th Oct 2007 10:56 Edited at: 26th Oct 2007 10:57
argh.. you guys dont see. this is what i need changing!



Lewis From OsborneCreations.co.uk

Attachments

Login to view attachments
DJ Professor K
18
Years of Service
User Offline
Joined: 19th Dec 2005
Location: Somwhr in front of a brokn kyboard.....
Posted: 26th Oct 2007 11:23
Not "argh", just go to the build menu and read what is splated in your screen.

You have everything writen in the build window, you don't need scripts, you only need to read what is in there.

You have several options in there, XY position for Health, Ammo, pics + counter, etc., same goes with the main menu, pause menu, etc.

The XY position is in percentage, so it means that x=50, y=50 will position the image on the center of the screen (i hope i'm not mistaken in htis last part, but i don't touch the hud for ages, but all the option you are "asking" are in the build menu).
rolfy
18
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 26th Oct 2007 11:43
:state=0:hudreset,hudx=85,hudy=8,hudimage=gamecore\huds\ammo.tga,hudtype=3,hudmake=status

In the setuplevel.fpi
Change the hudy and hudx values.
This the line you want,tho' it says ammo it is actually for placing the weapon image on screen,it will use the image of whatever weapon you have selected which is found in the gun folder.
Below this line is the numeric for ammo.
So the guy's are right

Lewis
VBOTB Developer '10
19
Years of Service
User Offline
Joined: 16th Mar 2005
Location: Queensland, Australia
Posted: 26th Oct 2007 11:44
oh.. okay ill hold still and you slap me.

SLAAAAAAAAAAAAAP.


I feel better. thanks!

Lewis From OsborneCreations.co.uk

Login to post a reply

Server time is: 2024-11-19 17:42:43
Your offset time is: 2024-11-19 17:42:43