Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
We are currently performing site maintenance, parts of civfanatics are currently offline, but will come back online in the coming days. For more updates please see here.
I've never been a 'hardcore modder' by any means, but I am a programmer in my 9 to 5. I sympathize with both sides of this argument, but I don't think it's an either-or situation. Actually, if Firaxis would just release the .dll SDK Civ 5 would have a pretty nice modding system, with easy to use...
Teach the AI what a navy is and how to use one. It's probably the simplest form of combat in the game, but it's totally non-existent as far as the AI is concerned.
There's some really obvious deficiencies in the AI right now that wouldn't take a miracle to fix. Things like sending an unescorted invasion force across an ocean filled with enemy navy. Declaring war on a civ 2 continents away when you have zero navy to speak of. In fact, there doesn't seem to...
When using a custom hex highlight color for Events.SerialEventHexHighlight() the alpha value does nothing, the color is always (r,g,b,1.0). Setting alpha to 0.0 does work though, so it seems like the game just does (r, g, b, floor(a)) for some strange reason. I take it this is a bug because the...
Yes, you could do that.
For this particular event no, you don't need anything as the event doesn't pass any variables to the function. Some events do though, and you can check this for each event by using Windows Grep to search through the .lua files for instances where Event.[event_name].Add...
First get yourself a handy little tool called Windows Grep it will make finding things in the xml and lua files MUCH easier. Just point it at the Assets folder, set the file type to *.xml and search for whatever you need.
Then check the xml log in
C:\Users\[your_user_name]\Documents\My...
I don't think you'll need to add a new graphic, all the horizontal pipes are the same graphic just positioned differently. It's strange that it's adding the first bend but not the rest of the pipe...
I would try throwing a few print statements into the SocialPolicyPopup.lua to find the...
I've never tried but have a look at the SocialPolicyPopup.lua around line 609. The pipe graphics are determined by the relative locations of prereqs and policies, based on a grid system for each policy branch's panel. In line 609 it steps through all the prereq-policy relationships and compares...
For the longest time I've wanted to put together an Outpost mod for Civ, along the lines of the Mars Now mod by The_J but more rooted in the old Outpost game by Sierra. Until we have access to the dll's this won't be possible, but until then I wanted to make this thread to gauge interest and...
I know what that's like heh. So many mod ideas but hardly any time to work on them... Hopefully someone has the time to pick this up, looked like a great start.
Unique building: Tim Hortons, +2 :c5happy: ? :D
Glad to help :)
If you want to streamline it a bit you could store the EnemyUnitPanel in a local variable, then you only have to do the LookUpControl once:
local eupanel = ContextPtr:LookUpControl("/InGame/WorldView/EnemyUnitPanel")...
Maybe you should try to go about this a bit differently. Instead of creating your own Instance class in your xml file try to make it a plain label, since you won't need to make more than one copy of it anyway.
Then in your lua file you force the game to associate it with the...
I don't think you need to call ContextPtr:BuildInstanceForControl. What's going on here is:
local controlTable = g_MyCombatDataRiverIM:GetInstance();
You ask for a new instance of the UsCombatInfoRiver label. This label is already tied to the Controls.MyCombatResultsStack so it will be added...
I'd love to have something like this but unfortunately it's just not doable right now with the tools we have. With enough work you could probably botch something together, but as Spatzimaus said there are all sorts of problems that could pop up (and probably some we can't predict since we're...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.