Interceptor Weapons
-
- Trained
- Posts: 182
- Joined: 10 Sep 2011, 03:36
- Location: Great Southern region, Western Australia
Re: Interceptor Weapons
Late at night here, but I've finally found out what was happening. For some reason, Libre Office was treating names.txt as a .csv file, and after editing would save it with commas. This was causing the errors, and the mod now works. Few minor issues with how the weapon works, but it does, and for now that's the main thing.
As it happens, I owe this discovery to Contingency, because I was going through other people's mods, trying to figure out where I went wrong... so thanks Shadow Wolf TJC.
Regards, Searge
As it happens, I owe this discovery to Contingency, because I was going through other people's mods, trying to figure out where I went wrong... so thanks Shadow Wolf TJC.
Regards, Searge
I fully realise my input is just another drop in the proverbial bucket. It is my goal to make each drop count.
- Shadow Wolf TJC
- Regular
- Posts: 1047
- Joined: 16 Apr 2011, 05:12
- Location: Raleigh, NC
Re: Interceptor Weapons
Not a problem. I guess that that was what was causing the following syntax error in your WZlog file, huh?
Code: Select all
error |03:57:53: [strres_error:37] STRRES file parse error:
syntax error at line 5
Creator of Warzone 2100: Contingency!
Founder of Wikizone 2100: http://wikizone2100.wikia.com/wiki/Wikizone_2100
Founder of Wikizone 2100: http://wikizone2100.wikia.com/wiki/Wikizone_2100
Re: Interceptor Weapons
For text files it's much better to use Notepad++
-
- Trained
- Posts: 182
- Joined: 10 Sep 2011, 03:36
- Location: Great Southern region, Western Australia
Re: Interceptor Weapons
Indeed. Now to tweak it's stats, make it researchable, and then to mp testing.Shadow Wolf TJC wrote:Not a problem. I guess that that was what was causing the following syntax error in your WZlog file, huh?Code: Select all
error |03:57:53: [strres_error:37] STRRES file parse error: syntax error at line 5
Does specifying "ANTI-AIRCRAFT" mean that it can only shoot at air units, even when on a VTOL? Or is there some other value responsible for this? Merely that 4 Spitfire VTOLs demolished two enemy factories, with ammo to spare.
[EDIT: Found problem and fixed it. ]
Regards, Searge
I fully realise my input is just another drop in the proverbial bucket. It is my goal to make each drop count.
-
- Trained
- Posts: 182
- Joined: 10 Sep 2011, 03:36
- Location: Great Southern region, Western Australia
Re: Interceptor Weapons
The first new weapon, the Spitfire Interceptor is now researchable, designable and able to be manufactured. It is a VTOL only weapon, machine gun based (it benefits from all machine-gun upgrades), but has anti-tank capabilities. It is currently undergoing accuracy and damage checks, upon the completion of which the mod will be released as an alpha.
The next step is providing a unique model for it (it currently shares the sunburst model, while using the machine gun fx); am I right in thinking that once a model has been created and a copy place in the appropriate folder, it is as simple as referencing it in weapons.txt?
Though texturing springs to mind, how does that work? Is there free texture space, can you make your own texture pages?
All these questions and more to come, as this mod becomes more complicated...
Regards, Searge
The next step is providing a unique model for it (it currently shares the sunburst model, while using the machine gun fx); am I right in thinking that once a model has been created and a copy place in the appropriate folder, it is as simple as referencing it in weapons.txt?
Though texturing springs to mind, how does that work? Is there free texture space, can you make your own texture pages?
All these questions and more to come, as this mod becomes more complicated...
Regards, Searge
I fully realise my input is just another drop in the proverbial bucket. It is my goal to make each drop count.
Re: Interceptor Weapons
You need to list the 3d model (.pie format) in another .wrf file. But otherwise, yes it's not that much harder than dropping it in the corresponding folder and referencing to it in weapons.txt
Heretic 2.3 improver and proud of it.
-
- Trained
- Posts: 182
- Joined: 10 Sep 2011, 03:36
- Location: Great Southern region, Western Australia
Re: Interceptor Weapons
Thanks, good to know. I'll have a look at the .wrf files, do you need a special editor for them, or is just a renamed .txt file?Iluvalar wrote:You need to list the 3d model (.pie format) in another .wrf file. But otherwise, yes it's not that much harder than dropping it in the corresponding folder and referencing to it in weapons.txt
Again with textures, what about texture space, how do you tell wz which page, and which part of the page?
Regards, Searge
I fully realise my input is just another drop in the proverbial bucket. It is my goal to make each drop count.