Power generator problems

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
Post Reply
User avatar
Mysteryem
Global Moderator
Global Moderator
Posts: 728
Joined: 22 Sep 2008, 19:44
Location: UK
Contact:

Power generator problems

Post by Mysteryem »

I've been making a new power generator recently, unfortunately the file that spins around the central spire is too small. Currently I've found the required file (fxft.pie), but it's used by other things in the game, such as flamers and NEXUS link turrets. What is the (script?) file that lets the game know to use that pie file with the power generator? I want to change it, or is it unchangable?
"...If pure awesomeness were bricks, this would be the Great Wall of China...
The glory of this has collapsed on its self so far, that even the neutrons have collapsed."
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Power generator problems

Post by Per »

I am afraid it is hard-coded, but it would be relatively easy, I think, to split the cooling tower effect apart from the other uses of the same effect.
Per
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 3780
Joined: 03 Aug 2006, 19:39

Re: Power generator problems

Post by Per »

By the way, once we get the WZM format implemented in warzone proper, this effect should be easy to add as part of the model itself, instead of hard-coding it in the source code. The qwzm model post-production program that I am working on can already add such animation features.
User avatar
Mysteryem
Global Moderator
Global Moderator
Posts: 728
Joined: 22 Sep 2008, 19:44
Location: UK
Contact:

Re: Power generator problems

Post by Mysteryem »

Per wrote:I am afraid it is hard-coded, but it would be relatively easy, I think, to split the cooling tower effect apart from the other uses of the same effect.
Ok, would it be possible to copy the code for the power generator and then put it under a different name, add it to a mod and then edit the stats/structures file (and structure functions etc.) of the power generator to use that script instead? (I know I'd need to copy fxft.pie and then register it under a different name for the new script to use)
Per wrote:By the way, once we get the WZM format implemented in warzone proper, this effect should be easy to add as part of the model itself, instead of hard-coding it in the source code. The qwzm model post-production program that I am working on can already add such animation features.
Cool :D, I can't wait.

I'm assuming it's also not possible to change the information that the weapon classes (such as "ENERGY" and "LAS_SAT") contain?

Oh, and thanks for the help :D
"...If pure awesomeness were bricks, this would be the Great Wall of China...
The glory of this has collapsed on its self so far, that even the neutrons have collapsed."
Post Reply