Well, i was playing a city and Built an N@B75 WaterPlant, once i erased it, it wouldnt go away from city budget.
I Modified it so the monthly cost looks more realistic, it didnt worked out very well, and it costs about $68.000 a month.
PD:A little help in modifying it would be appreciated aswell.
Thanks
NOB's waterplant includes two main treatment stations, 6 pipeline lots and one mini treatment station.
Out of these, only the last one, N@B75 mini, is suffering from the immortal lot syndrome (the building is exactly 48 m deep, placed on a 3×3 lot), which would be the reason for you not being able to delete it.
However, that one doesn't have a monthly cost of 68,000 § ... it's only 50 §.
Actually none of his lots cost that much... the two larger treatment plants cost 350 § and the pipes cost nothing.
What exactly does it say in the budget panel?
I only built the large Water Plant, i modified the budget cost and thats why its so high, 68.000, though i didnt mean to put it that high
PD: I set the Budget Item: Cost at 5000 using the Float32 option.
Quote from: gabrielbyrnei on February 26, 2009, 08:47:03 AM
PD: I set the Budget Item: Cost at 5000 using the Float32 option.
That must be the culprit... never change the data type of existing properties. $%Grinno$%
That will certainly screw up in the game, as the game expects the data read to be of a certain type.
The
Budget Item: Cost must be
Sint64.
what about water produced? what data type should it be ?
Quote from: gabrielbyrnei on February 26, 2009, 09:30:05 AM
what about water produced? what data type should it be ?
Water Produced is read by the game as
UInt32. ;)
Quote from: RippleJet on February 26, 2009, 08:37:26 AM
Out of these, only the last one, N@B75 mini, is suffering from the immortal lot syndrome (the building is exactly 48 m deep, placed on a 3×3 lot), which would be the reason for you not being able to delete it.
That's why I couldn't buldoze the SOB. I remember building one on my Shosaloza and never been able to get rid of the bastard :angrymore:
even modifying the pump to a lower monthly cost didnt work. I still get charged 68.000 a month for it.
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg183.imageshack.us%2Fimg183%2F9412%2Fhelp.th.jpg&hash=c58f4af57a811f592b4909c015736a2d7dd80b36) (http://img183.imageshack.us/my.php?image=help.jpg)
Modifying the monthly cost won't change the monthly cost for those already plopped in the game, so I assume you already bulldozed and replopped it before taking this picture?
If that is the case, please also make sure you do not have more than one version of your modded waterplant files in your plugins (sub)folders.
Or is this still the one that you couldn't bulldoze?
In that case nothing you modifiy in the exemplar will change it, as it's certainly already plopped.
searched through all my plugins folder, there are no duplicates
And yes, i bulldozed it and rebuilt it and bulldozed it again, it just doesent go away from my budget
Quote from: gabrielbyrnei on February 26, 2009, 10:47:09 AM
And yes, i bulldozed it and rebuilt it and bulldozed it again, it just doesent go away from my budget
:-\
I'm not sure how the monthly cost was saved if the data type was not correct... and thus I don't know if there even is a solution to it...
One option would of course be to modify it specifically for this city and give it a monthly cost of -68,000.
That would at least reset the monthly cost in the budget...
and how can i do that? making a special -68.000 ?
-68000 in SInt64 would be FFFFFFFFFFFEB010
You can use Microsoft's calculator (in advanced mode) for this.
Just enter -68000 <enter> and press F5 (which takes you to HEX mode).
QWord = UInt64 / SInt64
DWord = Uint32 / SInt32
Press F6 to get back into decimal mode.
didnt have a clue i had to convert normal number like 1000 to Sint64. Maybe thats why my water pumps display such crazy numbers, as i simply typed in 400000 and then apply
:D ::) $%Grinno$%
HEX 0x00400000 = DEC 4,194,304
Hwn i convert -68000 into Sint64 i get FFFFFFFFFFFF98000
Quote from: gabrielbyrnei on February 26, 2009, 12:11:09 PM
Hwn i convert -68000 into Sint64 i get FFFFFFFFFFFF98000
$%Grinno$%
Try again! ::)
FFFFFFFFFFFFFFFFFEF660
but on an earlier post you said
-68000 in SInt64 would be FFFFFFFFFFFEB010
Ehhh... and I wasn't even drunk... ()what() %confuso
FFFFFFFFFFFEB010 is the same as -86,000
FFFFFFFFFFFEF660 is the same as -68,000
I think I'm gonna hide away for a while... :D
()lurker()
converting CE4 (3300) and then pressing apply under Unit32 shows something like 0x00000000 is that correct?
Type in 0x00000CE4 and then hit apply ;)
Managed to convert Water Produced and Budget Cost for my water supply. Only issue now is that 68.000 on my budget
Quote from: gabrielbyrnei on February 26, 2009, 01:53:28 PM
Only issue now is that 68.000 on my budget
I don't think we'll be able to get that away, since it's saved in the city's saved game file.
Other than by plopping another water pump having an equally large negative monthly cost...
a little tutorial on how to get that -68000 working would be great
Thanks
Quote from: RippleJet on February 26, 2009, 01:20:17 PM
FFFFFFFFFFFEF660 is the same as -68,000
Thus, enter
0xFFFFFFFFFFFEF660 for the
Budget Item: Cost ;)
would you mind giving it a try? Because its certainly not working for me.
This is the folder where the water plant is.
http://rapidshare.de/files/45667878/NOB_WaterSystem.7z.html
Well, you've given both plants a monthly cost of 0xFFFFFFFEFFFEF660, which is the same as -4,295,035,296 ::)
Correct that E in the middle to F... :P
i cant seem to change that E to F, when i click on apply it changes back to E
if i cant correct this thing i kinda lost all of the progress i made on the game region.
Now besides that 68.000 on my budget, on every other city i had this waterplant the budget starts off at 700 then climbs up to 7000, getting bigger every month.
Quote from: gabrielbyrnei on February 26, 2009, 04:30:37 PM
i cant seem to change that E to F, when i click on apply it changes back to E
That is strange indeed. I do get the same result in Reader as well.
A way to solve it seems to be to enter 0xFFFEF660 (as if the type would be SInt32) in the "Values as text" field,
then click Apply to the right of that field, and then Apply on the bottom.
Quote from: gabrielbyrnei on February 27, 2009, 08:01:07 AM
Now besides that 68.000 on my budget, on every other city i had this waterplant the budget starts off at 700 then climbs up to 7000, getting bigger every month.
That's a bug called the phantom funding sliders bug.
It occurs whenever you change the monthly cost of a civic building without first bulldozing all existing such buildings.
I think you may consider the cities you're playing in at the moment as being test grounds for your first steps in modding.
Everything you're learning now will be quite valuable whenever you want to mod something to be the final version. ;)
yeah, already started a new region, i think im just gonna delete that waterplant pack from my plugins.
How can i mod maxis water treatment plant so it has larger capacity ?
Quote from: gabrielbyrnei on February 27, 2009, 09:33:28 AM
How can i mod maxis water treatment plant so it has larger capacity ?
Edit the file I attached to an earlier post and place it in your plugins folder. ;)
You need to change the following three properties:
- Pollution at center
- Pollution radii
- Pollution at outer edge of circle
All those properties have four "reps", one each for air, water, garbage and radiation.
In other words, the second rep is for water pollution.
As you can see, the water pollution values are 0xFFFFFED4 and 0xFFFFFF06, meaning you have -300 at the center and -250 at the edge.
The radius is 48 tiles.
For SInt32 (as well as UInt32 and UInt8) values you can actually enter decimal values (even negative ones for SInt32) directly in Reader, and they will automatically convert into corresponding hex values. ;)
sounds complex, i better just leave it as it is or ill get into trouble again hehe.
Where do you get all of the maxis standard buildings?
So i dont have to bother you each time. Now i want to mod the gran rail station.
Quote from: gabrielbyrnei on February 27, 2009, 11:55:39 AM
Where do you get all of the maxis standard buildings?
So i dont have to bother you each time. Now i want to mod the gran rail station.
I decided to post a separate tutorial on that subject... ::)
How to extract a building from SimCity_1.dat (http://sc4devotion.com/forums/index.php?topic=7095.0)
didnt want to create a separate topic for this so...
I heard around the forum about doubled regional workforce that leaves buildings with that typical "Workers: None".
Is there a practical in-game solution in the meantime we wait for CAM 2.0 ?
Also, using the plugin Z, its very hard to avoid getting eternal commuters since now sims can travel longer distances, so even though you build city connection far from each other, sims will still be able to get to them, creating eternal commuters.
The only solution i got in my mind is making 3 city connections only, 1 on them residential and the other 2 cities purely job cities.
Its annoying and very unrealistic, making only groups of 3 cities connected to each other but separated from the world :P
Thanks
Quote from: gabrielbyrnei on March 02, 2009, 05:52:27 AM
I heard around the forum about doubled regional workforce that leaves buildings with that typical "Workers: None".
Is there a practical in-game solution in the meantime we wait for CAM 2.0 ?
Set aside one (or a few) purely industrial cities somewhere on the outskirts of your region.
Those industries will probably grow, but not get employers.
However, they will reduce the need for jobs in your downtown area. ;)
Quote from: gabrielbyrnei on March 02, 2009, 05:52:27 AM
Also, using the plugin Z, its very hard to avoid getting eternal commuters since now sims can travel longer distances, so even though you build city connection far from each other, sims will still be able to get to them, creating eternal commuters.
The only solution i got in my mind is making 3 city connections only, 1 on them residential and the other 2 cities purely job cities.
Its annoying and very unrealistic, making only groups of 3 cities connected to each other but separated from the world :P
That has been feared and experienced, but I'll leave it to
z to give you a reply to that. ;)