SC4 Devotion Forum Archives

SimCity 4 General Discussion and Tutorials => SimCity 4 General Discussion => General Custom Content Discussion => Topic started by: bento on October 09, 2009, 10:50:41 PM

Title: Change Library Radius In Query UI File
Post by: bento on October 09, 2009, 10:50:41 PM
Is it possible to change the radius of the library in the Query tool? What I am trying to do is have a library which you can set the number of books in the library (just like you normally can) as well as change the radius which the library affects. I have edited the UI file and have a fair understanding of what goes on in the file but so far I have found no information on editing the library radius and I am starting to wonder if this is even possible. So I thought I would ask the experts.
Title: Re: Change Library Radius In Query UI File
Post by: RippleJet on October 10, 2009, 01:36:13 AM
Quote from: bento on October 09, 2009, 10:50:41 PM
I am starting to wonder if this is even possible.

No, it isn't possible to separate the number of books and the radius.

Changing the monthly funding of e.g. a library with the slider,
changes both the number of books and the radius.

The only thing you can change in a query has to have an associated slider (IGZWinSlider).
This is the case with the monthly funding of civic buildings and power plants:


There are no other known id's to change anything else though...
Title: Re: Change Library Radius In Query UI File
Post by: bento on October 10, 2009, 02:50:43 AM
So I was experimenting while I was waiting for a replay and discovered a way to make the library radius change using the 0x1019 School Bus Slider that you in the end mentioned RippleJet. But when I read your post you are saying that it can not be done. So I am wondering is there a problem in making the library use the School Bus Slider? Below are two images to illustrate what I have done:

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg43.imageshack.us%2Fimg43%2F8131%2Flibraryfunding1.jpg&hash=1abf7e2e4f846e2c5348b6e3a19630d2e7344a6c)
By bento73 (http://profile.imageshack.us/user/bento73)

(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg190.imageshack.us%2Fimg190%2F3941%2Flibraryfunding2.jpg&hash=6269344908263cf1ebbfa398490b699f0748aaa4)
By bento73 (http://profile.imageshack.us/user/bento73)

Thanks for your help RippleJet, much appreciated.
Title: Re: Change Library Radius In Query UI File
Post by: RippleJet on October 10, 2009, 07:49:23 AM
Quote from: bento on October 10, 2009, 02:50:43 AM
So I was experimenting while I was waiting for a replay and discovered a way to make the library radius change using the 0x1019 School Bus Slider that you in the end mentioned RippleJet. But when I read your post you are saying that it can not be done. So I am wondering is there a problem in making the library use the School Bus Slider?

That actually seems to be working! :thumbsup:
I assume you've tested that out by including two Budget Items for your library;

Budget Item: Department = Education Staff, Education Coverage
Budget Item: Purpose = School Staff, School Coverage

That way you could confirm that its funding (administration area) changes when the slider is moved.
Also see if it appears as School Buses in the budget panel.

After this you could test by setting the second budget item value to 0.
I assume the slider wouldn't work after this anymore...
If I remember correctly, It didn't work for me when I added sliders to the private schools.
Title: Re: Change Library Radius In Query UI File
Post by: bento on October 10, 2009, 08:06:56 AM
Quote from: RippleJet on October 10, 2009, 07:49:23 AM
That actually seems to be working! :thumbsup:
I assume you've tested that out by including two Budget Items for your library;

Budget Item: Department = Education Staff, Education Coverage
Budget Item: Purpose = School Staff, School Coverage

Yeah I have looked at the Budget Items and they work correctly.

Quote from: RippleJet on October 10, 2009, 07:49:23 AM
Also see if it appears as School Buses in the budget panel.

Quote from: RippleJet on October 10, 2009, 07:49:23 AM
After this you could test by setting the second budget item value to 0.
I assume the slider wouldn't work after this anymore...

Good ideas, I will try them now. Thanks for all your help in this.