1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

[Religion and Revolution]: Bugs and Todos

Discussion in 'Civ4Col - Religion and Revolution' started by raystuttgart, Dec 13, 2011.

  1. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    6,035
    Gender:
    Male
    Location:
    Stuttgart, Germany
    There is a small bug in the late CityStyle of France:

    Code:
    File Art/Structures/Cities/colony_FRANCE_late.nif does not contain a node named 2x2_04 pointed at by artref generic:colony_FRANCE_late.nif::2x2_04
    
    Similar small bug:

    Code:
    File Art/Structures/Cities/central_american.nif does not contain a node named 2x2_04 pointed at by artref generic:central_american.nif::2x2_04
    
    This error message also appears relatively often:

    Code:
    LSystem failed to place node Leaf_Farm_4x4!
    
     
  2. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    6,035
    Gender:
    Male
    Location:
    Stuttgart, Germany
    Issue with Leaderhead Ermak:

    Code:
    RESMGR: Failed loading file Art/LeaderHeads/Ermak/julius_caesar_BG_background.kf. Reason: (code:1) Cannot open file.
    
    This one is serious and causes CTDs !

    Code:
    RESMGR: Scene file Art/Units/Denmark/denmark_musketman/Musketman.nif failed to load. Reason: (code:1) Cannot open file.
    
     
  3. Schmiddie

    Schmiddie Emperor

    Joined:
    Feb 27, 2012
    Messages:
    1,462
    Location:
    Germany
    This should be from TAC, I think we did not change something, but I have fixed it - like the other bugs (without this one: LSystem failed to place node Leaf_Farm_4x4! - Maybe Willi could have a look at it?).
     
  4. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    6,035
    Gender:
    Male
    Location:
    Stuttgart, Germany
    I know. :)

    But we should still fix these things.
    (Also makes it easier for me to identify the serious issues.)

    Great. :goodjob:

    ---------

    I will also continue testing tomorrow. :thumbsup:
     
  5. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    6,035
    Gender:
    Male
    Location:
    Stuttgart, Germany
    @team and community:

    There are sounds referenced by some of our graphics, which do not exist in our mod (or another Civ4Col mod I know).

    They are probably from Civ4 (which I do not have).

    I am looking for:

    AS3D_IMPROV_HORSE_RES_SNORT
    AS3D_IMPROV_HORSE_RES_HOOF
    AS3D_IMPROV_HORSE_RES_WHINNY
    AS3D_UN_ARC_FORT_VOX
    AS3D_IMPROV_COWS_RES_GRUNT
    AS3D_UN_LEATHER_CREAK_LONG_LOW2

    The references can probably be found here:
    ...\Assets\XML\Audio\Audio3DScripts.xml

    Could somebody help ? :)
    (Simply let me know, if you find the references in that file. Than the rest can be clarified.)
     
  6. Robert Surcouf

    Robert Surcouf Civ4Col Modder

    Joined:
    Feb 21, 2011
    Messages:
    665
    Location:
    France
    Well yes! I found them in ...\Assets\XML\Audio\Audio3DScripts.xml
    and in ...Beyond The Sword\Assets\XML\Audio\Audio3DScripts.xml!
    (all six of them)

    I've also added Aeterna's translation (and added him in the Xml credits)
    Spoiler :
    @Ray: I'll fix the special characters ;)

    I've almost finished the Domestic Market part in the Domestic Advisor screen.
    1) I've displayed all the info in page 3 of General State. Why not ? ;) (page three is still available)
    2) I've displayed getYieldBuyPrice and getYieldDemand. Maybe I could do better :think:
    3) I haven't displayed the amount of yields stored... (there isn't much space left, and we can find it in the Warehouse State...

    Is that OK? If not what would you all like?
     

    Attached Files:

  7. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    6,035
    Gender:
    Male
    Location:
    Stuttgart, Germany
    Could you add them to our mod ?

    1. Entries of Audio3DScripts.xml
    2. According entries of AudioDefines.xml
    3. According sound files

    I have added him to the Credits in our posts. :)

    Great. :)
    Simply upload it, when you are finished.
    I will take a look then. :thumbsup:

    If this works better, than a new SubScreen (with its own button). :dunno:
    (We just have to tell the people where to find it.)

    That is exactly what is needed. :goodjob:

    That is fine. :goodjob:
     
  8. Robert Surcouf

    Robert Surcouf Civ4Col Modder

    Joined:
    Feb 21, 2011
    Messages:
    665
    Location:
    France
    Yes I can ! :) I'll do it now!
    It's done. you can have a look!
    Well for now it's easier to keep it in general state... And I meant "page 2" is still available (not page three! :eek:)
     
  9. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    6,035
    Gender:
    Male
    Location:
    Stuttgart, Germany
    Great. :thumbsup:

    I will test it this evening. :thumbsup:

    For me that is fine. :)
    (As I said, we just need to tell people where to find it.)
     
  10. Robert Surcouf

    Robert Surcouf Civ4Col Modder

    Joined:
    Feb 21, 2011
    Messages:
    665
    Location:
    France
    I've added the Sounds, but when I change the AudioDefines and the Audio3DScripts, the game doesn't launch... I don't know why :dunno:

    Here's my code for Audio3DScripts.xml:
    Spoiler :
    Code:
    <!-- Civ4 3D Audio Scripts Robert Surcouf Start-->
    	<Script3DSound>
    		<ScriptID>AS3D_IMPROV_HORSE_RES_SNORT</ScriptID>
    		<SoundID>SND_IMPROV_HORSE_RES_SNORT</SoundID>
    		<SoundType>GAME_SFX</SoundType>
    		<iMinVolume>100</iMinVolume>
    		<iMaxVolume>100</iMaxVolume>
    		<iPitchChangeDown>0</iPitchChangeDown>
    		<iPitchChangeUp>0</iPitchChangeUp>
    		<bLooping>0</bLooping>
    		<iMinTimeDelay>0</iMinTimeDelay>
    		<iMaxTimeDelay>0</iMaxTimeDelay>
    		<StartPosition>NONE</StartPosition>
    		<EndPosition>NONE</EndPosition>
    		<iMinVelocity>0</iMinVelocity>
    		<iMaxVelocity>0</iMaxVelocity>
    		<iMinDistanceFromListener>0</iMinDistanceFromListener>
    		<iMaxDistanceFromListener>0</iMaxDistanceFromListener>
    		<iMinDistanceForMaxVolume>50</iMinDistanceForMaxVolume>
    		<iMaxDistanceForMaxVolume>100</iMaxDistanceForMaxVolume>
    		<iMinCutoffDistance>7000</iMinCutoffDistance>
    		<iMaxCutoffDistance>7000</iMaxCutoffDistance>
    		<bTaperForSoundtracks>0</bTaperForSoundtracks>
    		<iLengthOfSound>0</iLengthOfSound>
    		<fMinDryLevel>1.0</fMinDryLevel>
    		<fMaxDryLevel>1.0</fMaxDryLevel>
    		<fMinWetLevel>0.5</fMinWetLevel>
    		<fMaxWetLevel>0.5</fMaxWetLevel>
    		<iNotPlayPercent>0</iNotPlayPercent>
    	</Script3DSound>
    	<Script3DSound>
    		<ScriptID>AS3D_IMPROV_HORSE_RES_WHINNY</ScriptID>
    		<SoundID>SND_IMPROV_HORSE_RES_WHINNY</SoundID>
    		<SoundType>GAME_SFX</SoundType>
    		<iMinVolume>100</iMinVolume>
    		<iMaxVolume>100</iMaxVolume>
    		<iPitchChangeDown>0</iPitchChangeDown>
    		<iPitchChangeUp>0</iPitchChangeUp>
    		<bLooping>0</bLooping>
    		<iMinTimeDelay>0</iMinTimeDelay>
    		<iMaxTimeDelay>0</iMaxTimeDelay>
    		<StartPosition>NONE</StartPosition>
    		<EndPosition>NONE</EndPosition>
    		<iMinVelocity>0</iMinVelocity>
    		<iMaxVelocity>0</iMaxVelocity>
    		<iMinDistanceFromListener>0</iMinDistanceFromListener>
    		<iMaxDistanceFromListener>0</iMaxDistanceFromListener>
    		<iMinDistanceForMaxVolume>50</iMinDistanceForMaxVolume>
    		<iMaxDistanceForMaxVolume>100</iMaxDistanceForMaxVolume>
    		<iMinCutoffDistance>7000</iMinCutoffDistance>
    		<iMaxCutoffDistance>7000</iMaxCutoffDistance>
    		<bTaperForSoundtracks>0</bTaperForSoundtracks>
    		<iLengthOfSound>0</iLengthOfSound>
    		<fMinDryLevel>1.0</fMinDryLevel>
    		<fMaxDryLevel>1.0</fMaxDryLevel>
    		<fMinWetLevel>0.5</fMinWetLevel>
    		<fMaxWetLevel>0.5</fMaxWetLevel>
    		<iNotPlayPercent>0</iNotPlayPercent>
    	</Script3DSound>
    	<Script3DSound>
    		<ScriptID>AS3D_IMPROV_HORSE_RES_HOOF</ScriptID>
    		<SoundID>SND_IMPROV_HORSE_RES_HOOF</SoundID>
    		<SoundType>GAME_SFX</SoundType>
    		<iMinVolume>100</iMinVolume>
    		<iMaxVolume>100</iMaxVolume>
    		<iPitchChangeDown>0</iPitchChangeDown>
    		<iPitchChangeUp>0</iPitchChangeUp>
    		<bLooping>0</bLooping>
    		<iMinTimeDelay>0</iMinTimeDelay>
    		<iMaxTimeDelay>0</iMaxTimeDelay>
    		<StartPosition>NONE</StartPosition>
    		<EndPosition>NONE</EndPosition>
    		<iMinVelocity>0</iMinVelocity>
    		<iMaxVelocity>0</iMaxVelocity>
    		<iMinDistanceFromListener>0</iMinDistanceFromListener>
    		<iMaxDistanceFromListener>0</iMaxDistanceFromListener>
    		<iMinDistanceForMaxVolume>50</iMinDistanceForMaxVolume>
    		<iMaxDistanceForMaxVolume>100</iMaxDistanceForMaxVolume>
    		<iMinCutoffDistance>7000</iMinCutoffDistance>
    		<iMaxCutoffDistance>7000</iMaxCutoffDistance>
    		<bTaperForSoundtracks>0</bTaperForSoundtracks>
    		<iLengthOfSound>0</iLengthOfSound>
    		<fMinDryLevel>1.0</fMinDryLevel>
    		<fMaxDryLevel>1.0</fMaxDryLevel>
    		<fMinWetLevel>0.5</fMinWetLevel>
    		<fMaxWetLevel>0.5</fMaxWetLevel>
    		<iNotPlayPercent>0</iNotPlayPercent>
    	</Script3DSound>
    	<Script3DSound>
    		<ScriptID>AS3D_UN_ARC_FORT_VOX</ScriptID>
    		<SoundID>SND_ARC_FORT_VOX</SoundID>
    		<SoundType>GAME_SFX</SoundType>
    		<iMinVolume>75</iMinVolume>
    		<iMaxVolume>100</iMaxVolume>
    		<iPitchChangeDown>-3000</iPitchChangeDown>
    		<iPitchChangeUp>3000</iPitchChangeUp>
    		<bLooping>0</bLooping>
    		<iMinTimeDelay>0</iMinTimeDelay>
    		<iMaxTimeDelay>0</iMaxTimeDelay>
    		<StartPosition>NONE</StartPosition>
    		<EndPosition>NONE</EndPosition>
    		<iMinVelocity>0</iMinVelocity>
    		<iMaxVelocity>0</iMaxVelocity>
    		<iMinDistanceFromListener>0</iMinDistanceFromListener>
    		<iMaxDistanceFromListener>0</iMaxDistanceFromListener>
    		<iMinDistanceForMaxVolume>100</iMinDistanceForMaxVolume>
    		<iMaxDistanceForMaxVolume>300</iMaxDistanceForMaxVolume>
    		<iMinCutoffDistance>7000</iMinCutoffDistance>
    		<iMaxCutoffDistance>7000</iMaxCutoffDistance>
    		<bTaperForSoundtracks>0</bTaperForSoundtracks>
    		<iLengthOfSound>0</iLengthOfSound>
    		<fMinDryLevel>1.0</fMinDryLevel>
    		<fMaxDryLevel>1.0</fMaxDryLevel>
    		<fMinWetLevel>0.5</fMinWetLevel>
    		<fMaxWetLevel>0.5</fMaxWetLevel>
    		<iNotPlayPercent>0</iNotPlayPercent>
    	</Script3DSound>
    	<Script3DSound>
    		<ScriptID>AS3D_IMPROV_COWS_RES_GRUNT</ScriptID>
    		<SoundID>SND_IMPROV_COWS_RES_GRUNT</SoundID>
    		<SoundType>GAME_SFX</SoundType>
    		<iMinVolume>100</iMinVolume>
    		<iMaxVolume>100</iMaxVolume>
    		<iPitchChangeDown>0</iPitchChangeDown>
    		<iPitchChangeUp>0</iPitchChangeUp>
    		<bLooping>0</bLooping>
    		<iMinTimeDelay>0</iMinTimeDelay>
    		<iMaxTimeDelay>0</iMaxTimeDelay>
    		<StartPosition>NONE</StartPosition>
    		<EndPosition>NONE</EndPosition>
    		<iMinVelocity>0</iMinVelocity>
    		<iMaxVelocity>0</iMaxVelocity>
    		<iMinDistanceFromListener>0</iMinDistanceFromListener>
    		<iMaxDistanceFromListener>0</iMaxDistanceFromListener>
    		<iMinDistanceForMaxVolume>50</iMinDistanceForMaxVolume>
    		<iMaxDistanceForMaxVolume>100</iMaxDistanceForMaxVolume>
    		<iMinCutoffDistance>7000</iMinCutoffDistance>
    		<iMaxCutoffDistance>7000</iMaxCutoffDistance>
    		<bTaperForSoundtracks>0</bTaperForSoundtracks>
    		<iLengthOfSound>0</iLengthOfSound>
    		<fMinDryLevel>1.0</fMinDryLevel>
    		<fMaxDryLevel>1.0</fMaxDryLevel>
    		<fMinWetLevel>0.5</fMinWetLevel>
    		<fMaxWetLevel>0.5</fMaxWetLevel>
    		<iNotPlayPercent>0</iNotPlayPercent>
    	</Script3DSound>
    	<Script3DSound>
    		<ScriptID>AS3D_UN_LEATHER_CREAK_LONG_LOW2</ScriptID>
    		<SoundID>SND_LEATHER_CREAK_LONG</SoundID>
    		<SoundType>GAME_SFX</SoundType>
    		<iMinVolume>45</iMinVolume>
    		<iMaxVolume>70</iMaxVolume>
    		<iPitchChangeDown>-5000</iPitchChangeDown>
    		<iPitchChangeUp>4000</iPitchChangeUp>
    		<bLooping>0</bLooping>
    		<iMinTimeDelay>0</iMinTimeDelay>
    		<iMaxTimeDelay>0</iMaxTimeDelay>
    		<StartPosition>NONE</StartPosition>
    		<EndPosition>NONE</EndPosition>
    		<iMinVelocity>0</iMinVelocity>
    		<iMaxVelocity>0</iMaxVelocity>
    		<iMinDistanceFromListener>0</iMinDistanceFromListener>
    		<iMaxDistanceFromListener>0</iMaxDistanceFromListener>
    		<iMinDistanceForMaxVolume>500</iMinDistanceForMaxVolume>
    		<iMaxDistanceForMaxVolume>1000</iMaxDistanceForMaxVolume>
    		<iMinCutoffDistance>7000</iMinCutoffDistance>
    		<iMaxCutoffDistance>7000</iMaxCutoffDistance>
    		<bTaperForSoundtracks>0</bTaperForSoundtracks>
    		<iLengthOfSound>0</iLengthOfSound>
    		<fMinDryLevel>1.0</fMinDryLevel>
    		<fMaxDryLevel>1.0</fMaxDryLevel>
    		<fMinWetLevel>0.5</fMinWetLevel>
    		<fMaxWetLevel>0.5</fMaxWetLevel>
    		<iNotPlayPercent>0</iNotPlayPercent>
    	</Script3DSound>
    	<!-- Civ4 3D Audio Scripts Robert Surcouf End-->

    And for AudioDefines.xml:
    Spoiler :
    Code:
    <!-- Civ4 Audio Defines Robert Surcouf Start-->
    		<SoundData>
    			<SoundID>SND_IMPROV_HORSE_RES_SNORT</SoundID>
    			<Filename>Sounds/Resouces and Improvements/HorseResSnort</Filename>
    			<LoadType>DYNAMIC_RES</LoadType>
    			<bIsCompressed>1</bIsCompressed>
    			<bInGeneric>1</bInGeneric>
    		</SoundData>
    		<SoundData>
    			<SoundID>SND_IMPROV_HORSE_RES_WHINNY</SoundID>
    			<Filename>Sounds/Resouces and Improvements/HorseResWhinny</Filename>
    			<LoadType>DYNAMIC_RES</LoadType>
    			<bIsCompressed>1</bIsCompressed>
    			<bInGeneric>1</bInGeneric>
    		</SoundData>
    		<SoundData>
    			<SoundID>SND_IMPROV_HORSE_RES_HOOF</SoundID>
    			<Filename>Sounds/Resouces and Improvements/HorseResHoof</Filename>
    			<LoadType>DYNAMIC_RES</LoadType>
    			<bIsCompressed>1</bIsCompressed>
    			<bInGeneric>1</bInGeneric>
    		</SoundData>
    		<SoundData>
    			<SoundID>SND_ARC_FORT_VOX</SoundID>
    			<Filename>Sounds/Units/ArcherFortVox</Filename>
    			<LoadType>DYNAMIC_RES</LoadType>
    			<bIsCompressed>1</bIsCompressed>
    			<bInGeneric>1</bInGeneric>
    		</SoundData>
    		<SoundData>
    			<SoundID>SND_IMPROV_COWS_RES_GRUNT</SoundID>
    			<Filename>Sounds/Resouces and Improvements/CowsResGrunt</Filename>
    			<LoadType>DYNAMIC_RES</LoadType>
    			<bIsCompressed>1</bIsCompressed>
    			<bInGeneric>1</bInGeneric>
    		</SoundData>
    		<SoundData>
    			<SoundID>SND_LEATHER_CREAK_LONG</SoundID>
    			<Filename>Sounds/Units/LeatherCreakLong</Filename>
    			<LoadType>DYNAMIC_RES</LoadType>
    			<bIsCompressed>1</bIsCompressed>
    			<bInGeneric>1</bInGeneric>
    		</SoundData>
    		<!-- Civ4 Audio Defines Robert Surcouf End-->

    What did I miss?
     
  11. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    6,035
    Gender:
    Male
    Location:
    Stuttgart, Germany
    I have no idea. :dunno:
    Maybe you added them at the wrong position.

    Could you simply upload the soundfiles to the mod ?
    I will take care of the rest then. :thumbsup:

    Edit:
    I see you already did. :thumbsup:
     
  12. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    6,035
    Gender:
    Male
    Location:
    Stuttgart, Germany
    @Robert:
    The Audio3DScripts.xml and AudioDefines.xml with your entries are uploaded to SVN. :thumbsup:
    I did not have any problems at all. :dunno:
     
  13. Robert Surcouf

    Robert Surcouf Civ4Col Modder

    Joined:
    Feb 21, 2011
    Messages:
    665
    Location:
    France
    Oh! That's strange :think: ... But this is good news :lol:
     
  14. Commander Bello

    Commander Bello Say No 2 Net Validations

    Joined:
    Sep 3, 2003
    Messages:
    3,858
    Location:
    near Koblenz, Germany
    If I make a remark....

    It would be really great, if getYieldDemand would be green for values > 0 and white or red for values = 0.

    Then you could see it at one glance.
    Don't know, if this is possible. :confused:
     
  15. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    6,035
    Gender:
    Male
    Location:
    Stuttgart, Germany
    @Robert:
    I get Python Exceptions, when Using Domestic Advisor. :(
    Especially when I try to use the Native Advisor Screen.
     
  16. Robert Surcouf

    Robert Surcouf Civ4Col Modder

    Joined:
    Feb 21, 2011
    Messages:
    665
    Location:
    France
    Oh there is probably a missing line:
    Code:
    if gc.getPlayer(pLoopCity.getMissionaryPlayer()) != PlayerTypes.NO_PLAYER):
    Strangely I commented out this line. I thought it was useless.:dunno:
    Why would Missionary rate be positive (we can only enter line 835 if getMissionaryRate() > 0) with a non existent Missionary Player?
    Strange thing. :dunno:
    All I can say, is that if I add this condition:
    Code:
    if gc.getPlayer(pLoopCity.getMissionaryPlayer()) != PlayerTypes.NO_PLAYER):
    there will no be any python exception.
    Moreover, I've face similar cases where Colonists were inside city without any profession (which seems odd but happens during rebellion and only during rebellion).
    Did something happen to one native village and/or one European player missioning in a native village in your game?
    I'd simply like to understand what is really happening... :think:
     
  17. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    6,035
    Gender:
    Male
    Location:
    Stuttgart, Germany
    It might related to the fact that Missions of a European Player get destroyed, when a War between the European Player and the Native Player starts.
    Also of course, during Wars some Native Villages get destroyed.

    Edit:
    Did you upload the corrected version to SVN ?
     
  18. Robert Surcouf

    Robert Surcouf Civ4Col Modder

    Joined:
    Feb 21, 2011
    Messages:
    665
    Location:
    France
    No sorry. I'm fixing the file but it seems more tricky than I thought.
    I'll do this ASAP

    Edit: It is done. I've updated the SVN!
    The bug was actually due to War (Missionaries are expelled)
     
  19. raystuttgart

    raystuttgart Civ4Col Modder

    Joined:
    Jan 24, 2011
    Messages:
    6,035
    Gender:
    Male
    Location:
    Stuttgart, Germany
    Ah ok. :thumbsup:
     
  20. Schmiddie

    Schmiddie Emperor

    Joined:
    Feb 27, 2012
    Messages:
    1,462
    Location:
    Germany
    We have a sound bug...but I have currently no idea how to solve it...

    this is only an excerpt...there are more messages that sounds do not work...

     

    Attached Files:

Share This Page