Game Development Community

2nd and more weapons

by Ryan Ackley · in Torque Game Engine · 11/12/2001 (5:03 pm) · 2 replies

I Exec crossbow.cs and my own pistol.cs within game.cs. The scripts compile cleanly, and i can add the guns and their respective ammo to levels using the creator mode in the terrain editor. But i cant pick either the crossbow or the pistol up. Only the rifle works... My pistol is basically rifle.cs with the word pistol replacing the word rifle in the script. But the crossbow doesnt work either... Any ideas on where im going wrong? Thanks
Ryan

#1
11/12/2001 (6:54 pm)
did you add it to the player's inventory in the player.cs? I has the same problem
Anthony
#2
11/12/2001 (6:56 pm)
oh and if you spawn some items where you want them you can save the .mis file and they will be there next time you load the level :-)