Topic: Can weapons Taldren make weapons loaded from file  (Read 1335 times)

0 Members and 1 Guest are viewing this topic.

Mantis

  • Guest
Can weapons Taldren make weapons loaded from file
« 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.  

Captain KoraH

  • Guest
Re: Can weapons Taldren make weapons loaded from file
« Reply #1 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.  

Mantis

  • Guest
Re: Can weapons Taldren make weapons loaded from file
« Reply #2 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  

Mantis

  • Guest
Can weapons Taldren make weapons loaded from file
« Reply #3 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.  

Captain KoraH

  • Guest
Re: Can weapons Taldren make weapons loaded from file
« Reply #4 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.  

Mantis

  • Guest
Re: Can weapons Taldren make weapons loaded from file
« Reply #5 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