iplotradius ?

micmc

Warlord
Joined
Apr 17, 2004
Messages
179
Location
atlanta ga usa
I just discovered this beautiful little tag

the Iplotradius (used in city of a thousand slums) (which is marked at 3, for a 3 radius city) before I bullocks something up, how far can this be set?..out of curiosity mind you...I'm not going to make a contiennt spanning city...be kinda cool though *innocent grin* :)
 
well there is the problem of the size of the window in the city screen. Realistically 3 is probably the max because any bigger than that and there will be plots outside your view which can't be managed.

Of course though, you'll have to realize that it actually expands exponentially, a radius of six squares on all sides would be pretty dang huge.

The main problem is the interface limitations, unless there is a way to increase the field of view (and I'm pretty sure there is), 3 is the limit if you want to be able to control the use of all the city owned plots.

edit: what xienwolf said, lol.
 
I was under the impression that only 0 and 3 did anything. Does this mean that We could add a Kuriotate UB of this wonder ("City of a Million Slums"?) that extends the city radius to 4?
 
I'm assuming this isn't possible but could you add some sort of conditional statement in the .dll for city screen zoom that checks the radius of the city?
 
There's a tag that puzzles me, too.

I was looking at the source code and came across an unused tag near some code for the unused (at least in vanilla IIRC) "Mechanized" tag.

This new tag applies to units. If the value is "1" the unit can't move and can't attack but it will defend a tile if another unit is present. If I'm reading things right it'll never actually do damage, though. At best it'll just force a withdraw.

"2" is the same, except that the unit can be ordered to move, and it's captured if attacked.

And near as I can figure "3" is like "2", but the unit can defend itself normally against units with the "mechanized" tag set to 1.

The tag is called "irobot". I'm not sure why.
 
I have a question about a tag, too.

I was looking at the source code and came across an unused tag near some code for the unused (at least in vanilla IIRC) "Mechanized" tag.

This new tag applies to units. If the value is "1" the unit can't move and can't attack but it will defend a tile if another unit is present. If I'm reading things right it'll never actually do damage, though. At best it'll just force a withdraw.

"2" is the same, except that the unit can be ordered to move, and it's captured if attacked.

And near as I can figure "3" is like "2", but the unit can defend itself normally against units with the "mechanized" tag set to 1.

The tag is called "irobot". I'm not sure why.

I bet that this may be a leftover from something else, maybe vanilla bts. In fact, if you look in the xml, you can find stuff that appears to be from the final frontier mod and some other stuff. It looks like those stuff I saw in the xml is nonfunctional.
 
Where in the code is this? Sounds mildly ideal for my Worker Mod if I am reading "2" correctly. It would allow them to capture the workers with Promo's instead of using the <Capture> setting to generate an unexperienced one.

I would suspect it is some of the code for Final Frontier. Robot & Mechanized sound fitting for them.
 
Yea, the extra xml that I saw was from Final Frontier. I have no idea how it got there, but it seems to be unused.
 
Err...

"I, Robot" is the title of Issac Asimov's classic robot anthology.

Asimov's much referenced 3 laws of robotics correspond, roughly, to the 1, 2, and 3 values of the tags above.

In my defense I will say:

a) My wife got it immediately.
b) It could have been an "iclaudius" joke.
 
iPlotRadius shouldnt work for any value above 3. There are a ton of functions that deal with a cities working plots and getting them to dynamically adjust for the given values was hard enough, I couldnt even imagine how to get them to work with a wider range.
 
Actually settlements can have normal fat crosses, it's just that they can't grow. Whether they stay stagnant or not when you get an event that boosts your population, I'm not sure because I haven't played the Kuriotates that much yet.

As far as the coding, I have no idea whether they have that as thier plot radius, but I kind of doubt it.
 
wouldn't that be radius 0?
 
Back
Top Bottom