Game Development Community

Few torque questions.

by Ian Roach · in Torque Game Engine · 06/30/2002 (7:51 pm) · 1 replies

Hey guys just a couple of quick things :

1) I recently am building from the latest head and therefore adding in all the code snippets i need. Im curious though do codesnippets which have already been put into the engine appear ?

Prime example is the inventory system. Is this already integrated into the latest head and if not what version is better to put in ?

2) How do you add a bot with a defualt weapon. Ive seen a few forum posts about spawning ure player with a defualt gun (which needs the inventory system) but how can u spawn a bot with a gun. Ive only ever seen the short bot tutorial which explained how to add a bot but nothing related to giving them a weapon.

3)As far as i know torque doesnt support mp3, only wav and ogg vorbis (which ive added). Now im curious how does one convert an mp3 file into either of these formats.

Thanks In advance

~~Roachie

#1
06/30/2002 (8:05 pm)
1. From what I *remember* I don't think there has been a code snipit yet which has been added to the engine. The best way to track this down is to review the cvs changelist which can be found Here. Usually most things don't get added to the official CVS unless they fix previously broken functionality or are useful to all people and projects alike.

2. You should just be able to add weapons to bots like you would a normal player on spawn. Making them pickup a weapon through AI routines is a different story however..

3. If I remember correctly there is a plugin for Winamp which will convert your mp3's to .ogg format. You might want to try the winamp site for this. Or do a search on google.