Firing controls?
by Matthew Jones · in Torque Game Engine · 07/21/2002 (12:45 pm) · 5 replies
I made a pistol using the default "rifle" script and I noticed the rifle is pretty much full auto. Can this be changed in the script and if so what am I looking for?
Thanks
Matt
Thanks
Matt
#2
I am clueless. I make frequint backups but I can't make anychanges take effect.
Any clue on this? Anybody?
Thanks for the above help Phil
Matt
07/21/2002 (7:59 pm)
Ya I thought it might be in that area and I think I figured it out. But for some reason I can't get my DSO to recompile after I made some changes. I know its not recompiling because I deleted it and my pistol wont appear in game and the DSO wont appear in the folder after ruinning the game.I am clueless. I make frequint backups but I can't make anychanges take effect.
Any clue on this? Anybody?
Thanks for the above help Phil
Matt
#3
07/21/2002 (8:07 pm)
Check the console to see if there are any errors when compiling the script (there marked in red).
#4
Matt
07/21/2002 (8:45 pm)
AHH ya! I always forget that console. Good'ol simple syntax error. Thanks alotMatt
#5
From Sabrecyd
"
exec("./rifle.cs");
exec("./crossbow.cs");
exec("./newweapon.cs"); // <--add this line
"
Also see:
www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=4736
08/02/2002 (12:56 pm)
Remember to add your new weapon to the game.cs script so it will compile your weapon script.From Sabrecyd
"
exec("./rifle.cs");
exec("./crossbow.cs");
exec("./newweapon.cs"); // <--add this line
"
Also see:
www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=4736
Torque 3D Owner Phil Carlisle
Phil.