Adding Tech With Increased Production?

DEADLY9996

Chieftain
Joined
Nov 4, 2005
Messages
48
Hi,

Is there anyway of adding a Tech with increased unit production? so it would add 25% shields on all melee units, or just all units?

Thanks :)
 
Also, i can't seem to get the sounds working for added corporations and religions, what are the files with Audio links in? and anyothers that are needed?

I have Audio2D and Defines sorted, but still they don't work.
 
CorporationInfo:

<MovieFile>NONE</MovieFile>
<MovieSound>NONE</MovieSound>
<Sound>AS2D_BUILD_BEER</Sound>


2DAudio:

<Script2DSound>
<ScriptID>AS2D_BUILD_BEER</ScriptID>
<SoundID>SND_BUILD_BEER</SoundID>
<SoundType>GAME_SFX</SoundType>
<iMinVolume>90</iMinVolume>
<iMaxVolume>90</iMaxVolume>
<iPitchChangeDown>0</iPitchChangeDown>
<iPitchChangeUp>0</iPitchChangeUp>
<iMinLeftPan>-1</iMinLeftPan>
<iMaxLeftPan>-1</iMaxLeftPan>
<iMinRightPan>-1</iMinRightPan>
<iMaxRightPan>-1</iMaxRightPan>
<bLooping>0</bLooping>
<iMinTimeDelay>0</iMinTimeDelay>
<iMaxTimeDelay>0</iMaxTimeDelay>
<bTaperForSoundtracks>0</bTaperForSoundtracks>
<iLengthOfSound>0</iLengthOfSound>
<fMinDryLevel>1.0</fMinDryLevel>
<fMaxDryLevel>1.0</fMaxDryLevel>
<fMinWetLevel>0.0</fMinWetLevel>
<fMaxWetLevel>0.0</fMaxWetLevel>
<iNotPlayPercent>0</iNotPlayPercent>
</Script2DSound>


Defines:

<SoundData>
<SoundID>SND_BUILD_BEER</SoundID>
<Filename>Art/Sounds/Buildings/Beer</Filename>
<LoadType>DYNAMIC_RES</LoadType>
<bIsCompressed>1</bIsCompressed>
<bInGeneric>1</bInGeneric>
</SoundData>

I havn't included everything in the file, just the audio link part, not sure why the sounds won't work. The corporation works fine....same with the religions.
 
Is there anyway of adding a Tech with increased unit production? so it would add 25% shields on all melee units, or just all units?

It's kloodgy, but you could add a really cheap building with a very high AI value that has that ability. For the 25% on all melee, you'd need to look at DOMAIN (compare to drydock or airport). For 25% to all units, there's an integer production value (look at heroic epic and military academy).

In the tech xml, there doesn't seem to be a direct way to do it.
 
Ok, thanks i was thinking about that, but thought their might be a better way of doing it via the Techs. I'll give it a try :)
 
Back
Top Bottom