Construction

P1SIM is a commercial game under development featuring traffic, logistics, city building and more.
User avatar
smallfly
Chairman
Chairman
Posts: 884
Joined: 19 Oct 2009 13:29
Location: Germany

Construction

Post by smallfly »

This it how it looks like, when visually coding a new road junction in P1SIM. This step is only needed when a new module has been created. The "normal user" does not have to define the potential paths of modules.
crossing.png
crossing.png (10.85 KiB) Viewed 22728 times
For curves the connection is much simpler:
45-curve.png
45-curve.png (3.16 KiB) Viewed 22724 times
One path consists of two oriented nodes connected with a bezier curve.
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!
calm1
Engineer
Engineer
Posts: 1
Joined: 04 Aug 2012 13:17

Re: Construction

Post by calm1 »

Great! But what way do you plan roads added to the game? Locomotion's per-tile, TTD's drag-n-drop or like in Simutrans?
I really like your game concept :bow: lol, but this is really interesting.

Also, are the vehicles able to reverse on junctions?
User avatar
smallfly
Chairman
Chairman
Posts: 884
Joined: 19 Oct 2009 13:29
Location: Germany

Re: Construction

Post by smallfly »

calm1 wrote:Great! But what way do you plan roads added to the game? Locomotion's per-tile, TTD's drag-n-drop or like in Simutrans?
I will implement multiple road/rail construction methods. You can place single modules as well as dragging roads like in OTTD.

It will also be possible to select a road (from junction to junction) and add further lanes with one simple click. But more on that later, when I have corresponding screenshots for you.
calm1 wrote:Also, are the vehicles able to reverse on junctions?
The screenshot shows the possible ways of 4x4 road junctions. This junction doesn't offer a possibility for reversing.
crossing.png
crossing.png (10.85 KiB) Viewed 22724 times
But there are other (bigger) junctions, where it is possible:
crossing_rev.png
crossing_rev.png (5.5 KiB) Viewed 22723 times
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!
User avatar
robo
Route Supervisor
Route Supervisor
Posts: 398
Joined: 14 Jan 2007 12:14

Re: Construction

Post by robo »

smallfly wrote: The "normal user" does not have to define the potential paths of modules.
One path consists of two oriented nodes connected with a bezier curve.
Theoretically it could be an interesting feature to make adjustments to a vehicles path through manipulation of points along the travel way especially for longer trucks in curves. Alternativly a player could drive a truck for one time and record the path, but this would probably be a different type of game.
User avatar
smallfly
Chairman
Chairman
Posts: 884
Joined: 19 Oct 2009 13:29
Location: Germany

Re: Construction

Post by smallfly »

robo wrote:Theoretically it could be an interesting feature to make adjustments to a vehicles path through manipulation of points along the travel way especially for longer trucks in curves. Alternativly a player could drive a truck for one time and record the path, but this would probably be a different type of game.
Watch this video starting at minute 2:40 for 10 seconds. There are similiar ways in P1SIM to control which of the potential paths of a module can be actually used by cars. The potential paths are defined by the creator of a module (=a developer). The actual paths (see video) are defined by the user when playing.
http://youtu.be/AVzdUoBMd_4?t=2m40s
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!
User avatar
robo
Route Supervisor
Route Supervisor
Posts: 398
Joined: 14 Jan 2007 12:14

Re: Construction

Post by robo »

What I had in mind was something like this: http://geoquake.jp/en/webgame/DrivingSimulator/
As you probably don't want to drive trucks or busses all the time, you could record or edit the path to automate the vehicles.
A game about traffic management alone as shown in the video sounds boring to me (I didn't play it), but it would certainly be good to see some features of this game in a game which is about transport, production/distribution of goods, because all these things belong together.
User avatar
smallfly
Chairman
Chairman
Posts: 884
Joined: 19 Oct 2009 13:29
Location: Germany

Re: Construction

Post by smallfly »

robo wrote:What I had in mind was something like this: http://geoquake.jp/en/webgame/DrivingSimulator/
Could be an easteregg function in P1SIM.
robo wrote:As you probably don't want to drive trucks or busses all the time, you could record or edit the path to automate the vehicles.
Since the cars can only drive on the center of the lane, a recording function wouldn't make any sense. There are better ways to define routes than driving the route and recording it. Another problem would be the complexity: If you could drive around freely the collision detection algorithms would take much CPU power leading to a very small amount of maximum vehicles allowed. I think most people prefer having many vehicles.
robo wrote:A game about traffic management alone as shown in the video sounds boring to me (I didn't play it), but it would certainly be good to see some features of this game in a game which is about transport, production/distribution of goods, because all these things belong together.
That's how I see it, too :-)
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!
User avatar
robo
Route Supervisor
Route Supervisor
Posts: 398
Joined: 14 Jan 2007 12:14

Re: Construction

Post by robo »

smallfly wrote:
robo wrote:There are better ways to define routes than driving the route and recording it. Another problem would be the complexity: If you could drive around freely the collision detection algorithms would take much CPU power leading to a very small amount of maximum vehicles allowed. I think most people prefer having many vehicles.
Yes, I read somewhere that a game like GTA2 could support 50 vehicles and 250 pedistrians at the same time, but it's a 3D-game.
The project might be to big for one programmer too.
I just liked this 2D-Driving-Simulator, even with small maps and without traffic or goals.
The best way to play it is using a gamepad and xpadder to emulate the keyboard in my opinion, but there may be more potential with full gamepad-support (by adding gas and braking on analog triggers)
For a "simple" game concept you could make a game about the automobile industry. The more automobiles you can produce, transport and sell (you may need export, too), the more traffic you get on the roads ;-). You could still add trains for transport and some "creative" citybuilding, and I would be satisfied ;-). I personally don't need large maps, a small "modelrailway" would be enough.
User avatar
cmoiromain
Chief Executive
Chief Executive
Posts: 655
Joined: 15 Jan 2007 21:45
Location: FRANCE
Contact:

Re: Construction

Post by cmoiromain »

I just saw the updates on the website. I mut say I'm very impressed with where this is going. The tool you are working on looks very powerful and flexible.

I have a couple of questions regarding the lanes you define on the tiles.
First, will there be a way to place signals, and chose how they alternate on the junction ? Or different kinds of priorities (stop, give way, give way to you right/left...) ?
Also, maybe there should be a way to decide when two lanes belong to the same road. This would be useful to decide whether a vehicle can overtake or not.
Here is quick and dirty example :
road.png
road.png (16.29 KiB) Viewed 6092 times
Top left is the junction, top right is how it would look in the current game (dark red dots represent the nodes), bottom is what I have in mind : link together lanes that are equivalent, where vehicles can chose anyone they like. That way, we don't have to specify on each straight piece of road that vehicles can change lanes, and where they have to change if they want to do so. I don't know how this will complicate pathfinding though.

Great work so far, I'm really looking forward to the first releases of this (although I know that won't be anytime soon). Good luck on continuing with this !
I am little, ugly, and nasty. How do you do?
User avatar
smallfly
Chairman
Chairman
Posts: 884
Joined: 19 Oct 2009 13:29
Location: Germany

Re: Construction

Post by smallfly »

cmoiromain wrote:First, will there be a way to place signals, and chose how they alternate on the junction ? Or different kinds of priorities (stop, give way, give way to you right/left...) ?
Yes. But this has nothing to do with the module editor I am currently developing. That is why you don't see corresponding options on the screenshots.
cmoiromain wrote:Also, maybe there should be a way to decide when two lanes belong to the same road. This would be useful to decide whether a vehicle can overtake or not.
Two parallel lanes on the same road module (configured with the same direction - which can be done outside the module editor, when the road is placed on the map) are automatically recognized as overtaking option for vehicles if the parallel lanes have a minimum length of 4 tiles. Thus there is no need to configure the zones like in your image. But you could use the style to indicate the automatically recognized zones.
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!
User avatar
smallfly
Chairman
Chairman
Posts: 884
Joined: 19 Oct 2009 13:29
Location: Germany

Re: Construction

Post by smallfly »

In the last days the module editor got even more powerful: (see here)
2012-09-12T22-15-43-300x200.png
2012-09-12T22-15-43-300x200.png (35.32 KiB) Viewed 22146 times
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!
User avatar
smallfly
Chairman
Chairman
Posts: 884
Joined: 19 Oct 2009 13:29
Location: Germany

Re: Construction

Post by smallfly »

2012-09-29T15-14-33_preview.jpg
2012-09-29T15-14-33_preview.jpg (14.42 KiB) Viewed 21941 times
Attachments
2012-09-29T15-14-33.png
2012-09-29T15-14-33.png (425.43 KiB) Viewed 6093 times
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!
oberhümer
Tycoon
Tycoon
Posts: 1283
Joined: 23 Oct 2009 19:35
Location: Here and there, sometime or another

Re: Construction

Post by oberhümer »

That would be "road vehicles", "aircraft" and "water craft". "Fork lifts" seems very specific - how about "industrial vehicles"? And why not just call the "portainer" a container crane?

One less serious request: couldn't some of the people ride bicycles? :P Glad as always to see things coming along.
--- Licenses: GNU LGPL, version 2 or newer, code and graphics. CC-By-SA, graphics, alternatively. If you're using any, I'd like to hear about it --- Call them "track types" ---
--- Mostly inactive developer for: NuTracks - Central European Train Set --- Running/compiling for: Linux (x86) - Android - Windows (32/64 bit) ---

--- Need a file packer? 7-Zip --- BOINC - use your computing power to benefit science --- Block trackers, not ads --- Unix in dispersible pellets, the formula for the future. ---
ClaudeS
Engineer
Engineer
Posts: 9
Joined: 30 Oct 2009 22:46

Re: Construction

Post by ClaudeS »

Wow, I see the trolley option :D
Thanks for accept the suggestion \o/
User avatar
smallfly
Chairman
Chairman
Posts: 884
Joined: 19 Oct 2009 13:29
Location: Germany

Re: Construction

Post by smallfly »

Currently Im thinking about the problems associated with a maps of unlimited sizes. I dont want the users to spread in a way that there is no interaction anymore. Thus I could imagine the following to get players closer to each other:

Lets assume there is a map center, and the usage of one tile (for a building/road/track...) costs 100 dollars. If you leave this center the tile costs raise by one dollar per tile. Thus you CAN use the whole map, but it gets more and more expensive when you leave the other players. What do you think?
tilecosts.jpg
tilecosts.jpg (8.53 KiB) Viewed 21115 times
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!
User avatar
APDAF
Tycoon
Tycoon
Posts: 2639
Joined: 22 Jun 2008 12:26

Re: Construction

Post by APDAF »

If you reverse that for big cites and then have that kick-in out side of cites/towns.

This would make it more realistic as space is at a premium in cites and you have higher transport and living costs the farther from populated places and/or factories.
Last edited by APDAF on 09 Mar 2013 12:51, edited 1 time in total.
Visit my screenshot thread--> http://www.tt-forums.net/viewtopic.php?f=47&t=54118
If you want to have a go at War Thunder, PM me, I have an invite code.
User avatar
Pyoro
Tycoon
Tycoon
Posts: 2558
Joined: 17 Oct 2008 12:17
Location: Virgo Supercluster

Re: Construction

Post by Pyoro »

I'm with APDAF. This seems really counter-intuitive.
Maybe there could be other incentives - like a working implementation of infrastructure sharing? ^^
User avatar
smallfly
Chairman
Chairman
Posts: 884
Joined: 19 Oct 2009 13:29
Location: Germany

Re: Construction

Post by smallfly »

Pyoro wrote:I'm with APDAF. This seems really counter-intuitive.
Maybe there could be other incentives - like a working implementation of infrastructure sharing? ^^
Yeah, probably you are right. I should not punish players which leave the map center. I better provide incentives (sharing infrastructure, easy trading through short distances etc.).
www.p1sim.org - P1SIM - Traffic, Logistics, City-Building & more
Join the discussions here on tt-forums.net!
damerell
Traffic Manager
Traffic Manager
Posts: 190
Joined: 22 Feb 2008 23:09

Re: Construction

Post by damerell »

smallfly wrote:Lets assume there is a map center, and the usage of one tile (for a building/road/track...) costs 100 dollars. If you leave this center the tile costs raise by one dollar per tile. Thus you CAN use the whole map, but it gets more and more expensive when you leave the other players. What do you think?
Just at the start, when players have the least money and cannot afford to build outside the map centre, a hideous cage match results.

Perhaps a better approach would be to have the initial distribution of cities and industries biased towards the map centre, so that short profitable routes could be built there - nothing to stop you going and building in the boondocks, but you're probably better off in the middle. Imagine a map of the UK with the map "centre" in London. As time passed, more industries would open in the hinterlands.
LocoMH
Chairman
Chairman
Posts: 845
Joined: 26 Nov 2005 16:21
Location: Dresden (formerly Ruhr Area)
Contact:

Re: Construction

Post by LocoMH »

Doesn't building things far away from the place you get the construction workers and vehicles from make everything more expensive anyways? Maybe what you should do is something like implementing rights to build at places, which you need to buy first, kind of like RCT? And those prices could still get higher the further you're away from your headquarters. So one thing could be to only allow the hq to be build in or around certain cities.
Locked

Return to “P1SIM”

Who is online

Users browsing this forum: No registered users and 2 guests