Exotic Unit Pack - Mod Collaboration Thread

Did you unzip the archive in the C:\Users\xxx\Documents\My Games\Sid Meier's Civilization 5\MODS folder?

If so, may need to clear the game cache then restart Civ V.
 
Oh, I see what happened. I downloaded the files, but the download got corrupted on my behalf. I redownloaded it, so it should be fine. Although, I'll check that tomorrow. It's getting kinda late for me.
 
OK - will look into it. Was working fine yesterday, I swear.... :crazyeye:

Have got the Camel resource in the game - where the Camel Market produces it and the units consume it. Only problem left is the silly icon on the top panel just doesn't want to appear for some reason.

Also still need to finish the Souk's improving the yields of the CMs.

And assuming I resolve these anytime soon, we'd be finished with V1 and then have to decide what constitutes V2: adding elephant units or finding a way to add Camels to the map instead of or in addition to the buildings.

Was also thinking about the elephants: we could use some kind of "Elephant Training Grounds" to create elephant resources like we do the CMs. I think I can tie it to the normal elephants on the map. more on that later.
 
New version uploaded - try to download it and replace the one that's already there.

Sorry about the new versions, but in this rapid prototype environment we're running this will happen a lot in the next few days. Only way to get it right, I think.
 
Aight, everything seems to work. The camel resource icon did pop up in the top, and gave me a -2, as I used the IGE to add the camel units down. They seem to have loaded up fine in terms of textures and everything, so, yay.
 
So - it's working on yours and not on mine? Ugh..... Think it's time for a reboot.... Then some coffee.....
 
Update - I've fixed the font icon display issue on my side. Odd little bugger that took a couple of hours I didn't have...

I've been researching ways to implement the last remaining issue: how to implement the Souk's ability to increase Camels at Camel Markets.

There is no XML-based way to do this. The closest thing I've found is the way Neuschwanstein adds Gold to Castles. Unfortunately, they way the table is set up is to allow a certain building to increase yields in other buildings is restricted to actual game-predefined Yields, e.g. food, production, gold, science, culture, and faith.

Using XML, it is also possible to double the amount of luxuries in a city, but not resources unfortunately, so this isn't getting us any closer.

The only real alternative is to adopt an LUA-based solution, but those tend to impact compatibility and sometimes make the mod less stable. Basically, at the start of each major player's turn, the code would need to check if the Souk is built, and if so then count the number of CMs and adjust the amount Camel resource count accordingly.

Anyways, the LUA approach listed about is about the only way to implement the capability you've described for the Souk. It's a fairly low-risk approach, but could make the game "possibly slightly" less stable.

Let me know if you'd prefer to use XML to perhaps add a few camels with the Souk and possibly beef up some other yields, or go with the LUA approach and accept the risk.


EDIT: removed discussion of Build/Destroy/Rebuild on Camel resource count. The game did not show this behavior in testing, so it is no longer a concern.
 
Last edited:
Slogging through the LUA, going ok with only minor issues popping up (there's always several layers of security that needs to be added to protect the game from CTD's), then I had a thought... :satan:

What if we add an "upgraded" Camel Market that would be buildable after the Souk is built (the Souk is the prerequisite building) - the new Camel Market ("Camel Bazaar?") - would add 2 Camel resources? Could also make this a free building that is automatically awarded to the city that builds the Souk - so they have a head start.

Would get us to the three Camels you wanted, with much safer code. Can even make it relatively inexpensive, so it's not to much of a burden to the player.

Is that OK?
 
Looks like I was trying to use a table to accomplish this that the game no longer uses. So, back to the LUA version... Dang.
 
Back
Top Bottom