|
|
|
0 registered members (),
938
guests, and 4
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
doom3/quake weapons display scrit
#48956
07/09/05 17:04
07/09/05 17:04
|
Joined: Jun 2004
Posts: 2,234 Wisconsin USA
FoxHound
OP
Expert
|
OP
Expert
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
|
Pretty much what it says, I've made a script that will display panels to show you which weapons you have, how much ammo (via window bar) you have in them and which weapon you are using. Use it as you please, no credit necessary but if you let me know you use it in your finished game I'll link to you. Any problems, email me, billyandsupak(@)yahoo(dotty)com or IM me here http://www.foxhound-production.com/3dgs/quakeweapons/index.htm
|
|
|
Re: doom3/quake weapons display scrit
[Re: FoxZero]
#48959
07/16/05 05:49
07/16/05 05:49
|
Joined: Jan 2004
Posts: 3,023 The Netherlands
Helghast
Expert
|
Expert
Joined: Jan 2004
Posts: 3,023
The Netherlands
|
nice contribution thanks  (and yes, that screen is from unreal *tournament 2004 to be precise  *) regards.
|
|
|
Re: doom3/quake weapons display scrit
[Re: Silent_Assassin]
#48961
07/16/05 16:01
07/16/05 16:01
|
Joined: Jun 2004
Posts: 2,234 Wisconsin USA
FoxHound
OP
Expert
|
OP
Expert
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
|
First to get the ammo regulator to work, you need to call it once, (not in a while loop).
To get the weapon display to update you need to call it each time you pick up a new weapon or when you change weapons. You can fix this by making it into a while loop but that could slow your game down a bit, which is why i didn't do it.
An example of this is
//// if(key_1) { function to change weapon to weapon 1 wait(1); gun_display_update(); } if(key_2) { function to change weapon to weapon 2 wait(1); gun_display_update(); } ////// and so on
If this doesn't answer your question let me know.
--------------------- There is no signature here.
QUIT LOOKING FOR ONE!
|
|
|
Re: doom3/quake weapons display scrit
[Re: FoxHound]
#48962
07/16/05 16:08
07/16/05 16:08
|
Joined: Jun 2004
Posts: 2,234 Wisconsin USA
FoxHound
OP
Expert
|
OP
Expert
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
|
Ok, you said you are using the templates. You will need to change the vars to the ones used in the templates. Either that or write a function that updates the vars I used with the ones used in the templates.
--------------------- There is no signature here.
QUIT LOOKING FOR ONE!
|
|
|
Re: doom3/quake weapons display scrit
[Re: exile]
#48964
11/26/05 14:20
11/26/05 14:20
|
Joined: Jun 2004
Posts: 2,234 Wisconsin USA
FoxHound
OP
Expert
|
OP
Expert
Joined: Jun 2004
Posts: 2,234
Wisconsin USA
|
I don't know what those vars are, I've never used the templates.
--------------------- There is no signature here.
QUIT LOOKING FOR ONE!
|
|
|
Re: doom3/quake weapons display scrit
[Re: FoxHound]
#48965
11/28/05 19:14
11/28/05 19:14
|
Joined: Mar 2005
Posts: 725 USA
TeutonicDarkness
User
|
User
Joined: Mar 2005
Posts: 725
USA
|
Quote:
I don't know what those vars are, I've never used the templates.
I may be wrong have yet to test.... but I believe if your using the A5 templates you'll find the values in messages.wdl
look for this:
var show_ammo = 0; var show_health = 0; var show_armor = 0; var ammo_number = 0; var ammo1 = 0; var ammo2 = 0; var ammo3 = 0; var ammo4 = 0; var ammo5 = 0; var ammo6 = 0; var ammo7 = 0;
maybe ammo# would help?
I'll try it out soon as I do use the templates .... I'll post my results for both A5 and A6 when I am positive of the changes needed to be made!
*** Teutonic Darkness ***
|
|
|
|
|
|
|