Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Permissions using Districts #221

Open
Bluenix2 opened this issue Dec 22, 2020 · 4 comments
Open

Permissions using Districts #221

Bluenix2 opened this issue Dec 22, 2020 · 4 comments

Comments

@Bluenix2
Copy link
Contributor

Summary

If this mod is pottentially getting a dedicated server support. We should look into permissions management since if you'd want to use a dedicated server then you're most likely more then two and play on different hours etc.

What I am thinking, would be using Districts to allow and disallow access to parts of the city.

This permissions management could be overhauled with permissions for what you're allowed to place and remove exactly. But, I think that just simply just using Districts to allow or deny any access is good enough as a start.
It should cover most needs.

Issues

Some issues with something like this would be money, how it would be shared and used. But if you think of the different Districts as groups. Then you would have multiple accounts so to speak, and where you spend the money ( in what District it is placed ) would determine what group.

A whole other problem is loans and where that money would go. But this relates to #220, so any discussion regarding that should take place there.

@xephos1one
Copy link

xephos1one commented Dec 23, 2020

A better solution would be using the tiles to seperate cities like in Sim City, but denser.
(Since you still want to use districts and their features.)

This could be achieved by actively desyncing the tiles so that every player has its own starting tile. A player shouldn't have access to an occupied tile and shouldn't be able to buy an occupied, but any other, to his tile(s) adjacent, tile.

For this to work you would need a (custom?) map that allows at least road access to every possible tile (I think 25 tiles would be the perfect size).

Possible issues:

  • restricting income, expenses, loans, population, water, electricity etc. to the players tiles
  • direct train traffic between the cities of the players won't be possible -> more traffic on the roads between them

The demand for residential, commercial and industrial buildings should still be shared between all players.

@Bluenix2
Copy link
Contributor Author

While that certainly could work to some extent... I strongly disagree that that would be a better solution.
Just to start off, are you still playing on the same city at that point? (Countries: Skylines)

You're essentially not sharing the city on any other level than name and demands.

Using districts would be easily manageable, and you'd actually play together in one city.
You share water, share electricity, share roads ( other than the highway ), share garbage disposal, share schools, share health care.

If you're playing on different tiles (areas), then you can't connect your electricity or water together. And the services like garbage disposal, schools, health care and police force don't really cover anything over the highway.

@Hunt3red
Copy link

Would it be possible to add another way of creating a district, but instead of a district it will be your claimed land.
In your claimed land you can choose (kinda like a policy) who has access to building there. Should have some restrictions so you can't claim the whole map. Maybe have a system that lets you pick an area that is not occupied, let others see what you want to claim like a review, and then it will have to pass a vote with at least 70% yes to claim your land.

I think that creating districts with their own financial and stuff would work fine until citizens start travelling, from your part of the city to your friend's part. For example if your friend has some high density commercial that your citizens like to travel to, or if some event is going on, that's going to have a negative (At least financial) impact on the district in which the residents leave from.
Syncing absolutely everything in each district could also just be too complicated, at least for an early implementation.

Just some thoughts. But didn't think too hard about it.

@tomerghelber
Copy link

How about using permission as in a goverment. The host would still be the god-mayor, and the other clients would be ministers. I think it is easier because the pool of the money is the shared the same (adv. feature - you can give money for each minister but the minister can not get new money?).

Just a thought.
Thank you for your great work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants