SC4 Devotion Forum Archives

SimCity 4 Devotion Custom Content Showcase => BSC Place => Team Custom Content Projects => CAM - Colossus Addon Mod => Topic started by: RippleJet on August 20, 2007, 04:30:16 PM

Title: CAMeLot Counter and Occupant Groups
Post by: RippleJet on August 20, 2007, 04:30:16 PM
This is the support thread for the CAMeLot Counter (http://sc4devotion.com/csxlex/lex_filedesc.php?lotGET=1073), but it also contains complete information about all those occupant groups numbers that are available and required to be included in every building on a CAMeLot. Otherwise, that building can not be counted by the CAMeLot Counters.






The CAMeLot Counter

There are three versions of the CAMeLot Counter:


(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg204.imageshack.us%2Fimg204%2F9969%2Fcamelotcounterroundabouke3.th.jpg&hash=2f5a88e7eba017889ce6081a2f4c06894bdceb20) (http://img204.imageshack.us/img204/9969/camelotcounterroundabouke3.jpg)The Colossus Roundabout Statue (2×2)
Rewarded when the first commercial CAMeLot has grown.

Park Effect 75 over 27 tiles
Landmark Effect 100 over 48 tiles
Mayor Rating 3 over 440 tiles
Air Pollution -1 over 4 tiles
 
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg161.imageshack.us%2Fimg161%2F166%2Fcamelotcountersmallparkki5.th.jpg&hash=c0b9d2338740c0101c426215ece573390cee813e) (http://img161.imageshack.us/img161/166/camelotcountersmallparkki5.jpg)The Colossus Small Park (3×3)
Rewarded when the first 10 industrial CAMeLots have grown.

Park Effect 75 over 27 tiles
Landmark Effect 75 over 27 tiles
Mayor Rating 3 over 440 tiles
Air Pollution -30 over 6 tiles
 
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg236.imageshack.us%2Fimg236%2F5245%2Fcamelotcounterparkfq2.th.jpg&hash=61f8c4226d84ac41e7f94aac5871ca962d557a22) (http://img236.imageshack.us/img236/5245/camelotcounterparkfq2.jpg)The Colossus Park (4×4)
Rewarded when the first residential CAMeLot has grown.

Park Effect 100 over 48 tiles
Landmark Effect 75 over 27 tiles
Mayor Rating 3 over 440 tiles
Air Pollution -25 over 4 tiles

Each CAMeLot counter shows the same query window:

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg110.imageshack.us%2Fimg110%2F8881%2Fcamelotcounterquerycm7.jpg&hash=b5e4652d96ac86dc332c8fc66fc91cdfa33c8882)

You can hover query over any part of the query to get further help and information.
The hover query will also tell you when each growth stage can be expected, based on the regional capacities (which are shown to the right, separately for residential, commercial and industrial).






Occupant Groups for CAMeLot buildings

In order for the CAMeLot Counters to be able to count all CAMeLots, each building appearing on a CAMeLot needs to have certain Occupant Groups set.
Each CAMeLot building (except farm houses) is to be given two occupant groups, one ordinary and one as indicated in blue colour below.
Farm houses only get one occupant group.

[tabular type=1]
[row] [head]Occupant Group[/head] [head]CS§ CAMeLots[/head] [/row]
[row] [data]B5C00AA8[/data] [data]All CS§ CAMeLots[/data] [/row]
[row] [data]B5C00AA9[/data] [data]CS§ CAMeLot Stage 9[/data] [/row]
[row] [data]B5C00AAA[/data] [data]CS§ CAMeLot Stage 10[/data] [/row]
[row] [data]B5C00AAB[/data] [data]CS§ CAMeLot Stage 11[/data] [/row]
[row] [data]B5C00AAC[/data] [data]CS§ CAMeLot Stage 12[/data] [/row]
[row] [data]B5C00AAD[/data] [data]CS§ CAMeLot Stage 13[/data] [/row]
[row] [data]B5C00AAE[/data] [data]CS§ CAMeLot Stage 14[/data] [/row]
[row] [data]B5C00AAF[/data] [data]CS§ CAMeLot Stage 15[/data] [/row]
[/tabular]

[tabular type=1]
[row] [head]Occupant Group[/head] [head]CS§§ CAMeLots[/head] [/row]
[row] [data]B5C00AB0[/data] [data]All CS§§ CAMeLots[/data] [/row]
[row] [data]B5C00AB1[/data] [data]CS§§ CAMeLot Stage 9[/data] [/row]
[row] [data]B5C00AB2[/data] [data]CS§§ CAMeLot Stage 10[/data] [/row]
[row] [data]B5C00AB3[/data] [data]CS§§ CAMeLot Stage 11[/data] [/row]
[row] [data]B5C00AB4[/data] [data]CS§§ CAMeLot Stage 12[/data] [/row]
[row] [data]B5C00AB5[/data] [data]CS§§ CAMeLot Stage 13[/data] [/row]
[row] [data]B5C00AB6[/data] [data]CS§§ CAMeLot Stage 14[/data] [/row]
[row] [data]B5C00AB7[/data] [data]CS§§ CAMeLot Stage 15[/data] [/row]
[/tabular]

[tabular type=1]
[row] [head]Occupant Group[/head] [head]CS§§§ CAMeLots[/head] [/row]
[row] [data]B5C00AB8[/data] [data]All CS§§§ CAMeLots[/data] [/row]
[row] [data]B5C00AB9[/data] [data]CS§§§ CAMeLot Stage 9[/data] [/row]
[row] [data]B5C00ABA[/data] [data]CS§§§ CAMeLot Stage 10[/data] [/row]
[row] [data]B5C00ABB[/data] [data]CS§§§ CAMeLot Stage 11[/data] [/row]
[row] [data]B5C00ABC[/data] [data]CS§§§ CAMeLot Stage 12[/data] [/row]
[row] [data]B5C00ABD[/data] [data]CS§§§ CAMeLot Stage 13[/data] [/row]
[row] [data]B5C00ABE[/data] [data]CS§§§ CAMeLot Stage 14[/data] [/row]
[row] [data]B5C00ABF[/data] [data]CS§§§ CAMeLot Stage 15[/data] [/row]
[/tabular]

[tabular type=1]
[row] [head]Occupant Group[/head] [head]CO§§ CAMeLots[/head] [/row]
[row] [data]B5C00AC0[/data] [data]All CO§§ CAMeLots[/data] [/row]
[row] [data]B5C00AC1[/data] [data]CO§§ CAMeLot Stage 9[/data] [/row]
[row] [data]B5C00AC2[/data] [data]CO§§ CAMeLot Stage 10[/data] [/row]
[row] [data]B5C00AC3[/data] [data]CO§§ CAMeLot Stage 11[/data] [/row]
[row] [data]B5C00AC4[/data] [data]CO§§ CAMeLot Stage 12[/data] [/row]
[row] [data]B5C00AC5[/data] [data]CO§§ CAMeLot Stage 13[/data] [/row]
[row] [data]B5C00AC6[/data] [data]CO§§ CAMeLot Stage 14[/data] [/row]
[row] [data]B5C00AC7[/data] [data]CO§§ CAMeLot Stage 15[/data] [/row]
[/tabular]

[tabular type=1]
[row] [head]Occupant Group[/head] [head]CO§§§ CAMeLots[/head] [/row]
[row] [data]B5C00AC8[/data] [data]All CO§§§ CAMeLots[/data] [/row]
[row] [data]B5C00AC9[/data] [data]CO§§§ CAMeLot Stage 9[/data] [/row]
[row] [data]B5C00ACA[/data] [data]CO§§§ CAMeLot Stage 10[/data] [/row]
[row] [data]B5C00ACB[/data] [data]CO§§§ CAMeLot Stage 11[/data] [/row]
[row] [data]B5C00ACC[/data] [data]CO§§§ CAMeLot Stage 12[/data] [/row]
[row] [data]B5C00ACD[/data] [data]CO§§§ CAMeLot Stage 13[/data] [/row]
[row] [data]B5C00ACE[/data] [data]CO§§§ CAMeLot Stage 14[/data] [/row]
[row] [data]B5C00ACF[/data] [data]CO§§§ CAMeLot Stage 15[/data] [/row]
[/tabular]

[tabular type=1]
[row] [head]Occupant Group[/head] [head]R§ CAMeLots[/head] [/row]
[row] [data]B5C00BA8[/data] [data]All R§ CAMeLots[/data] [/row]
[row] [data]B5C00BA9[/data] [data]R§ CAMeLot Stage 9[/data] [/row]
[row] [data]B5C00BAA[/data] [data]R§ CAMeLot Stage 10[/data] [/row]
[row] [data]B5C00BAB[/data] [data]R§ CAMeLot Stage 11[/data] [/row]
[row] [data]B5C00BAC[/data] [data]R§ CAMeLot Stage 12[/data] [/row]
[row] [data]B5C00BAD[/data] [data]R§ CAMeLot Stage 13[/data] [/row]
[row] [data]B5C00BAE[/data] [data]R§ CAMeLot Stage 14[/data] [/row]
[row] [data]B5C00BAF[/data] [data]R§ CAMeLot Stage 15[/data] [/row]
[/tabular]

[tabular type=1]
[row] [head]Occupant Group[/head] [head]R§§ CAMeLots[/head] [/row]
[row] [data]B5C00BB0[/data] [data]All R§§ CAMeLots[/data] [/row]
[row] [data]B5C00BB1[/data] [data]R§§ CAMeLot Stage 9[/data] [/row]
[row] [data]B5C00BB2[/data] [data]R§§ CAMeLot Stage 10[/data] [/row]
[row] [data]B5C00BB3[/data] [data]R§§ CAMeLot Stage 11[/data] [/row]
[row] [data]B5C00BB4[/data] [data]R§§ CAMeLot Stage 12[/data] [/row]
[row] [data]B5C00BB5[/data] [data]R§§ CAMeLot Stage 13[/data] [/row]
[row] [data]B5C00BB6[/data] [data]R§§ CAMeLot Stage 14[/data] [/row]
[row] [data]B5C00BB7[/data] [data]R§§ CAMeLot Stage 15[/data] [/row]
[/tabular]

[tabular type=1]
[row] [head]Occupant Group[/head] [head]R§§§ CAMeLots[/head] [/row]
[row] [data]B5C00BB8[/data] [data]All R§§§ CAMeLots[/data] [/row]
[row] [data]B5C00BB9[/data] [data]R§§§ CAMeLot Stage 9[/data] [/row]
[row] [data]B5C00BBA[/data] [data]R§§§ CAMeLot Stage 10[/data] [/row]
[row] [data]B5C00BBB[/data] [data]R§§§ CAMeLot Stage 11[/data] [/row]
[row] [data]B5C00BBC[/data] [data]R§§§ CAMeLot Stage 12[/data] [/row]
[row] [data]B5C00BBD[/data] [data]R§§§ CAMeLot Stage 13[/data] [/row]
[row] [data]B5C00BBE[/data] [data]R§§§ CAMeLot Stage 14[/data] [/row]
[row] [data]B5C00BBF[/data] [data]R§§§ CAMeLot Stage 15[/data] [/row]
[/tabular]

[tabular type=1]
[row] [head]Occupant Group[/head] [head]IR CAMeLots[/head] [/row]
[row] [data]B5C00C21[/data] [data]Stage 1 Farm[/data] [/row]
[row] [data]B5C00C22[/data] [data]Stage 2 Farm[/data] [/row]
[row] [data]B5C00C23[/data] [data]Stage 3 Farm[/data] [/row]
[row] [data]B5C00C24[/data] [data]Stage 4 Farm[/data] [/row]
[row] [data]B5C00C25[/data] [data]Stage 5 Farm[/data] [/row]
[row] [data]B5C00C26[/data] [data]Stage 6 Farm (Woodland Preserves)[/data] [/row]
[row] [data]B5C00C27[/data] [data]Stage 7 Farm (Historical Landmarks)[/data] [/row]
[/tabular]

[tabular type=1]
[row] [head]Occupant Group[/head] [head]ID CAMeLots[/head] [/row]
[row] [data]B5C00EA8[/data] [data]All ID CAMeLots[/data] [/row]
[row] [data]B5C00EA9[/data] [data]ID CAMeLot Stage 4[/data] [/row]
[row] [data]B5C00EAA[/data] [data]ID CAMeLot Stage 5[/data] [/row]
[row] [data]B5C00EAB[/data] [data]ID CAMeLot Stage 6[/data] [/row]
[row] [data]B5C00EAC[/data] [data]ID CAMeLot Stage 7[/data] [/row]
[row] [data]B5C00EAD[/data] [data]ID CAMeLot Stage 8[/data] [/row]
[row] [data]B5C00EAE[/data] [data]ID CAMeLot Stage 9[/data] [/row]
[row] [data]B5C00EAF[/data] [data]ID CAMeLot Stage 10[/data] [/row]
[/tabular]

[tabular type=1]
[row] [head]Occupant Group[/head] [head]IM CAMeLots[/head] [/row]
[row] [data]B5C00EB0[/data] [data]All IM CAMeLots[/data] [/row]
[row] [data]B5C00EB1[/data] [data]IM CAMeLot Stage 4[/data] [/row]
[row] [data]B5C00EB2[/data] [data]IM CAMeLot Stage 5[/data] [/row]
[row] [data]B5C00EB3[/data] [data]IM CAMeLot Stage 6[/data] [/row]
[row] [data]B5C00EB4[/data] [data]IM CAMeLot Stage 7[/data] [/row]
[row] [data]B5C00EB5[/data] [data]IM CAMeLot Stage 8[/data] [/row]
[row] [data]B5C00EB6[/data] [data]IM CAMeLot Stage 9[/data] [/row]
[row] [data]B5C00EB7[/data] [data]IM CAMeLot Stage 10[/data] [/row]
[/tabular]

[tabular type=1]
[row] [head]Occupant Group[/head] [head]IHT CAMeLots[/head] [/row]
[row] [data]B5C00EB8[/data] [data]All IHT CAMeLots[/data] [/row]
[row] [data]B5C00EB9[/data] [data]IHT CAMeLot Stage 4[/data] [/row]
[row] [data]B5C00EBA[/data] [data]IHT CAMeLot Stage 5[/data] [/row]
[row] [data]B5C00EBB[/data] [data]IHT CAMeLot Stage 6[/data] [/row]
[row] [data]B5C00EBC[/data] [data]IHT CAMeLot Stage 7[/data] [/row]
[row] [data]B5C00EBD[/data] [data]IHT CAMeLot Stage 8[/data] [/row]
[row] [data]B5C00EBE[/data] [data]IHT CAMeLot Stage 9[/data] [/row]
[row] [data]B5C00EBF[/data] [data]IHT CAMeLot Stage 10[/data] [/row]
[/tabular]
Title: Re: CAMeLot Counter and Occupant Groups
Post by: RippleJet on August 21, 2007, 09:14:23 AM
The CAMeLot Counter (http://sc4devotion.com/csxlex/lex_filedesc.php?lotGET=1073) is now available! :thumbsup:
Title: Re: CAMeLot Counter and Occupant Groups
Post by: JoeST on August 21, 2007, 09:17:30 AM
Is there another lot that serves a similar use but for non CAMeLots?

oh, and btw, thankyou very much, this will help me find out when I grow my first stage 14 and 15 lots

Joe
Title: Re: CAMeLot Counter and Occupant Groups
Post by: Kitsune on August 21, 2007, 10:52:02 AM
Can someone please explain the difference between Capacity and Population? I notice my Commercial and Industrial Capacity is close to my Population, but my Residential capacity is more than double the regional population.
Title: Re: CAMeLot Counter and Occupant Groups
Post by: RippleJet on August 21, 2007, 11:16:36 AM
Quote from: star.torturer on August 21, 2007, 09:17:30 AM
Is there another lot that serves a similar use but for non CAMeLots?

Unfortunately not, since every countable building would have to have an appropriate tracked occupant group number set.
In order to achieve that, every single existing stage 1-8 building would have to be modded to include this information.

It was decided to include this for all CAMeLots (in-game ones as well), but it wasn't feasible to require all available buildings to be modded.


Quote from: Kitsune on August 21, 2007, 10:52:02 AM
Can someone please explain the difference between Capacity and Population? I notice my Commercial and Industrial Capacity is close to my Population, but my Residential capacity is more than double the regional population.

The numbers shown when querying an RCI buildings are always capacities, never the actual population or workers.
E.g. a residential building showing 127/154 is telling you that the maximum capacity is 154, but because of the desirability factors, the actual capacity is only 127.

There is no way of telling exactly how many people live in that building. You can get the workforce of that building by route querying it. However, the workforce is only some 40-60% of the population in the building (only about half the population is working). The actual number of workers in a commercial or industrial building is revealed by the route query though, a number that can be anything between 0 and the actual capacity.

The regional residential capacity also includes the number of eternal commuters and commuters from SimNation (other parts of your region than your own cities). The more eternal commuters and commuters from SimNation you've got, the more skewed will your supply/demand simulator be (see the section about eternal commuters in the CAM manual). Since the number of commuters in your region never decreases, there is no way to reduce a "virtual" residential capacity seen in your region.

For more detail about your city's population, capacities, demand and CAPs, I can recommend the Census Repository Facility, version 2 (http://www.simtropolis.com/forum/messageview.cfm?catid=41&threadid=84816&enterthread=y) (which will soon be available on the LEX as well).
Title: Re: CAMeLot Counter and Occupant Groups
Post by: SlimShady on August 21, 2007, 11:34:35 AM
Census Repository Facility, version 2 was the first building I downloaded when I started visiting these sites. I was wondering if they are able to work together as I was looking forward to the Cam Counter's arrival. You rock RJ!!! ;D
Title: Re: CAMeLot Counter and Occupant Groups
Post by: Kitsune on August 23, 2007, 04:55:29 PM
The building to the left of the counter identifies itself as "CO$$$ Stage 14 Tragicomicus Bank One"

However, as this image shows, it does not appear in the counter, so I think its a bug of eithier the counter or the building, so I'm posting it here....

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fwww.glidingeagle.com%2Fimages%2Fsimcity4.JPG&hash=1ef2ec0554f2b1044dff63d125178c499f2fd74a)

Its my first stage 14 too, hence why I noticed it :)
Title: Re: CAMeLot Counter and Occupant Groups
Post by: Swamper77 on August 23, 2007, 06:44:01 PM
The counter will only pick up the buildings after the counter lot has been placed. Any that grew before it will not be counted.

-Swamper77
Title: Re: CAMeLot Counter and Occupant Groups
Post by: RippleJet on August 23, 2007, 09:58:20 PM
Quote from: Swamper77 on August 23, 2007, 06:44:01 PM
The counter will only pick up the buildings after the counter lot has been placed. Any that grew before it will not be counted.

If the building has the correct Occupant Groups set, it will be counted, regardless of whether the CAMeLot Counter has been built or not.
In other words, that bank does not have the correct OG. Thanks for pointing that out, Kitsune! :thumbsup:
Title: Re: CAMeLot Counter and Occupant Groups
Post by: RippleJet on August 24, 2007, 04:22:32 AM
The Tragicomicus Bank One had an Occupant Group telling it was a stage 13 building.

BarbyW has corrected that to be stage 14, and provided an Update CO§§§ 13/14 (http://sc4devotion.com/csxlex/lex_filedesc.php?lotGET=1082) for those who have previously downloaded the CAM Commercial Offices BSC (http://sc4devotion.com/csxlex/lex_filedesc.php?lotGET=950) starter pack.

Thank you, Barby! &apls




NOTE

For those who have already had this building growing with Occupant Group "CAMeLot CO§§§ stage 13" will not see the building get upgraded in the CAMeLot Counter.
Occupant Groups are counted at the moment when the building grows, and won't get updated if the occupant group is later changed.
I think this is what Swamper77 was referring to. ;)

After updating this building, any future instances of it growing will be correctly counted as a stage 14 CO§§§.
Title: Re: CAMeLot Counter and Occupant Groups
Post by: M4346 on August 24, 2007, 05:13:55 AM
Thank you to both of you!  &apls &apls
Title: Re: CAMeLot Counter and Occupant Groups
Post by: Kitsune on August 24, 2007, 07:54:30 AM
Quote from: RippleJet on August 24, 2007, 04:22:32 AM
For those who have already had this building growing with Occupant Group "CAMeLot CO§§§ stage 13" will not see the building get upgraded in the CAMeLot Counter.
Occupant Groups are counted at the moment when the building grows, and won't get updated if the occupant group is later changed.
I think this is what Swamper77 was referring to. ;)

After updating this building, any future instances of it growing will be correctly counted as a stage 14 CO§§§.

It only lasted for about 10 game years I noticed before it was replaced by my first stage 15 :)
Title: Re: CAMeLot Counter and Occupant Groups
Post by: RippleJet on August 24, 2007, 08:03:04 AM
Quote from: Kitsune on August 24, 2007, 07:54:30 AM
It only lasted for about 10 game years I noticed before it was replaced by my first stage 15 :)

Show us a picture of it in the CAM - Show us your CAM Cities (http://sc4devotion.com/forums/index.php?topic=1915.0) thread :thumbsup:
Title: Re: CAMeLot Counter and Occupant Groups
Post by: rickmastfan67 on August 24, 2007, 09:18:39 PM
Quote from: RippleJet on August 24, 2007, 04:22:32 AM
The Tragicomicus Bank One had an Occupant Group telling it was a stage 13 building.

BarbyW has corrected that to be stage 14, and provided an Update CO§§§ 13/14 (http://sc4devotion.com/csxlex/lex_filedesc.php?lotGET=1082) for those who have previously downloaded the CAM Commercial Offices BSC (http://sc4devotion.com/csxlex/lex_filedesc.php?lotGET=950) starter pack.

Thank you, Barby! &apls



Is it just me, or did a few zip files get left out of the updated file? Lucky for me, I didn't overwrite the old file with the new one yet.  But 3 of the zip files inside of the zip file CAM CO$$.zip are missing.  Was that by plan, or a mistake?
Title: Re: CAMeLot Counter and Occupant Groups
Post by: BarbyW on August 24, 2007, 10:53:15 PM
I only updated the zip with the stage 13/14 CO$$$ buildings in as that was the one containing the error. None of the other files have been touched.
Title: Re: CAMeLot Counter and Occupant Groups
Post by: rickmastfan67 on August 25, 2007, 04:16:55 AM
Quote from: BarbyW on August 24, 2007, 10:53:15 PM
I only updated the zip with the stage 13/14 CO$$$ buildings in as that was the one containing the error. None of the other files have been touched.

You sure about that?  I'm talking about the files that's are in the "CAM Commercial Offices BSC (http://www.sc4devotion.com/csxlex/lex_filedesc.php?lotGET=950)" pack.  I'm the kind of guy that likes to re-download the original file if it's updated, even if a separate fix was released and is smaller to download.

Now, in the "CAM Commercial Offices BSC" Description of the download, it says there is suppose to be 10 zip files in the download.  Right now, there are only 7 in it.  The zip files from that download that are missing are as following:
All three of those files somehow got left out of the updated CAM CO$$.zip file and the new file size is 1,439KB per the site when the old one that I have is 2,044KB.

Just thought I would let you guys know about this because you never know when a new person might sign up for the LEX and download that file and be missing those three zip files.
Title: Re: CAMeLot Counter and Occupant Groups
Post by: RippleJet on August 25, 2007, 04:19:20 AM
Thanks rickmastfan67! :thumbsup:
Barby will have to take a look at it when she gets back. ;)
Title: Re: CAMeLot Counter and Occupant Groups
Post by: BarbyW on August 25, 2007, 05:00:19 AM
I do apologise as I uploaded the wrong zip. I have uploaded the correct one now. Thansk for being persistent and not taking my word for it. ::)
Title: Re: CAMeLot Counter and Occupant Groups
Post by: JoeST on August 25, 2007, 07:51:32 AM
Would it be possible to add the number of CAMeLots to the hover over query box?? ie when you use the query tool and just hover over the Counters. It would be a nice quirk and would add to the whole CAM experience

Thanks

Joe
Title: Re: CAMeLot Counter and Occupant Groups
Post by: RippleJet on August 25, 2007, 11:09:28 AM
Unfortunately the hover query can only display text and the values of certain properties of the building itself.
It cannot display any LUA tokens (variables) read from the game.
Title: Re: CAMeLot Counter and Occupant Groups
Post by: bixel on August 27, 2007, 12:05:55 PM
I noticed some of the CAM lots Barbyw did seems to have unique query code. I need the query codes for R$, R$$, and R$$$.
Title: Re: CAMeLot Counter and Occupant Groups
Post by: BarbyW on August 27, 2007, 01:07:09 PM
The queries are in the CAM Essentials pack on the LEX. The query refs are:
Residential: 0xca1ca1c4
Commercial: 0xca1ca1c3
Industrial: 0xca1ca1c2
Title: Re: CAMeLot Counter and Occupant Groups
Post by: the7train on August 30, 2007, 11:54:02 AM
How do you know if an occupant group is included in a CAMeLot?  I downloaded some starter packs and am unsure.  Is there a file I can look at to see?  Also, how are the occupant groups added?  The reason I ask is because I have a commercial CAMeLot in my city but cannot build the counter lot (and its already been mentioned that it shouldn't matter if you build the counter after a CAMeLot has been grown).  Thanks!
Title: Re: CAMeLot Counter and Occupant Groups
Post by: BarbyW on August 30, 2007, 12:17:15 PM
the7train: which lot is the one in question as I can check it quickly?
Title: Re: CAMeLot Counter and Occupant Groups
Post by: the7train on August 30, 2007, 12:42:45 PM
Jetersen Focsmann a CO$$$ stage 11

Thanks BarbyW
Title: Re: CAMeLot Counter and Occupant Groups
Post by: RippleJet on August 30, 2007, 12:45:30 PM
First of all, please report any missing Occupant Groups, so that we (BarbyW) can update the corresponding lots on the LEX. ;)

Quote from: the7train on August 30, 2007, 11:54:02 AM
How do you know if an occupant group is included in a CAMeLot?  I downloaded some starter packs and am unsure.  Is there a file I can look at to see?  Also, how are the occupant groups added?

You need to use either iLive's Reader (http://sc4devotion.com/csxlex/lex_filedesc.php?lotGET=656) or SC4Tool (http://kurier.simcityplaza.de/files.php?cat=34).

The guidance below is based on Reader:

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg410.imageshack.us%2Fimg410%2F6882%2Freaderoccupantgroupscampy3.jpg&hash=95d0f6132528b138cde18bbe8f56ab31397308e3) (http://img162.imageshack.us/img162/2914/readeroccupantgroupscamgs4.jpg)

1. Open the file where the building exemplar is (in the case of CAMeLots made by BarbyW, this is in a SC4Lot file. For other uploaders it's normally in a SC4Desc file).
In this example I've opened the file CO$$$15_5x5_OneWorldTradeCenter_f3512a32.SC4Lot (shown in the title bar of the Reader).

2. Select the building exemplar file (orange arrow).
The building exemplar is recognized from the property Exemplar Type, which is set to "Building" (underlined in orange).

3. Double-click on the property OccupantGroups, shown with a red arrow. The Property window will open.

4. The last two values are probably the Occupant Groups for the CAMeLot. In this case 0xB5C00AC8 and 0xB5C00ACF (shown with green arrows).
If any of those are missing click the Add button (encircled in green) and add the missing values. The order of the values is not important.
If any of those values are wrong, you can edit the values directly. To save your changes, click Apply (encircled in blue), and finally save the SC4Lot file itself.
Title: Re: CAMeLot Counter and Occupant Groups
Post by: RippleJet on August 30, 2007, 01:02:29 PM
Quote from: the7train on August 30, 2007, 12:42:45 PM
Jetersen Focsmann a CO$$$ stage 11

The Jetersen Focsmann does seem to have correct Occupant Groups: 0xB5C00AC8, 0xB5C00ACB. ()what()
Have you waited till the end of the month? The conditions for all rewards are checked only once a month (the 28th) by SC4.
Title: Re: CAMeLot Counter and Occupant Groups
Post by: the7train on August 30, 2007, 01:54:30 PM
Before I say anything else, I want to let you know that I did not install the following dependencies of the Counter:
BSC Essentials
BSC MEGA Props D66 Vol02
BSC Prop Pack Cycledogg No 1
BSC Parks - Texture Set
BSC Textures Vol 01
I'm guessing these are for the "looks" of the lots and not functionality so please let me know if I'm wrong.  Forgive me for not mentioning this earlier if thats not the case.

Regarding Jetersen Focsmann, I got it from the starter set in the following link on 8/26: http://sc4devotion.com/csxlex/lex_filedesc.php?lotGET=950

I then downloaded all of the required dependencies (none of the optional dependencies) as specified in the readme.  I am not sure if that means anything as far as what could be wrong.

I will re-run the simulation to ensure I do a full month, but I'm pretty sure I did a full month.  I will also look at the files with the Reader RippleJet has referenced.  I am also going on vacation shortly, so you may not hear from me until next week, but I'll let you know what happens.  I'm sure its something on my end.

However let me ask, what should happen?  I'm guessing I turn on the game, let it run for a month, past the 28th, then a window should pop up with the reward?

Thanks for your prompt responses and help!
Title: Re: CAMeLot Counter and Occupant Groups
Post by: BarbyW on August 30, 2007, 02:01:03 PM
 You really need the BSC Essentials file as that holds the file that does the OG counting. It won't work without that.
Title: Re: CAMeLot Counter and Occupant Groups
Post by: RippleJet on August 30, 2007, 02:05:02 PM
Thanks BarbyW! :)
You also need the BSC Essentials for the query to look right. and without the textures your lot will look strange.
If the two prop packs are missing, then your lots will look empty, but still function without problems.
Title: Re: CAMeLot Counter and Occupant Groups
Post by: the7train on August 30, 2007, 02:23:39 PM
Great thanks guys I'll be sure to fix that...I was just quickly looking to see if it would work
Title: Re: CAMeLot Counter and Occupant Groups
Post by: the7train on September 06, 2007, 10:47:11 AM
The essentials fixed it.  Thanks!
Title: Re: CAMeLot Counter and Occupant Groups
Post by: HandsOn on May 18, 2008, 11:58:23 AM
Even risking of being annoying, I've got to ask another question about CAM & its counters. If I read RJ's introductory table correctly, the counter will add any building from stage 8 onwards if it is a CAM-enabled lot. I ask because in several cities I do indeed have different R$$($?) Stage 8 CAM-lots from, I think, BSC, identified by the CAM logo in the lower right corner. Yet in the rewards menu the counters remain unavailable, still showing the -1 residental count. Thus, once again, I am confused..  ()sad()
Title: Re: CAMeLot Counter and Occupant Groups
Post by: RippleJet on May 18, 2008, 02:00:53 PM
Quote from: HandsOn on May 18, 2008, 11:58:23 AM
I ask because in several cities I do indeed have different R$$($?) Stage 8 CAM-lots from, I think, BSC, identified by the CAM logo in the lower right corner.

If they are stage 8, they are not CAMeLots.
If they are stage 9, they should be, and should be counted.

Could you post a pic of some of the buildings (with their queries) that you believe are CAMeLots,
and I'll check what stage they are and if they have the Counter Occupant Groups correctly set up.
Title: Re: CAMeLot Counter and Occupant Groups
Post by: HandsOn on May 18, 2008, 04:02:54 PM
Quote from: RippleJet on May 18, 2008, 02:00:53 PM
If they are stage 8, they are not CAMeLots.
If they are stage 9, they should be, and should be counted.

Could you post a pic of some of the buildings (with their queries) that you believe are CAMeLots,
and I'll check what stage they are and if they have the Counter Occupant Groups correctly set up.
Ok, got it. Guess what's confusing is the query, which in both cases has the logo. Here are the pics:
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk289%2FDocRorlach%2Fcamelot2.jpg&hash=f9a9e877b00cebfab22b20653f1dbc8c2263c812)
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fi283.photobucket.com%2Falbums%2Fkk289%2FDocRorlach%2Fcamelot.jpg&hash=7e2797dbf301777d1993bf9c8a55209791f620d2)
Title: Re: CAMeLot Counter and Occupant Groups
Post by: xxdita on May 19, 2008, 01:23:46 AM
Though technically not CAMeLots, the lots have been CAMified, using PIMX, and can be more easily identified with the CAM Query, should any problem be found. (And to distinguish the CAMified lots from the Vanillas).
Some people forget to remove the original lots when installing the necessary dependencies, so this can be quite helpful in pointing that out to them.
Title: Re: CAMeLot Counter and Occupant Groups
Post by: HandsOn on May 19, 2008, 04:07:40 AM
Thing is, I never had any of these buildings until I installed the starter kits and the dependencies. So there was nothing to remove..
Title: Re: CAMeLot Counter and Occupant Groups
Post by: xxdita on May 19, 2008, 04:15:51 AM
That does make things easier then.   :P
But as the original lots were fairly popular, it was necessary to distinguish the CAMified lots from the originals.
Congrats on making it to Stage 8. Soon, you'll see CAM kick in quite nicely.
Title: Re: CAMeLot Counter and Occupant Groups
Post by: HandsOn on May 19, 2008, 04:36:27 AM
Quote from: xxdita on May 19, 2008, 04:15:51 AM
That does make things easier then.   :P
But as the original lots were fairly popular, it was necessary to distinguish the CAMified lots from the originals.
Congrats on making it to Stage 8. Soon, you'll see CAM kick in quite nicely.
I wondered about that, especially since I've been, again with several cities, at stage for some time. And how is this going to work for rural communities & CAM farms? Since low education is a prerequisite (according to RJ) for farms to continue to grow & maintain a workforce, higher stages are nigh impossible, at least in terms of census count.
Title: Re: CAMeLot Counter and Occupant Groups
Post by: jmyers2043 on May 19, 2008, 05:10:07 AM
Hello Hands On

It seems that the person uploading has told the game to display the wrong query when they created the lot. Stage 8 is as RJet says, is not a CAMeLOT. 

I recently did a few industrials. Each industrial sits on a CAMeLOT and a RUSHHour lot. I had to make two DESC files when making these lots. One for CAM referencing the CAM query. And a RUSH HOUR version that references the standard query. It appears from reading your question and looking at the picture that the person who created the lot made the CAM version of the lot correctly (although it may not have grown yet) and forgot to reference the generic query when making the stage 8 lot.

QuoteYet in the rewards menu the counters remain unavailable, still showing the -1 residental count.

I am not sure I understand your question or concern. So I'll opt and give your some information instead. There is eight digit number buried deep inside the buildings DESC file. This number has to be edited manually by the creator. This number is used by the game for counting lots. Examples of things counted? Farm fields are counted, numbers of SimGoober lots, as are CAMeLOTS, etc. . .. If the eight digit number is correct? It is counted. If not, then it is not counted or counted wrong or for something else. Whether this building is being counted? I don't know. And I am not curious enough to find out. One thing is certain. It is not going to cause a crash to desktop or hurt the game in any way.

Hope this helps.



Title: Re: CAMeLot Counter and Occupant Groups
Post by: HandsOn on May 19, 2008, 05:19:06 AM
 :thumbsup: Yep, this does give me the full run down. After Xxdita's response I figured it to be something like that. Still, good to know what causes the effect. The problem of course lies in the differential between LEX & STEX lots - the former can be updated, the later rarely are. And CAM still uses plenty of STEX stuff. Maybe one day someone will replace the lots over which nobody has any influence..  :P
Title: Re: CAMeLot Counter and Occupant Groups
Post by: RippleJet on May 19, 2008, 05:41:48 AM
Quote from: HandsOn on May 19, 2008, 04:36:27 AM
And how is this going to work for rural communities & CAM farms? Since low education is a prerequisite (according to RJ) for farms to continue to grow & maintain a workforce, higher stages are nigh impossible, at least in terms of census count.

You should have separate cities in your region for farms and for ordinary industries.
Since the regional industrial capacity (excluding farms) sets up the thresholds for the farm stages,
you need to have ID, IM and/or IHT develop elsewhere in the region in order to get farms of stages 4-7.
Title: Re: CAMeLot Counter and Occupant Groups
Post by: HandsOn on May 19, 2008, 05:54:50 AM
Quote from: RippleJet on May 19, 2008, 05:41:48 AM
You should have separate cities in your region for farms and for ordinary industries.
Since the regional industrial capacity (excluding farms) sets up the thresholds for the farm stages,
you need to have ID, IM and/or IHT develop elsewhere in the region in order to get farms of stages 4-7.
I do that, always have - seems to be the natural order. That said, the "Farm Report" (yours?) always asks for "Bio Industry" thus I have a very small sector of HT (IM & ID are set at a tax rate of 20% thus effectively preventing them). No, I just wondered how a rural zone can get to stages beyond 4/5 since the population never rises that dramatically..
Title: Re: CAMeLot Counter and Occupant Groups
Post by: RippleJet on May 19, 2008, 06:20:28 AM
Quote from: HandsOn on May 19, 2008, 05:54:50 AM
No, I just wondered how a rural zone can get to stages beyond 4/5 since the population never rises that dramatically..

Did I explain it that badly? $%Grinno$%

Let me quote from another thread:

Quote from: RippleJet on January 16, 2008, 06:18:09 PM
Agricultural Stage Limits

The threshold values are in all cases the total regional industrial capacity (not workforce): ID + IM + IHT.
Note that IR (agricultural farms) are not included in the regional industrial capacity!

In Rush Hour stage 3 farms took over as soon as the regional industrial capacity grew.
For CAM, the emphasize was simply to get an even distribution of farms of different stages, with the addition of the special stage 6 and 7.


  IR 
  Stage 
  Stage 
  Stage 
  Stage 
  Stage 
  Stage 
  Stage 
1
2
3
4
5
6
7
0
50 %
30 %
20 %
500
45 %
28 %
20 %
7 %
800
40 %
26 %
20 %
14 %
1548
35 %
25 %
20 %
20 %
2723
30 %
23 %
20 %
20 %
7 %
4791
25 %
21 %
20 %
20 %
14 %
8429
20 %
20 %
20 %
20 %
20 %
14830
19 %
19 %
19 %
19 %
19 %
5 %
26091
18 %
19 %
19 %
19 %
19 %
6 %
45905
18 %
18 %
19 %
19 %
19 %
7 %
80764
18 %
18 %
18 %
19 %
19 %
8 %
142095
18 %
18 %
18 %
18 %
19 %
9 %
250000
18 %
18 %
18 %
18 %
18 %
9 %
1 %
1
2
3
4
5
6
7

In other words...

In order to get stage 4 farms, you need to have a regional industrial (ID+IM+IHT) capacity of 500
In order to get stage 5 farms, you need to have a regional industrial (ID+IM+IHT) capacity of 2,723
In order to get stage 6 farms, you need to have a regional industrial (ID+IM+IHT) capacity of 14,830
In order to get stage 7 farms, you need to have a regional industrial (ID+IM+IHT) capacity of 250,000

Your population can be zero. It won't affect the thresholds at all. :P
Only the regional industrial capacity does!
Title: Re: CAMeLot Counter and Occupant Groups
Post by: HandsOn on May 19, 2008, 06:35:22 AM
No, you did not explain that badly at all. I'm just a bit thick when it comes to the mind-boggler that is the SC4 simulator. Wow: zero population and still folks go to work. Wish that worked in RL  :D.
Let me thus quote a previous census (rounded): res. 1,033,000; com. 854,000; ind. 111,000 - all regionally, from the an external regional mod (not yours, sorry). Thus my industrial ought to now be at stage 6, which would explain the limited demand for farms. I guess of my three rural "boroughs" only one may survive, once the 36 cities have all started development. Let's hope that SC5 will really be a regional version of SC4 (doubt it, EA does hardly listen).

Thanks for taking time out for this here old numbskull..
Title: Re: CAMeLot Counter and Occupant Groups
Post by: daeley on May 19, 2008, 07:25:44 AM
Quote from: HandsOn on May 19, 2008, 05:54:50 AM
I do that, always have - seems to be the natural order. That said, the "Farm Report" (yours?) always asks for "Bio Industry" thus I have a very small sector of HT (IM & ID are set at a tax rate of 20% thus effectively preventing them). No, I just wondered how a rural zone can get to stages beyond 4/5 since the population never rises that dramatically..

mine ;)

it has been a while since I made that mod and it may need a small rebalancing of factors if used together with CAM. But normally you should be able to reach additional profits easily even without I-HT if everything else is ok.
Title: Re: CAMeLot Counter and Occupant Groups
Post by: HandsOn on May 19, 2008, 07:29:34 AM
Quote from: daeley on May 19, 2008, 07:25:44 AM
mine ;)

it has been a while since I made that mod and it may need a small rebalancing of factors if used together with CAM. But normally you should be able to reach additional profits easily even without I-HT if everything else is ok.
Well, I should be getting the update fast, now that DAMM is done & you practically "live around the corner" here somewhere..  $%Grinno$%

Edit: There's one question about that rep, though: it keeps reporting regional trade as bad despite rail & road & highway connections in all four corners..

Nah, not to worry, the report's fine - I just sometimes take things a bit to literally..
Title: Re: CAMeLot Counter and Occupant Groups
Post by: Lowkee33 on August 31, 2010, 04:09:31 PM
Amazing... two years later my question fits right in to the conversation.

@Daeley:  Your crazy mod lots on the stex are awesome.  I like the pillar of fire in particular.  The Farm Report is very interesting to me right now.  It appears that you made an OG for the stages of farms.  How did you do this?

It seems that these OGs are rather special as well as the OGs for the CAM counter.  I have been playing around with this ability, but I can not get it to work.  I have a UI whos captionres references this command:

#sc4game.automata.get_source_building_count(hextodec("00011010"))#

Which, to the extent of what I know, should give me the count of R$ buildings.  Alas, it does not (I get a 0, not the caption, and the game has been run for months).

My ultimate task is to get a query that will display the percentages of the different stages in the region.  At this point my best bet is to give a Building Exemplar a certain OG (which as I understand is dangerous).  The XA would count the number of those buildings and times it by the capacity (which I will have to type in myself).  Of course,  this means that every BE needs its own OG and also every lot would have to be the proper stage.

I have a ton of questions that have been talked about on this thread.  How does BSC_Essentials keep track of the CAM OGs?  What does this mean:  #lot8dbb1295_message()#.  What is a TRK type found in Reader?

Thanks all.  Sorry to post an old thread.
Title: Re: CAMeLot Counter and Occupant Groups
Post by: RippleJet on August 31, 2010, 04:28:09 PM
Trackable (countable) occupant groups are only those which are listed in the array called track_buildings,
defined within _constants.lua (SimCity_1.dat, TGI 0xCA63E2A3, 0x4A5E8F3F, 0xFFB0A8D0).
Originally that array reads:


track_buildings = {
   hex2dec('0x1305'),            -- passenger rail
   hex2dec('0x1306'),            -- freight rail
   hex2dec('0x150A'),            -- landmark
   hex2dec('0x150F'),            -- schools_k6
   hex2dec('0x13110'),           -- CS1 (CS$)
   hex2dec('0x13120'),           -- CS2 (CS$$)
   hex2dec('0x13130'),           -- CS3 (CS$$$)
   hex2dec('0x1307'),            -- Monorail station
}


That LUA script is modded and included in bsc_Essentials_OG.dat, and in there the array currently reads:


track_buildings = {
   hex2dec('0x1305'),            -- passenger rail
   hex2dec('0x1306'),            -- freight rail
   hex2dec('0x150A'),            -- landmark
   hex2dec('0x150F'),            -- schools_k6
   hex2dec('0x13110'),           -- CS1 (CS$)
   hex2dec('0x13120'),           -- CS2 (CS$$)
   hex2dec('0x13130'),           -- CS3 (CS$$$)
   hex2dec('0x1307'),            -- Monorail station
   hex2dec("0x21000"),
   hex2dec("0x21001"),
   hex2dec("0x21002"),
   hex2dec("0x21003"),
   hex2dec("0x21004"),

}
for i=14,14+hex2dec("0x0FFF") do
track_buildings[i] = 14-i+hex2dec("0xB5C00FFF") --add 0xB5C00### to array
end


Caspervg is currently expanding that array though, so with the next update of BSC Essentials, most Maxis OGs might be trackable... :)
Title: Re: CAMeLot Counter and Occupant Groups
Post by: Stewey on February 21, 2012, 02:10:50 PM
I apologise for posting in a topic so old, but I would just like to mention that the included "DTMP Textures.dat" is no longer needed in the installer as "BSC Textures Vol 03.dat" superseeds this file.

I only noticed this when rebuiding my plugins folder from scratch and just thought it might be useful to let you all know.