Dirxess Posted November 1, 2015 Posted November 1, 2015 The ducks have disappeared from my park! Actually, they have never been there (I think) but just noticed it. The scenario was made in the scenario editor (in OpenRCT2), I added some custom scenery, but for the rest, I can not see anything strange about my park, and there is quite some water in my park. Does anyone know how this could have happened? And mostly, how I bring them back?
RuneLaenen Posted November 1, 2015 Posted November 1, 2015 Ducks should be working just fine; Maybe you just haven't noticed them, or they may be still waiting for the summer? :p I'll take a look in the code to see what the requirements are for ducks :p
RuneLaenen Posted November 1, 2015 Posted November 1, 2015 https://github.com/OpenRCT2/OpenRCT2/blob/d1745c0738ad17b77adeda3c433450197bd24c9d/src/scenario.c#L588if (month <= MONTH_APRIL && (sint32)water_type != -1 && water_type->var_0E & 1) {So... It has to be april or earlier (so March and April, since Feb and Jan don't exist ingame), there has to be water on the map and... I'm not sure what var_0E means (it checks if var_0E is 1, but it doesn't get used anywhere in the decompiled code)
Dirxess Posted November 1, 2015 Author Posted November 1, 2015 Nice how you can search the code like that. I did notice some ducks now, really strange... But only in a small pool and not in my big lake. Still strange. I know you just cited the code, but could it have something to do with the scenery? (the small pool they DID appear in, is one of the only bodies of water without scenery). I'm happy the ducks are not completely avoiding my park. :P Anyway, thanks! :)
imlegos Posted November 2, 2015 Posted November 2, 2015 It actualy looks like ver_0e could have somthing to do with the water type in the scenario, For instance, orange water vs. normal
Broxzier Posted November 2, 2015 Posted November 2, 2015 Could be, but I doubt it though, and since it's not being used anywhere in the decompiled code we can't tell for sure. I don't think the water colours are hardcoded anywhere, they are pallets that are in your objdata folder. You can even have custom pallets in the folder that the game can use.
Recommended Posts