I post to get attention
7th July 2009
Ok here is my problem number 2... Its a bit of a long one, but please have patience!
I made another torch which is an upgrade on the vanilla Clear Sky torch. I want the player to be able to buy it somewhere later in the game. Up to this stage everything went well The torch is in the game, and it can be bought.... But now comes my problem. How do I enable the player to switch torches? Maybe by adding a slot for the torches in the players inventory just above the detector or where ever? Not that I have a clue how to do that though! I've played around with the slot position and found that if you put the torches in the armor slot (6) then they work fine, you can change them and all, but then it's either a torch or your armor... Any other slot except the torch slot causes the game to crash. And if the torch is is in the torch slot, i cant change it!
I've already created an "upgraded" binocular that the player can buy later on. The vanilla binoc is more basic with a small zoom and it doesn't have the "vision present" thing. Upgraded one does! I've also moved the bolt and the binocs away from their original slots to the pistol slot, and it works fine!
I just can't figure out how to sort the torch problem. Is there anyone who would be able to help, or point me in the right direction?:bawl: