Recent content by chriscisco

  1. C

    What exactly does the cache folder do?

    Hey, so what does the cache folder do exactly, because it was crashing my game as seen here: Game crashing Cache On a whim I deleted the cache but I never would have guessed it would have solved the issue. Edit: It didn't solve that issue, for some reason deleting the cache loaded an old...
  2. C

    Help finding a crash in a mod when launching a custom game

    Hey, I am working on a mod, but for some reason the game is crashing when I try and launch the scenario today. There are no crash logs or errors in any the game logs that I can find. The game just stops responding after clicking the start button. I believe it has something to do with the...
  3. C

    UnitPromotions.TechPrereq how does it work?

    I am giving units a promotion if the player has a tech, I need to give it to all current units and future units. which is why I have two events hooked in. http://pastebin.com/zbDDs7RK Events.TechAcquired Events.SerialEventUnitCreated but I have actually got it working now, I can add a...
  4. C

    UnitPromotions.TechPrereq how does it work?

    Alright, thanks actually CanResearch returns false, if the tech is already researched, and since the tech is available at the start of each custom scenario I know it can be researched. I think I will switch to the other method, just in case I use this code were this would not be true.
  5. C

    UnitPromotions.TechPrereq how does it work?

    Yes I figured that, which one would be faster code wise? Considering both will work. XML/SQL will not work for this apparently, see early posts.
  6. C

    UnitPromotions.TechPrereq how does it work?

    hmm... double post not sure how that happened.
  7. C

    UnitPromotions.TechPrereq how does it work?

    Thanks, for the second part, this code fragment works, would it be faster or slower?
  8. C

    UnitPromotions.TechPrereq how does it work?

    Alright, so with lua this is what I have so far the code, I have a couple of questions however. http://pastebin.com/h7JMwtjp How exactly does Unit:Promote() work, and how can I check if a player has a tech already, could I use Player:CanResearch(), if so how do I get the tech id from...
  9. C

    UnitPromotions.TechPrereq how does it work?

    Hey, I was looking for a way to make a technology give a promotion, much like optics gives PROMOTION_EMBARKATION. This is what I did but when I research the technology my units do not receive the promotion. It also does not show up under the technology in the technology tree. Any help...
  10. C

    [SOLVED]Buildings Deleted that I did not Delete.

    I will remember to attach the mod in the future. In this case I actually solved the issue earlier this morning. I was deleting buildings with FreeStartEra >= ERA_MODERN, so I changed the code to NULL the FreeStartEra instead.
  11. C

    [SOLVED]Buildings Deleted that I did not Delete.

    Hey, I am deleting a bunch of buildings for a mod I am working on, however I am left with a few database errors I cannot figure out. I cannot figure them out because they are all related to buildings that I have not deleted the buildings throwing errors but it says they do not exist. I...
  12. C

    [SOLVED]Adding a new Civilization DoM Audio

    Hey, I am adding a new civilization, which works fine, with one exception. I leave the Dawn Of Man Audio tag like this <DawnOfManAudio/> and it defaults to playing the Civ5 American Civil War voice intro. Any idea why this is happening, as far as I know it should not just play anything as...
  13. C

    WWI Scenario

    What exactly is the issue? I have never had a crash placing pre-built city states, I just pre placed a random one on each spot on your map and it work fine.
Back
Top Bottom