Ingame Editor

Hello DonQuiche, thank for this awesome mod.

I have a problem with IGE : when I edit a tile to have some Marble/Gold/Silver for exemple, my city don't recognize it. It do the same thing if I add a Natural Wonder. And the game don't say something like "Natural Wonder discovered" in a pop-up window. I don't know if I do something wrong or if it's a bug.

But it still a very very good mod, and thank you again for it :3

P.S.: Sorry for my english, I'm French :P
 
@Kinnori
Hello and welcome on CF!

Regarding the resource bug, this only happens when you add it on the very city tile (can you confirm?). However if you add the resource to a neighbor tile (but still owned by the city) everything works correctly. Unfortunately this cannot be fixed: the fix for this bug causes a crash when applied to the city tile.

Regarding the natural wonder discovery, you need to first unexplore the tile where you're going to put the natural wonder, put it, then explore it again. This does not always work, though, for example I think it does not work on tiles visible by a city or an unit. I do not remember why I did not automate this step, probably because fog management is so unstable and full of loopholes from the lua side.
 
Oh, I see. Yes, I think it's that, with another tile it works well.

Thank you for your quick answer :)

Edit : Hey, I found another bug. When I use IGE to add me an ideology, the game told me that I can pick a free policy. But the game told me that i need 550 (for exemple) culture to pick it. And I can't continue to play, beacause the game absolutely want me to pick a policy x)
 
Is there an api function to set the building free?

I know there is a function to check if the building is free but not setting it.
 
Is there an api function to set the building free?
No. It was was left off the standard Lua City object.

Yes. If you're using a modded DLL (eg mine) that's added it back on.
 
V38 has been released.

Compatibility:
* IGE is now resilient to errors thrown by civ5 when a mod with invalid player colors is loaded.



@CoestarTurkish
As Nutty said, translating a mod is easy and anyone can do it. However I personally do not speak Turkish, so it's up to you.
 
Unfortunately, whatever I do with the position of the IGE label, it will always cause trouble for someone : the space on the left is limited under low resolutions and may be filled up by other mods, and there are mods who are already on the left of clocks.
So I suggest you rather customize it for yourself, it's really easy... Civ5 will need to be restarted in order for the change to take effet.
Given the outstanding job you've done with your mod and at isolating it in an overlay :goodjob:, why not go the extra tiny fraction of a mile to fix this ? :( There are several easy solutions :D :
  • Add a link in the additional info dropdown popup, the game even has a built in mechanism for this (of which I am sure you are well aware)
    Spoiler :
    LuaEvents.AdditionalInformationDropdownGatherEntries.Add(
    function( additionalEntries )
    table.insert( additionalEntries, { text="[ICON_CAPITAL]IGE[ICON_CAPITAL]", call=xxx } )
    end
    );
  • Right click the label, add X and Y coordinates in the option menu - then use SetOffsetXY() to change the position without need to reload the game
  • Right click the label, add a hide option (this assumes there is a link somewhere else, such as the additional info dropdown, to bring it back)
    ...
Cheers
 
@bc1
Well, well, well...
1) Because I am no longer active. I am barely maintaining IGE and already went to excessive extents for that.
2) Because it concerns few people and manually editing the XML file is not such a big deal.
3) The diplo dropdown used to cause compatibility problems and would still cause them with outdated mods. Besides this menu does not support the right-click so I would need to move the options somewhere else while the IGE window is already so crowded. Finally on some computers the user must be able to open the options without opening IGE because the autosave makes the game crash.
4) Imo this only leaves option 2: in-game customization. If someone wants to do it, IGE is open-source and any help is welcome.
 
Thank you bc1. Unfortunately I cannot accept it as it is.
  • I do not understand the purpose of what you're trying to achieve. What's the point of putting "IGE" between the "help" and "menu" buttons? It may help some users, the ones bothered by long localized names, but not the ones bothered by conflicts of mods.
  • It does not work properly for me: after the move the IGE label is no longer visible (no error, your message is in the log, the help width is enlarged, it's just that "IGE" is not visible)
  • Even if it was working properly, the end result would be quite unpleasant: aesthetically the IGE label probably looks like a misfit in this place and the fact that you change the UI on the second turn only is clumsy and the player has no idea of what causes it.
  • If you're trying to achieve something tailored for your mod, I suggest you just add a specific hack in IGE_WIndow by checking whether your mod is present and change the label location when it is the case.
 
Is there a way to change your civ to another civ which didnt loaded in the current map(scenario) before even building your first city with IGE?
 
I cannot get the IGE button to show up so I can initiate the IGE in the game. As I understand it, it should be in the upper right corner to the left of the date/# of moves. It is nowhere to be found.

I have run the IGE successfully with CIV5 in the past and had no trouble with it, but I can't get it to work now.

Here are the things I have tried.

  1. I'm running Win7, with Civ5 Steam version.
  2. I have no other mods.
  3. I have only the DLC that comes with the Steam game - something about Mongols. I have never run it.
  4. I did verify the Steam files, no corrupted files were found.
  5. I did empty the cache before running Civ5 - several times.
  6. I did not hit "back" when running the mod.
  7. I have tried it with a save game (saved at game inception) and with a brand new game, neither works
  8. Civ5 is fully up to date (via Steam)
  9. I have the latest version of the IGE from the link on this thread and have never had any other on this computer
  10. The mod DOES show up in the "mods" list (perhaps obviously)
  11. There was only one saved game - I ran CIV5 on this computer for the first time yesterday, so there really hasn't been time to develop save-file bloat.

Hopefully I haven't left anything pertinent out. I'm at my wits end - I just can't see the IGE in-game - is there a way to open it with a control or function key?
 
Back
Top Bottom