[Abandoned Mod] Cityscape [cityscape]

User avatar
duane
Member
 
Posts: 1274
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

[Abandoned Mod] Cityscape [cityscape]

by duane » Mon Feb 29, 2016 10:51

Edit: This mod is abandoned now that I've switched to Squaresville C.

This mod makes rudimentary roads and buildings. It's more of an experiment than anything, but might be fun for someone to play with. It could be terrain for zombie attack games or just blowing things up.

Roads and city terrain are located by perlin noise. Natural terrain is left alone everywhere else. Cityscape only works with the new "valleys" mapgen at the moment, because the road noise has to match the terrain. It may be possible to accomodate other mapgens in the future.

Image

The source is available on github.

Note that the original code is still available in the "original" branch on github.

Code: CC0 and others, textures: CC0 and others

Mod dependencies: default, stairs, doors

Download: https://github.com/duane-r/cityscape/archive/master.zip

Recipes:
+ Spoiler


I no longer maintain this mod. Those who are interested might want to check out Squaresville.
Attachments
cityscape-14.jpg
(240.95 KiB) Downloaded 1 time
Last edited by duane on Tue Sep 26, 2017 03:18, edited 15 times in total.
Believe in people and you don't need to believe anything else.
 

User avatar
duane
Member
 
Posts: 1274
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

Re: [Mod] <Cityscape> [<cityscape>]

by duane » Mon Feb 29, 2016 11:05

Among the problems I'm already aware of are:

- No rails
- No roadmarks
- No sewers
- No cars
- Roads fall into rivers
- Rivers slop over onto the roads.
- Highways frequently dive under buildings.
- Highways frequently form two levels.
- Buildings get overwritten partly or completely by different buildings.
- Highway road marks don't always show up.
- Roads tend to interfere with highways.
- Roads often go up a mountain, even if there's an easy way around.
- Problems at y chunk boundaries.
- Trees grow in the air over roads.
- Roads are uneven.
- Lighting issues
- Excessive memory use
Last edited by duane on Tue Mar 29, 2016 02:02, edited 23 times in total.
Believe in people and you don't need to believe anything else.
 

User avatar
cd2
Member
 
Posts: 562
Joined: Mon Jun 01, 2015 06:30
Location: Linux
GitHub: cdqwertz
In-game: cd cd2
 

User avatar
Minetestforfun
Member
 
Posts: 936
Joined: Tue Aug 05, 2014 14:09
Location: On earth
GitHub: Darcidride
IRC: Darcidride + MinetestForFun
In-game: Darcidride + MinetestForFun

Re: [Mod] <Cityscape> [<cityscape>]

by Minetestforfun » Mon Feb 29, 2016 19:13

A city mapgen like that should be very interesting for shooter like subgame :)

Keep up the good work
 

User avatar
MineYoshi
Member
 
Posts: 5357
Joined: Wed Jul 08, 2015 13:20

Re: [Mod] <Cityscape> [<cityscape>]

by MineYoshi » Mon Feb 29, 2016 23:28

Yes something for a shooter FPS style server!
nire patata zurea da, kide :-)
 

User avatar
paramat
Developer
 
Posts: 3254
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat
 

User avatar
duane
Member
 
Posts: 1274
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

Re: [Mod] <Cityscape> [<cityscape>]

by duane » Wed Mar 02, 2016 12:08

I've put in ramps connecting every block with the next, except at the corners. (A four-level connection is beyond me.) You can get some serious air time shooting down these in fast mode.

Image

I also added sidewalks to avoid doors opening onto drop-offs. Next I'm thinking of making the buildings modular, with several basic types. I may put in stairs first. They all need stairs.
Attachments
c-demo-92.jpg
(182.72 KiB) Not downloaded yet
Believe in people and you don't need to believe anything else.
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod] <Cityscape> [<cityscape>]

by Don » Wed Mar 02, 2016 12:11

Nice! I can see this turning into a great mod.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
duane
Member
 
Posts: 1274
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

Re: [Mod] <Cityscape> [<cityscape>]

by duane » Fri Mar 04, 2016 06:32

Started a new building type with "Gotham" in mind, but now I think it looks more like "General Hospital". I'm not sure if the gargoyles are appropriate.

+ Spoiler
Attachments
cityscape-03.jpg
(171.64 KiB) Not downloaded yet
cityscape-02.jpg
(184.91 KiB) Not downloaded yet
cityscape-01.jpg
(154.67 KiB) Not downloaded yet
Believe in people and you don't need to believe anything else.
 

User avatar
duane
Member
 
Posts: 1274
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

Re: [Mod] <Cityscape> [<cityscape>]

by duane » Fri Mar 04, 2016 19:40

I had to put some lights in. Darkness withers the heart.

Image

Image
Attachments
cityscape-05.jpg
(82.83 KiB) Not downloaded yet
cityscape-04.jpg
(87.52 KiB) Not downloaded yet
Believe in people and you don't need to believe anything else.
 

User avatar
cd2
Member
 
Posts: 562
Joined: Mon Jun 01, 2015 06:30
Location: Linux
GitHub: cdqwertz
In-game: cd cd2

Re: [Mod] <Cityscape> [<cityscape>]

by cd2 » Sat Mar 05, 2016 12:03

duane wrote:I had to put some lights in. Darkness withers the heart.

Image

Image

nice :D
 

User avatar
Nathan.S
Member
 
Posts: 812
Joined: Wed Sep 24, 2014 17:47
Location: Bigsby Texas
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21

Re: [Mod] <Cityscape> [<cityscape>]

by Nathan.S » Sat Mar 05, 2016 13:14

This is pretty cool. Can't wait to see where this goes.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
 

User avatar
duane
Member
 
Posts: 1274
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

Re: [Mod] <Cityscape> [<cityscape>]

by duane » Sat Mar 05, 2016 19:09

I added streetlights and road markings. I've also put in a vacancies setting to control how many lots are left empty (for players to fill). You could conceivably have nothing but empty lots.

The terrain profiling is less picky now, so more city blocks should show up, especially near the sea. So far, I haven't seen any problems.
Believe in people and you don't need to believe anything else.
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod] <Cityscape> [<cityscape>]

by Don » Sat Mar 05, 2016 19:55

No screenshots? You're the screenshot king.
Keep up the great work.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
duane
Member
 
Posts: 1274
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

Re: [Mod] <Cityscape> [<cityscape>]

by duane » Sat Mar 05, 2016 19:58

Don wrote:No screenshots? You're the screenshot king.
Keep up the great work.


Oh well, IF you INSIST. I added two new building types as well. I think that's about all I can do with blocky types. All of the doors need work...

Image
Attachments
cityscape-07.jpg
(188.41 KiB) Not downloaded yet
Believe in people and you don't need to believe anything else.
 

User avatar
paramat
Developer
 
Posts: 3254
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat
 

User avatar
duane
Member
 
Posts: 1274
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

Re: [Mod] <Cityscape> [<cityscape>]

by duane » Sun Mar 06, 2016 07:09

You can now adjust the size/number of buildings by setting the number of divisions in each block from one to four (three is the default). I think three looks best, but it doesn't give you a lot of interior space. (Four is downright cramped.) You can set the divisions of the X- and Z-axes separately, to make rectangular buildings.

Sadly, I still see no way to get around the ramp issue for single-building blocks, so that's not likely to improve. Likewise, changing the number of divisions between blocks would give you mismatched ramps.

Image

Don! How'd you get into my HQ?! Oh, wait...

Image
Attachments
cityscape-10.jpg
(72.48 KiB) Not downloaded yet
cityscape-09.jpg
(227.77 KiB) Not downloaded yet
Believe in people and you don't need to believe anything else.
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod] <Cityscape> [<cityscape>]

by Don » Sun Mar 06, 2016 12:57

Looking good!
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
D00Med
Member
 
Posts: 937
Joined: Sat Feb 07, 2015 22:49
Location: Australia...somewhere
GitHub: D00Med
 

User avatar
Napiophelios
Member
 
Posts: 941
Joined: Mon Jul 07, 2014 01:14
GitHub: Napiophelios
IRC: Nappi
In-game: Nappi

Re: [Mod] <Cityscape> [<cityscape>]

by Napiophelios » Mon Mar 07, 2016 12:23

This is an excellent mod Duane!

But its would look way better if you could make your own textures for the concrete and plaster and light panels,
so there could be options with texture packs.

The ones I made for the screen shot below are too dark for most
but it looks much more modern;Default stone just looks like ass.

Image
screenshot_20160307_070800.png
(386.86 KiB) Not downloaded yet
 

User avatar
duane
Member
 
Posts: 1274
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

Re: [Mod] <Cityscape> [<cityscape>]

by duane » Mon Mar 07, 2016 16:21

Napiophelios wrote:But its would look way better if you could make your own textures for the concrete and plaster and light panels,
so there could be options with texture packs.


Great minds think alike. I've already worked out some different looks. The changes I've made are still based on the same texture, but I added bricks. It does need separate texture names.

Image

I'll probably do some more work on it, but right now I'm trying to get the issue of schematics bleeding over from the original landscape solved. I'm making progress, but there may not be a perfect solution. At least I've removed the overly-complicated abm.
Believe in people and you don't need to believe anything else.
 

User avatar
Don
Member
 
Posts: 1642
Joined: Sat May 17, 2014 18:40
GitHub: DonBatman
IRC: Batman
In-game: Batman

Re: [Mod] <Cityscape> [<cityscape>]

by Don » Mon Mar 07, 2016 16:23

Wow Duane! That looks awesome.
Many of my mods are now a part of Minetest-mods. A place where you know they are maintained!

A list of my mods can be found here
 

User avatar
duane
Member
 
Posts: 1274
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

Re: [Mod] <Cityscape> [<cityscape>]

by duane » Tue Mar 08, 2016 10:09

I've changed most of the textures to cityscape_ prefixes to make them easy to modify. I added floors, ceilings, roofs and sidewalks with placeholder textures.

Image
Attachments
cityscape-11.jpg
(152.65 KiB) Not downloaded yet
Believe in people and you don't need to believe anything else.
 

User avatar
rubenwardy
Moderator
 
Posts: 5547
Joined: Tue Jun 12, 2012 18:11
Location: United Kingdom
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: [Mod] <Cityscape> [<cityscape>]

by rubenwardy » Tue Mar 08, 2016 10:15

There's no need to duplicate default textures - it'll make it look odd in a say 32 or 62 texture pack which doesn't support cityscape. Texture packs can override the texture of a node like this:

Code: Select all
mod:name all texture_name.png


In overrides.txt
See doc/texture_overrides.txt
For more info (same folder as lua_api.txt)
 

User avatar
maikerumine
Member
 
Posts: 1345
Joined: Mon Aug 04, 2014 14:27
GitHub: maikerumine
In-game: maikerumine
 

Next

Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 6 guests