Big Problem...
by Christian Weber · in Torque Game Engine · 08/24/2002 (5:54 am) · 10 replies
Hi,
I have a problem with my weapons, when I just have on weapon, but if I take another weapon I cant shoot or change the weapon anymore. :( Can someone help me?
thx for any help,
Chris
I have a problem with my weapons, when I just have on weapon, but if I take another weapon I cant shoot or change the weapon anymore. :( Can someone help me?
thx for any help,
Chris
About the author
#2
08/25/2002 (3:25 am)
No idea? :/ Please help me.
#3
08/26/2002 (6:28 am)
:( Really no idea? Mhm, ...ok.
#4
You could do a search for what is calling that function in the script and modify it.
If you could give some more information, It would be helpful to figure out what is going on.
Bruce.
08/28/2002 (10:09 am)
What version of torque are you using? As far as I know there isnt a function in the general scripts to update an ammo hud. Wich looks like this is what yours is trying to do.You could do a search for what is calling that function in the script and modify it.
If you could give some more information, It would be helpful to figure out what is going on.
Bruce.
#5
thx,
chris
08/28/2002 (10:17 am)
I have 1.1.1 caus in 1.1.2 I have a problem playing / compiling and I looked for that function, but I didnt found it anywhere.thx,
chris
#6
You can find it here.
Try backing up your weapon.cs then downloading this file and see if it works for you.
Also a good idea to delete the compiled weapon.cs(.dso) to make sure it compiles the new one.
Bruce
08/28/2002 (11:06 am)
I have uploaded an original weapon.cs file for you to try. It should not be looking for that function unless you modified it. You can find it here.
Try backing up your weapon.cs then downloading this file and see if it works for you.
Also a good idea to delete the compiled weapon.cs(.dso) to make sure it compiles the new one.
Bruce
#7
08/29/2002 (5:42 am)
Now it works, thx very much!
#8
thx,
chris
08/30/2002 (12:08 pm)
I have a problem again. If I start a mission first time it works normally, but if I go back to the main menuu and want to start another match I get a fatal error. What can that be? Any ideas? thx,
chris
#9
08/30/2002 (3:34 pm)
*bump*
#10
08/31/2002 (7:25 am)
*last bump*
Torque Owner Christian Weber
HydraGames
"fps/server/scripts/weapons.cs (0): Unknown Command setAmountAmmoHud.
Object LocalClientConnection(1520) GameConnection -> GameConnection -> NetConnectioin -> SimGroup -> SimSet -> SimObject"
But I looked for that command, but I didnt found it anywhere. Any idea?
PS: Sorry for my bad english. :/
Chris