Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
0 registered members (), 938 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 1 of 2 1 2
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 Offline OP
Expert
FoxHound  Offline 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: FoxHound] #48957
07/09/05 17:21
07/09/05 17:21
Joined: Aug 2003
Posts: 842
alabama
Drittz_Dourden Offline
User
Drittz_Dourden  Offline
User

Joined: Aug 2003
Posts: 842
alabama
sweet. i can use this

Thanks

DANIEL

Re: doom3/quake weapons display scrit [Re: Drittz_Dourden] #48958
07/16/05 03:17
07/16/05 03:17
Joined: Jun 2005
Posts: 1,001
Pennsylvania, USA
FoxZero Offline
Serious User
FoxZero  Offline
Serious User

Joined: Jun 2005
Posts: 1,001
Pennsylvania, USA
I've got a problem with this. It displays great but nothing works. Is there missing code I need to fill in or do we need to modify the templates?


Check out my site http://foxzero.net
My band's website
http://wolf-hybrid.net

R.I.P. Dave Williams
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 Offline
Expert
Helghast  Offline
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.


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: doom3/quake weapons display scrit [Re: Helghast] #48960
07/16/05 05:55
07/16/05 05:55
Joined: Jun 2005
Posts: 734
Under your couch
Silent_Assassin Offline
Developer
Silent_Assassin  Offline
Developer

Joined: Jun 2005
Posts: 734
Under your couch
yeah i got the same problem as FoxZero any ideas on how this could be fixed at all :S


Visit us at www.m-tec-development.com WIP - Urban Conflict
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 Offline OP
Expert
FoxHound  Offline 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 Offline OP
Expert
FoxHound  Offline 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: FoxHound] #48963
11/08/05 02:47
11/08/05 02:47
Joined: Apr 2005
Posts: 795
U.S.A. Michigan
exile Offline
User
exile  Offline
User

Joined: Apr 2005
Posts: 795
U.S.A. Michigan
Yeah........I have no idea how to do that. Can you just change the vars to the ones in the template and post the new script?

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 Offline OP
Expert
FoxHound  Offline 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 Offline
User
TeutonicDarkness  Offline
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 ***

Page 1 of 2 1 2

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1