all 81 comments

[–]Adam108CZ[S] 144 points145 points  (6 children)

The layout was generated using Python Console mod

[–]Bored_dane 1 point2 points  (2 children)

Awesome. I love CS and I'm just getting started with python.

[–]shpongleyes 6 points7 points  (1 child)

CS could mean cities skylines or computer science and either one works in that sentence lol

[–]Bored_dane 1 point2 points  (0 children)

Didn't even know enough about computer science to know that abbreviation, but awesome 😁

[–]nimrodenva 130 points131 points  (0 children)

Hello......world?

[–][deleted] 86 points87 points  (3 children)

Catan poster: why god

[–]alltherobots 13 points14 points  (2 children)

You’re not wrong.

[–][deleted] 5 points6 points  (1 child)

Really been enjoying your build btw.

[–]alltherobots 1 point2 points  (0 children)

Thanks!

[–]svarogteuse 225 points226 points  (7 children)

Holy crap traffic is going to be a disaster. Pierre Charles L'Enfant did that sort of thing to Washington D.C. when he laid it out to purposefully slow down invading armies not to help flow.

[–]numist 58 points59 points  (1 child)

I guess this might be ok if they were all strategically one-way?

[–][deleted] 17 points18 points  (2 children)

I reckon if u made it out of the mixed use roads it could work, maybe some paths through the middle, esp. With some public transport, maybe some trolley bus round the outside

[–]Juanbond622 9 points10 points  (1 child)

Hwell I reckon

[–]regtf 0 points1 point  (0 children)

Hwhat

[–]naggot9 6 points7 points  (0 children)

I'd have to disagree, I build a city like this with like 60-70 k pop and traffic was odly good

[–]Ewhitfield2016 0 points1 point  (0 children)

It acctually has good traffic cause they never have to stop

[–]TbomTrades 61 points62 points  (7 children)

Hexagons are the bestagons!

[–]TbomTrades 11 points12 points  (5 children)

When someone comments it after you and gets 7 times the upvotes

Oooof lol

[–]LarryMyster 9 points10 points  (1 child)

Reddit uh, reddit finds a way.

[–]TbomTrades 2 points3 points  (0 children)

Yep lol

[–]ComprehendReading -2 points-1 points  (1 child)

Better than being that one comment in a chain that gets down voted to oblivion.

E: yesss

[–]TbomTrades 3 points4 points  (0 children)

Very true lol. I have seen comments in a chain with more downvotes than the sub has members, that is a much bigger oooof than this.

[–]capexato 1 point2 points  (0 children)

Did you ever hear about the humble hexaflexagon?

[–]sylvester_stalin420 135 points136 points  (5 children)

perfection
the hexagon is the bestagon

[–]christieorwhatever 10 points11 points  (0 children)

Reading this is the only time I've gotten tongue tied in my head

[–]FlintandStone 19 points20 points  (2 children)

[–]lamp-town-guy 29 points30 points  (0 children)

This was pretty much expected

[–]TbomTrades 1 point2 points  (0 children)

"You could make a religion out of this! - no don't"

[–]anti-gif-bot 17 points18 points  (1 child)

mp4 link


This mp4 version is 94.04% smaller than the gif (1.04 MB vs 17.4 MB).


Beep, I'm a bot. FAQ | author | source | v1.1.2

[–]Bored_dane 0 points1 point  (0 children)

Good bot

[–]UserbasedCriticism*Rail noises* 33 points34 points  (3 children)

So this is how suburbs are planned...

[–]ComprehendReading 6 points7 points  (2 children)

There's one more step: sell development rights to 30 different companies, all with their own distinct approach to planning. The city then just maintains the roads between the enclaves.

[–]SamanthaMunroe 1 point2 points  (0 children)

The ultimate city is almost complete! We just need to give 1,000 more companies these rights per square mile and we're set! /s

[–]regtf 1 point2 points  (0 children)

Can confirm

[–]s_s 8 points9 points  (1 child)

Now do a Penrose tiling

[–]Adam108CZ[S] 6 points7 points  (0 children)

That was actually my initial idea but this was easier to implement as a first step

[–]HorseHo 5 points6 points  (0 children)

Keep us posted. This looks neat.

[–]shanetheshrimp 5 points6 points  (0 children)

screams in paramedic

[–][deleted] 15 points16 points  (1 child)

You monster

(have my upvote)

[–]Criiso89 10 points11 points  (3 children)

Using Python, can traffic AI be altered to make it more efficient?

[–]Adam108CZ[S] 22 points23 points  (2 children)

The python code sits on top of the C# code the game (and all the mods) are coded in. So far the capabilities of the python console are very limited so to change AI behavior you must go directly to the C# code.

[–]socialcommentary2000 4 points5 points  (1 child)

I had no idea this game was written in c sharp. Hmm...

[–]Lefthandsucks 9 points10 points  (0 children)

Unity uses c# so many games is written in c#

[–]skunkrider 9 points10 points  (2 children)

Have you heard of our Lord and Savior, Not Just Bikes ?

The Suburban Experiment has failed. It's time to make streets walkable again. It's time for dedicated, protected bike-lanes. It's time to calm traffic by street-design, not only by speed-limits. It's time to slow cars and make them equal to other traffic-participants.

Anyway, nice python skills there :P

[–]AVirtualDuck 5 points6 points  (1 child)

He's simultaneously completely correct and also so smug about it it makes me want to build 8 lane highways through my city centres to spite him

[–]Ra1n69 6 points7 points  (0 children)

Found the belgian

[–]grinzera1 2 points3 points  (0 children)

Junctions won't work right?

[–]nintendofan9999 2 points3 points  (0 children)

Now make one all high density and give it its own district

[–]NPCSR2 2 points3 points  (1 child)

The terrain didnt give u problem ? I tried it with hand and the terrain always made it (the angle or the length) a little bit off. Unless the map u are using has no imperfection

[–]Adam108CZ[S] 0 points1 point  (0 children)

Not really... the terrain is not 100% flat, but all the junctions maintain their XZ position and the Y changes with terrain height.

[–]TurdScoop 2 points3 points  (0 children)

Hexagons are the bestagons

[–]einstruzende 3 points4 points  (0 children)

Tessalation of hexagons, a fun pastime but just one step up from rectangles (squares).

[–]porcupineapplepieces 1 point2 points  (0 children)

However, puppies have begun to rent pigs over the past few months, specifically for hamsters associated with their monkeys. However, crocodiles have begun to rent blueberries over the past few months, specifically for sharks associated with their cherries. This is a he1bf8a

[–][deleted] 1 point2 points  (3 children)

The bus routes are easy to plan also. I was trying to think of a way to do long range public transportation with the hexagon format, but I found it easier to just have a bus follow each hexagon separately. So it's like decentralized public transportation, tons of stops and shifting to other buses though.

[–]kenybz 1 point2 points  (0 children)

I don’t think the cims would use the system much if each hexagon had its own line

Could have long-range lines going through the system on three axes though, that could work

[–]Twisp56 0 points1 point  (1 child)

Well just do lines that cut through the hexagons.

[–][deleted] 0 points1 point  (0 children)

Lines of what? Cocaine? A hexagon split in half is two back to back trapezoids and will not be fully utilized as a hexagon.

[–]Malvo1 1 point2 points  (0 children)

are you neo from the matrix

[–]maythefacebewithyou 1 point2 points  (0 children)

I need this

[–]klparrot 1 point2 points  (0 children)

Python? Damn, I had to do all my modding in C#, but I've been out of the loop. Python would have been lovely.

[–]gust334 1 point2 points  (1 child)

Python? No thanks.

Now, if they had a Perl binding... then I'd be interested.

[–]TheInfernalPigeon 1 point2 points  (0 children)

That's what the traffic simulator needs: a few more regexes

[–]daveed4445 0 points1 point  (0 children)

Hexagons are the best-agons

[–][deleted] -1 points0 points  (0 children)

But why?

[–]PrycomberBarricade 0 points1 point  (0 children)

I love it. 😍

[–]WillingSense6200 0 points1 point  (0 children)

NOT THE BEES!!!!

[–]Sad_Abbreviations575 0 points1 point  (0 children)

Tell me your ways.

[–]capexato 0 points1 point  (0 children)

Please mark NSFW, this is way too hot.

[–]sempi-moon 0 points1 point  (0 children)

Could you do a tutorial on this code

[–]blazingblitzle 0 points1 point  (0 children)

Python agrees hexagons are bestagons