View Full Version : Does the "Resource Overflow Bug" Still Exist?
Mithadan Apr 23, 2005, 11:27 AM I'm modding the resources in my personal mod. I recall there being something funny with adding lots of resources (which I want to do). Embryodead (http://forums.civfanatics.com/showpost.php?p=2256473&postcount=272) called it the "resource overflow bug," and it can be fixed only if one has 43 or less resources in total (placed in specific slots, no less).
Two questions:
1. The "Rise and Rule" mod has 52 (or 53, if I miscounted) resources in total. Does this mean the bug was fixed in the last patch? Or is there yet another work-around? (Heck, it don't look like the RaR guys put their strats and bonuses etc. in the specific slots embryodead said one had to, either.)
2. If I do put my bonus resources in slots 1-11 and 33-43, and strats in slots 12-32 (as per embryodead's workaround), will this mean my bonus resources in slots 1-11 will appear more frequently on a randomly generated map than my strats (like horses and iron)?
If there are more threads on this topic, please help me find them. Googling the site sucks.
cheesecurds Apr 23, 2005, 04:06 PM The answer for question 2 is no. bonus resources has a set appearance ratio and the strat. resources have the ratio you set. the order does not matter
Mithadan Apr 24, 2005, 06:13 AM The answer for question 2 is no. bonus resources has a set appearance ratio and the strat. resources have the ratio you set. the order does not matterThat's good to know. Isn't there something else wonky with the order the strats (or luxuries?) appear in the city screen, too? I recall hearing something about that, but I don't remember what.
Mr. Do Apr 24, 2005, 12:09 PM I asked this question myself in the WH graphics mod, wanting to know i adding one more resource would cause a problem. I was told there was no problem with adding extras though. The answers didn't exactly fill me with confidence though, and I've not had time to play a game through yet to see if the extra resource I added shows up noremally.
Willem Apr 25, 2005, 12:02 PM That's good to know. Isn't there something else wonky with the order the strats (or luxuries?) appear in the city screen, too? I recall hearing something about that, but I don't remember what.
As long as you have Conquests, any bugs that used to exist with resources are now gone. Ther only problem area left is adding Luxury icons to your city view. I believe the new icons have to appear in the same order that you have them in the editor. This applies to the little graphic in Colonies as well. I haven't really sat down to figure out the system so I'm just guessing here, but I do get some icon graphics that aren't quite right. Other than that though, everything is working fine.
Mithadan Apr 25, 2005, 02:12 PM Ahah! So they did fix it for Conquests, then. Good to know, thanks! I think I can handle a little luxury wonkiness, at worst. ;)
Willem Apr 25, 2005, 03:19 PM Ahah! So they did fix it for Conquests, then. Good to know, thanks! I think I can handle a little luxury wonkiness, at worst. ;)
The Luxury wonkiness can be fixed though. It only affects how the icons appear in your city view, and you'll just have to shift some of the graphics in luxuries.pcx around from time to time. A bit of a hassle but it's doable.
Mithadan Apr 25, 2005, 03:37 PM Oh, even better then. What's this thing about "the little graphic in Colonies," though?
Bungus Apr 25, 2005, 03:58 PM I'm not quite sure I understand whats your saying about luxory icons. If I add a lux icon in the resources.pcx and in the editor, it won't appear in the city view?
Willem Apr 25, 2005, 10:27 PM I'm not quite sure I understand whats your saying about luxory icons. If I add a lux icon in the resources.pcx and in the editor, it won't appear in the city view?
There's a special file for the icons that appear in the city view and in the little box on colonies that show the picture of the luxury resource. It's called Luxuries.pcx and I believe it's found in the Art/City Screen folder. I don't have the game handy to check that right now. Anyway, you have to add graphics to that file for any new Luxuries you add to the game or else they won't show up in the city view or your colonies. And they have to be in a certain order or they won't come up right. You might have a Jade icon showing when it's supposed to be a Marble for example. To fix it, you just have to fiddle with the file and copy/paste until it comes out right.
Zurai Apr 26, 2005, 03:46 AM As long as you have Conquests, any bugs that used to exist with resources are now gone. Ther only problem area left is adding Luxury icons to your city view. Other than that though, everything is working fine.
This is not true. In testing my Arcane Imperium mod (which is on the far back burner currently), I encountered some pretty odd resource behavior which I eventually tracked down to having too many resources. Since I didn't start AI until after I got Conquests, it follows that Conquests did not fix this particular bug.
Mithadan Apr 26, 2005, 04:08 AM Sh*t! How many resources did you try to put in, Zurai? RaR's got something like 52, apparently bug-free. I'd like to put in something like 60 or 70.
Willem Apr 26, 2005, 11:03 AM Sh*t! How many resources did you try to put in, Zurai? RaR's got something like 52, apparently bug-free. I'd like to put in something like 60 or 70.
There is a limit to how many resources you can put in. There's only so many squares in the game that can be used for them, and the more you add the more your bonus resources will start to disappear. When you add a resource to the game, you're actually just replacing a bonus resource somewhere. If you add to many strategic/luxury ones, you won't even get the full amount as selected in the editor, with no bonus resources at all.
It's possible there might be bugs involved with having to many. When I realized what was happening, I cut back on adding more. Somewhere along the way I found a balance, though I don't know right now how many I have in the game. Quite a few though, I'm guessing around 50. I'd say 60-70 is to many.
Bungus Apr 28, 2005, 12:29 AM On the topic of resources, whats the deal with resource shadows? I have a resource_shadows.pcx right next to my resources.pcx, but the shadows don't show up in game
Willem Apr 28, 2005, 11:05 AM It's strictly a cosmetic thing that you barely notice. It's supposed to give the icon a little more of a depth appearance, but the effect is negligible.
Zurai Apr 29, 2005, 04:40 AM I had something like 68 resources when I noticed the bugs (the big bug that I remember was a phantom resource showing up in a brand new city's strategic resources box - but the resource wasn't even a strategic resource, and the city wasn't on the correct terrain for the resource to be in its square). I cut the resources down to 40 or 50 and havn't noticed any wonkiness since then.
tjedge1 Apr 29, 2005, 06:58 AM The Mystara mod had issues with less than 50 resources when I began testing. I now have less than 40, but that will only be for the random version of the game. Strar and Lux resources ar only limited to the cosmetics of the games interface, but bonus can be added to your hearts content. I'll be readding all the resources for a scenario creating version of the game.
Some of the problems I had were the fact that some resources weren't appearing at all and then several luxury resources would cluster together with like 3 or 4 within a space of eachother. After removing several resources, the game functioned normally. Conquests didn't fix anything about the "Resource Overflow Bug"
Willem Apr 29, 2005, 11:29 AM I had something like 68 resources when I noticed the bugs (the big bug that I remember was a phantom resource showing up in a brand new city's strategic resources box - but the resource wasn't even a strategic resource, and the city wasn't on the correct terrain for the resource to be in its square). I cut the resources down to 40 or 50 and havn't noticed any wonkiness since then.
That bug happens even with the default game, it's not because of the number of resources. It's been reported by a number of people, not just resource obsessed modders.The problem occurs when the city isn't connected to your Palace. Once you build a road, it will show up as the proper resource.It's just a bug in the game itself, it has nothing to do with what you've done.
Mithadan Apr 30, 2005, 07:11 AM Again, guys, thanks for all the help and clarification (keep it coming, too, if there's more).
All in all, though, it sucks for me and my zillion resources. Damn!
mrtn Apr 30, 2005, 08:50 AM On the topic of resources, whats the deal with resource shadows? I have a resource_shadows.pcx right next to my resources.pcx, but the shadows don't show up in game
They don't show up in the editor, but they do show up in the game.
Mithadan Mar 10, 2008, 11:18 AM I'm bumping my own thread (surely that's allowed? ;))
I have noticed that there is no tutorial on how to add resources without encountering the resource bug.
Would someone who knows what they're doing be willing to write one up for the tutorial forum? I, for one, would be very grateful.
WildWeazel Mar 10, 2008, 12:59 PM I think embryodead is the only one who really understands this thing. The bottom line is that you can't have more than 32 strategic and luxury resources without running into problems.
Civinator Mar 10, 2008, 03:01 PM Most of the answers you are looking for should be in the posts of this thread:
http://forums.civfanatics.com/showthread.php?t=200402&page=3
Mithadan Mar 10, 2008, 05:34 PM Most of the answers you are looking for should be in the posts of this thread:
http://forums.civfanatics.com/showthread.php?t=200402&page=3Thanks! I don't know why I missed that thread. 'Course it would be nice to have it all wrapped up in one nice tutorial. Well, if I figure it out I'll make "my own" tutorial for everybody. Nobody expect much, though, because (if you haven't already noticed) I've been thinking about resource modding but doing nothing about it since 2005! :lol:
|
|