Dynaverse.net

Taldrenites => General Starfleet Command Forum => Topic started by: Mantis on April 01, 2003, 07:44:24 am

Title: Can weapons Taldren make weapons loaded from file
Post by: Mantis on April 01, 2003, 07:44:24 am
Looking at the mods that are appearing, it seems to me that it sure would be nice to be able to add weapons.

First, does anyone know if the weapons are loaded from a file, or are they "hard coded"? Second, it seems to that it would not be too difficult (I have been programming commercially for some time ) to make the weapons loadable from a file. This would facilitate adding additional weapons since the file, if it does not already exist, could contain the parameters of the weapons. The only difficult part would seem to be special effects weapons, this would have to be limited.

If only we had the code, or there was a chance of an expansion. Oh well, here's to dreaming.  
Title: Re: Can weapons Taldren make weapons loaded from file
Post by: Captain KoraH on April 01, 2003, 03:55:02 pm
The answer to your question is Yes, and Yes. The weapons are loaded from a file that is hard coded. You can change lines in the file, except the line denoting the name of the weapon, but you cannot add new lines. The file is called WeaponItems.gf and it's a text file contained in the SFC3\Assets\CommonSettings folder. Have at it, and good luck.  
Title: Re: Can weapons Taldren make weapons loaded from file
Post by: Mantis on April 02, 2003, 01:27:17 pm
Captain KoraH, thank you for the information. I checked the file but it was as I feared, damage distribution is not listed in the file. Also, the fact that weapons can only be replaced, not added onto the list, limits the usefullness in being able to add addtional weapons. Of course, I could be missing something. Since it does not appear that there will be any expansion, this makes it a bummer  
Title: Can weapons Taldren make weapons loaded from file
Post by: Mantis on April 01, 2003, 07:44:24 am
Looking at the mods that are appearing, it seems to me that it sure would be nice to be able to add weapons.

First, does anyone know if the weapons are loaded from a file, or are they "hard coded"? Second, it seems to that it would not be too difficult (I have been programming commercially for some time ) to make the weapons loadable from a file. This would facilitate adding additional weapons since the file, if it does not already exist, could contain the parameters of the weapons. The only difficult part would seem to be special effects weapons, this would have to be limited.

If only we had the code, or there was a chance of an expansion. Oh well, here's to dreaming.  
Title: Re: Can weapons Taldren make weapons loaded from file
Post by: Captain KoraH on April 01, 2003, 03:55:02 pm
The answer to your question is Yes, and Yes. The weapons are loaded from a file that is hard coded. You can change lines in the file, except the line denoting the name of the weapon, but you cannot add new lines. The file is called WeaponItems.gf and it's a text file contained in the SFC3\Assets\CommonSettings folder. Have at it, and good luck.  
Title: Re: Can weapons Taldren make weapons loaded from file
Post by: Mantis on April 02, 2003, 01:27:17 pm
Captain KoraH, thank you for the information. I checked the file but it was as I feared, damage distribution is not listed in the file. Also, the fact that weapons can only be replaced, not added onto the list, limits the usefullness in being able to add addtional weapons. Of course, I could be missing something. Since it does not appear that there will be any expansion, this makes it a bummer