SC4D Homepage
BSC File Exchange
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length


Author Topic: RHW (RealHighway) - Development and Support  (Read 1180397 times)

0 Members and 5 Guests are viewing this topic.

Offline jondor

  • *
  • Posts: 906
  • Country: us
  • Reputation: 17
  • Gender: Male
  • Kitty loves the NAM!
    • The Boys and Girls from the Dwarf
  • CL: Don't Cross Me
Re: RHW (RealHighway) - Development and Support
« Reply #10180 on: July 08, 2012, 09:46:01 PM »
The plan is for the next release to contain at least all five L0-L4 90 deg MIS FLEXFly/Curves.  The models are mostly done, the L0 RULs just need a little more work before I can port them to the other four heights, and they will be as stable and complete as the rest of P57.

I also developed a well ordered IID scheme for them that with just a little tweaking can also be applied to the 45 degree curves, making RUL migration for them (almost) a copy-paste-find-replace job.

I'm sort of bouncing between three separate, but related, P57 sub-projects which complicates development a bit, but they're all necessary to make the whole project mesh together nicely.
All new animated railroad crossing props for networks of all sizes! (Phase 1 complete; Phase 2 currently on hold in favor of Project 57 development)--> http://sc4devotion.com/forums/index.php?topic=13209

Sim City 4 Devotion Forums

Re: RHW (RealHighway) - Development and Support
« Reply #10180 on: July 08, 2012, 09:46:01 PM »

Re: RHW (RealHighway) - Development and Support

Offline RickD

  • *
  • Posts: 1816
  • Country: de
  • Reputation: 1
  • Gender: Male
  • D'oh!
Re: RHW (RealHighway) - Development and Support
« Reply #10181 on: July 09, 2012, 02:41:37 PM »
I am curious to know wether or not the new NAM will resolve this issue:



Thanks.  :)
My name is Raphael.
Visit my MD: Empire Bay (My old MD: Santa Barbara County)

Accept. Embrace. Evolve. Become Enlightened.

Sim City 4 Devotion Forums

Re: RHW (RealHighway) - Development and Support
« Reply #10181 on: July 09, 2012, 02:41:37 PM »

Re: RHW (RealHighway) - Development and Support

Online GDO29Anagram

  • *
  • Posts: 1219
  • Country: us
  • Reputation: 7
  • Gender: Male
  • NAM Team Pony and RHW's Dmitri Mendeleev.
Re: RHW (RealHighway) - Development and Support
« Reply #10182 on: July 09, 2012, 02:55:15 PM »
I am curious to know wether or not the new NAM will resolve this issue:

It helps to point it out so we know what to fix.

It appears to be a mix of RHW and NWM and GLR, but these crossings fall under RHW according to P57 specs, so it's mainly RHW crossing adjacency RULs, or the lack of it...

In the meantime, you think you can spare an extra tile of space?
« Last Edit: July 09, 2012, 03:00:37 PM by GDO29Anagram »
Please note: NAM Team is Best Pony. NAM 31.1.
-----
Simtropolis | YouTube | MLP Forums

Sim City 4 Devotion Forums

Re: RHW (RealHighway) - Development and Support
« Reply #10182 on: July 09, 2012, 02:55:15 PM »

Re: RHW (RealHighway) - Development and Support

Offline epicblunder

  • *
  • Posts: 141
  • Reputation: 0
Re: RHW (RealHighway) - Development and Support
« Reply #10183 on: July 09, 2012, 03:28:56 PM »
The plan is for the next release to contain at least all five L0-L4 90 deg MIS FLEXFly/Curves.  The models are mostly done, the L0 RULs just need a little more work before I can port them to the other four heights, and they will be as stable and complete as the rest of P57.

That will be incredibly useful.  Will it be possible to have a higher flex-fly crossing over a lower one? or is that unstable/impossible?

Sim City 4 Devotion Forums

Re: RHW (RealHighway) - Development and Support
« Reply #10183 on: July 09, 2012, 03:28:56 PM »

Re: RHW (RealHighway) - Development and Support

Online GDO29Anagram

  • *
  • Posts: 1219
  • Country: us
  • Reputation: 7
  • Gender: Male
  • NAM Team Pony and RHW's Dmitri Mendeleev.
Re: RHW (RealHighway) - Development and Support
« Reply #10184 on: July 09, 2012, 03:31:54 PM »
That will be incredibly useful.  Will it be possible to have a higher flex-fly crossing over a lower one? or is that unstable/impossible?

I asked the same exact thing long before I got involved with the NAM Team... Turns out, you just need even more complex RUL-2 code... But how do we organise it, let alone execute it?
Please note: NAM Team is Best Pony. NAM 31.1.
-----
Simtropolis | YouTube | MLP Forums

Sim City 4 Devotion Forums

Re: RHW (RealHighway) - Development and Support
« Reply #10184 on: July 09, 2012, 03:31:54 PM »

Re: RHW (RealHighway) - Development and Support

Offline Tarkus

  • *
  • *
  • *
  • *
  • *
  • *
  • Posts: 8195
  • Country: us
  • Reputation: 52
  • Gender: Male
  • It's the transport armadillo!
    • NAM HQ
  • CL: Dr. PuzzlePiece
Re: RHW (RealHighway) - Development and Support
« Reply #10185 on: July 09, 2012, 05:01:31 PM »
Just an FYI, I am at present "refactoring" the P57 RHW RUL2 code, which has slowed forward progress on my end for the moment.  But in the long run, it'll improve ease of maintenance with the code, which had gotten a bit . . . interesting . . . with RHW-over-RHW stability situations. 

-Alex

Sim City 4 Devotion Forums

Re: RHW (RealHighway) - Development and Support
« Reply #10185 on: July 09, 2012, 05:01:31 PM »

Re: RHW (RealHighway) - Development and Support

Offline jondor

  • *
  • Posts: 906
  • Country: us
  • Reputation: 17
  • Gender: Male
  • Kitty loves the NAM!
    • The Boys and Girls from the Dwarf
  • CL: Don't Cross Me
Re: RHW (RealHighway) - Development and Support
« Reply #10186 on: July 09, 2012, 06:34:01 PM »
That will be incredibly useful.  Will it be possible to have a higher flex-fly crossing over a lower one? or is that unstable/impossible?

I asked the same exact thing long before I got involved with the NAM Team... Turns out, you just need even more complex RUL-2 code... But how do we organise it, let alone execute it?

I've organized it in my head.  Execution remains a small sticking point, but I think it can be done.  In the meantime, I've got another P57 sub-project going.  FLEXFly over FLEXFly may or may not be in NAM 31, it depends on how much other work I can get done and how quickly.
All new animated railroad crossing props for networks of all sizes! (Phase 1 complete; Phase 2 currently on hold in favor of Project 57 development)--> http://sc4devotion.com/forums/index.php?topic=13209

Sim City 4 Devotion Forums

Re: RHW (RealHighway) - Development and Support
« Reply #10186 on: July 09, 2012, 06:34:01 PM »

Re: RHW (RealHighway) - Development and Support

Offline Jayster

  • *
  • Posts: 247
  • Country: us
  • Reputation: 0
  • Gender: Male
  • Mayhem is coming...
Re: RHW (RealHighway) - Development and Support
« Reply #10187 on: July 09, 2012, 09:23:47 PM »
Okay, so I've got a few questions about the design aspect of the elevated RHW pieces. The program I use is Rhino 4 because that is what I learned to use in high school. Very easy program to use that focuses on modeling with NURBS.

1. When imported, they are mesh objects. Why is this and is there anyway I can convert them to a NURBS object to make editing them easier? (There is a program that I can buy called Mesh To Solid but I'm not too keen on buying it...)

2. Textures? The model, when imported into Rhino doesn't have any textures when I render the scene. It doesn't have any textures in 3ds Max either. Where can I locate the textures for the elevated RHW pieces?

3. I'm currently working on a 45 degree transition piece from L0 to L2 for RHW4. Where can I find the piece for the 45 degree curve piece to place on the "floor" of the scene to model the transition from looking down on it so I get the right curve?

Hopefully someone can help me because it was really cool to get a piece into Rhino and just see the inner workings. Not to mention the WOW factor at how large the RHW4.dat was in general! Thanks for the help!

Jayster

Sim City 4 Devotion Forums

Re: RHW (RealHighway) - Development and Support
« Reply #10187 on: July 09, 2012, 09:23:47 PM »

Re: RHW (RealHighway) - Development and Support

Offline jondor

  • *
  • Posts: 906
  • Country: us
  • Reputation: 17
  • Gender: Male
  • Kitty loves the NAM!
    • The Boys and Girls from the Dwarf
  • CL: Don't Cross Me
Re: RHW (RealHighway) - Development and Support
« Reply #10188 on: July 09, 2012, 09:43:24 PM »
To answer your questions:

1. In both the S3D format native to SC4 and the 3DS format that we use as a go-between, the models are stored as meshes.  Even if you were to convert the models into NURBS, you'd have to turn them back into meshes to get them into the game.

2. The textures are not exported as part of the model, only the vertices and triangles are.  In order to get the textures to show up in any modelling program, you'll have to extract them and save them in a readable format (such as PNG).

3. The RHW-4 curve actually comes in two flavors, a shorter inner curve and a longer outer curve.  The full preview model for the shorter curve should be at 0x5E14D005 (or at least near there) and the longer at 0x5E14C005.  Also keep in mind that you'll have to split the full model into the 16mx16m chunks that SC4 expects in order to get it into the game. (Unless you use some funky advanced modding techniques).
All new animated railroad crossing props for networks of all sizes! (Phase 1 complete; Phase 2 currently on hold in favor of Project 57 development)--> http://sc4devotion.com/forums/index.php?topic=13209

Sim City 4 Devotion Forums

Re: RHW (RealHighway) - Development and Support
« Reply #10188 on: July 09, 2012, 09:43:24 PM »

Re: RHW (RealHighway) - Development and Support

Offline Jayster

  • *
  • Posts: 247
  • Country: us
  • Reputation: 0
  • Gender: Male
  • Mayhem is coming...
Re: RHW (RealHighway) - Development and Support
« Reply #10189 on: July 09, 2012, 10:14:40 PM »
To answer your questions:

1. In both the S3D format native to SC4 and the 3DS format that we use as a go-between, the models are stored as meshes.  Even if you were to convert the models into NURBS, you'd have to turn them back into meshes to get them into the game.

Don't mind at all about converting them back to meshes. Rhino offers that feature straight in the program. I also know that they have to be rotated 90 degrees when they are exported back into the game.

Quote
2. The textures are not exported as part of the model, only the vertices and triangles are.  In order to get the textures to show up in any modelling program, you'll have to extract them and save them in a readable format (such as PNG).


In what dat can I find the textures?

Quote
3. The RHW-4 curve actually comes in two flavors, a shorter inner curve and a longer outer curve.  The full preview model for the shorter curve should be at 0x5E14D005 (or at least near there) and the longer at 0x5E14C005.  Also keep in mind that you'll have to split the full model into the 16mx16m chunks that SC4 expects in order to get it into the game. (Unless you use some funky advanced modding techniques).

Perfect! Exactly what I was looking for! And no worries, it'll be easier to cut up the model into 16m x 16m chunks. A little difficult to explain how it is done but it isn't difficult at all.

Thanks for the help so far jondor! Hopefully somebody else can shed some light onto how to convert it to a solid. If worse comes to worse, I can always just re-draw the elevated piece I'm using as a NURBS object instead.

Jayster

Sim City 4 Devotion Forums

Re: RHW (RealHighway) - Development and Support
« Reply #10189 on: July 09, 2012, 10:14:40 PM »

Re: RHW (RealHighway) - Development and Support

Offline epicblunder

  • *
  • Posts: 141
  • Reputation: 0
Re: RHW (RealHighway) - Development and Support
« Reply #10190 on: July 09, 2012, 10:21:22 PM »
That will be incredibly useful.  Will it be possible to have a higher flex-fly crossing over a lower one? or is that unstable/impossible?

I asked the same exact thing long before I got involved with the NAM Team... Turns out, you just need even more complex RUL-2 code... But how do we organise it, let alone execute it?

I've organized it in my head.  Execution remains a small sticking point, but I think it can be done.  In the meantime, I've got another P57 sub-project going.  FLEXFly over FLEXFly may or may not be in NAM 31, it depends on how much other work I can get done and how quickly.

Wow.  With how finicky the FLEXFly pieces are I was expecting the answer to be a straight up 'NO' (and i have no idea what the whole RUL code thing is, i've never made transit lots).  Even if that doesn't turn out to be possible after all, all the new toys you guys are making for us look great.  And all those different level FLEXFly's..... /drool.

Keep up the phenominal work folks.   &apls

Sim City 4 Devotion Forums

Re: RHW (RealHighway) - Development and Support
« Reply #10190 on: July 09, 2012, 10:21:22 PM »

Re: RHW (RealHighway) - Development and Support

Offline Twyla

  • Vixena Insanitus
  • *
  • Posts: 86
  • Country: us
  • Reputation: 1
  • Gender: Female
  • Why are you reading this?!?
Re: RHW (RealHighway) - Development and Support
« Reply #10191 on: July 09, 2012, 10:27:40 PM »
Apologies if this has been asked before (no search query I could think of found anything) but...

Is pathing strictly relegated to the tile in question or can it overhang the way models/textures can?

Sim City 4 Devotion Forums

Re: RHW (RealHighway) - Development and Support
« Reply #10191 on: July 09, 2012, 10:27:40 PM »

Re: RHW (RealHighway) - Development and Support

Offline jdenm8

  • *
  • *
  • Posts: 1808
  • Country: au
  • Reputation: 6
  • AAAAAAAAAAAA!
    • CSGforums
  • CL:
    Simphony Conductor
Re: RHW (RealHighway) - Development and Support
« Reply #10192 on: July 09, 2012, 10:39:26 PM »
They can, but it only works when perpendicular to the direction of travel.

To simplify it a bit, when a path enters on the Eastern side and exits on the Western side we can move the path further than 8m on either side (North or South). However, we cannot move it further than 8m away from the centre on the East or West sides.

At least, that's my understanding of it.

Also, as far as I'm aware, this does not work with Pedestrian paths, they will snap to the edges of the tile in-game.


"We’re making SimCity, not some dopey casual game." -Ocean Quigley

Sim City 4 Devotion Forums

Re: RHW (RealHighway) - Development and Support
« Reply #10192 on: July 09, 2012, 10:39:26 PM »

Re: RHW (RealHighway) - Development and Support

Online GDO29Anagram

  • *
  • Posts: 1219
  • Country: us
  • Reputation: 7
  • Gender: Male
  • NAM Team Pony and RHW's Dmitri Mendeleev.
Re: RHW (RealHighway) - Development and Support
« Reply #10193 on: July 09, 2012, 10:40:19 PM »
A little insight on how things work with the FlexFlys: At the core is the Controller, consisting of RUL-0, 1, and 2. RUL-0 is used to actually place it down, RUL-1 is used for the anchor tiles as well as drawing perpendicular through it, and RUL-2 is used to initiate the network overrides for dragging RHW-2 into the anchor tiles so that it converts to MIS (or elevated MIS), initiating the overrides that convert the other five tiles into a flyover, initiating the same override when something crosses those five tiles, and carrying over the network override wherever it crosses.

End result: Overridable puzzle piece. The bulk of it is all RUL-2, and with enough of it, you can override a FlexFly with another. Never underestimate the power of RUL-2; It's what holds most of the NAM together.

And for paths, they can overhang. I tried it once but I have found that they don't work great with cars entering or exiting outside the original boundaries... Look at the diag end stubs for, say, TLA-3 and the blue paths actually jet out of the boundary lines.

Let me guess: You had a curiosity with the 6S diagonal.
« Last Edit: July 09, 2012, 10:42:40 PM by GDO29Anagram »
Please note: NAM Team is Best Pony. NAM 31.1.
-----
Simtropolis | YouTube | MLP Forums

Sim City 4 Devotion Forums

Re: RHW (RealHighway) - Development and Support
« Reply #10193 on: July 09, 2012, 10:40:19 PM »

Re: RHW (RealHighway) - Development and Support

Offline jondor

  • *
  • Posts: 906
  • Country: us
  • Reputation: 17
  • Gender: Male
  • Kitty loves the NAM!
    • The Boys and Girls from the Dwarf
  • CL: Don't Cross Me
Re: RHW (RealHighway) - Development and Support
« Reply #10194 on: July 09, 2012, 10:52:12 PM »
@Jayster  You'll find the FSH files in the same RHW-4 dat file.  I don't recall if those curves use the old separate flat-plane textures or if it was updated to a MORPH model. (Basically a triangle strip UV mapped onto the ortho texture).
All new animated railroad crossing props for networks of all sizes! (Phase 1 complete; Phase 2 currently on hold in favor of Project 57 development)--> http://sc4devotion.com/forums/index.php?topic=13209

Sim City 4 Devotion Forums

Re: RHW (RealHighway) - Development and Support
« Reply #10194 on: July 09, 2012, 10:52:12 PM »

Re: RHW (RealHighway) - Development and Support

Offline jdenm8

  • *
  • *
  • Posts: 1808
  • Country: au
  • Reputation: 6
  • AAAAAAAAAAAA!
    • CSGforums
  • CL:
    Simphony Conductor
Re: RHW (RealHighway) - Development and Support
« Reply #10195 on: July 09, 2012, 11:17:32 PM »
@jondor, Jayster, they're flat pane because of the different diagonal width. The MORPH versions will be in NAM31.


"We’re making SimCity, not some dopey casual game." -Ocean Quigley

Sim City 4 Devotion Forums

Re: RHW (RealHighway) - Development and Support
« Reply #10195 on: July 09, 2012, 11:17:32 PM »

Re: RHW (RealHighway) - Development and Support

Offline MandelSoft

  • The Dutch Freeway Engineer
  • *
  • *
  • *
  • Posts: 3588
  • Country: nl
  • Reputation: 21
  • Gender: Male
  • Got Autism and proud of it!
  • CL:
    Let there be Light!
Re: RHW (RealHighway) - Development and Support
« Reply #10196 on: July 10, 2012, 01:56:25 AM »
@Jayster: I could deliver the MORPH versions if you want to...

Sim City 4 Devotion Forums

Re: RHW (RealHighway) - Development and Support
« Reply #10196 on: July 10, 2012, 01:56:25 AM »

Re: RHW (RealHighway) - Development and Support

Offline Twyla

  • Vixena Insanitus
  • *
  • Posts: 86
  • Country: us
  • Reputation: 1
  • Gender: Female
  • Why are you reading this?!?
Re: RHW (RealHighway) - Development and Support
« Reply #10197 on: July 10, 2012, 03:02:11 AM »
Let me guess: You had a curiosity with the 6S diagonal.
Actually, I was curious about a possible approach to more complex flyovers.

Still toying with models and such, but here's the general premise:

*  0|1|2|3|4|
0 |O|O|-|-|-|
1 |O|O|O|-|-|
2 |-|O|M|P|P|
3 |-|-|P|P|P|
4 |-|-|P|P|-|

M = Main 'Anchor' of the 5x5 Ramp
O = Overhanging Pieces
P = 'Normal' Pieces

The basic design would enable users to construct the flyover portion of 4-level stack interchanges with only two components - one being the mirror of the other.  Fully constructed, the interchange would be mirrored along both 0-axise - 10x10 tiles in total size, bisected both ways with a 'clear' path 4 tiles wide (for the placement of RHWs).

The 'actual' component would only occupy the area from 2.2 to 4.4 - the flyover ramps themselves would be overhanging models (which I've seen done plenty of times, so that's no problem).  The question is:  Could the pathing information for the overhanging pieces be contained as part of the 'Main Anchor'? 

If so, it would mean that the overhanging flyovers would permit normal traffic without any regard for whatever happens to be running beneath them.

Sim City 4 Devotion Forums

Re: RHW (RealHighway) - Development and Support
« Reply #10197 on: July 10, 2012, 03:02:11 AM »

Re: RHW (RealHighway) - Development and Support

Offline jondor

  • *
  • Posts: 906
  • Country: us
  • Reputation: 17
  • Gender: Male
  • Kitty loves the NAM!
    • The Boys and Girls from the Dwarf
  • CL: Don't Cross Me
Re: RHW (RealHighway) - Development and Support
« Reply #10198 on: July 10, 2012, 03:19:16 AM »
Unfortunately, that's not possible.  Even with slightly overhanging paths, the simulator needs a tile-by-tile path to follow.  It won't try to jump diagonally corner to corner without passing through one of the adjacent tiles, much less skip over several tiles that for all intents and purposes are a black hole to the tile in question.

Models can overhang because to the simulator, they don't exist.  They're purely visual.  Give a model a 500 meter offset and the game will happily go draw it, but it means nothing to the simulation engine.
All new animated railroad crossing props for networks of all sizes! (Phase 1 complete; Phase 2 currently on hold in favor of Project 57 development)--> http://sc4devotion.com/forums/index.php?topic=13209

Sim City 4 Devotion Forums

Re: RHW (RealHighway) - Development and Support
« Reply #10198 on: July 10, 2012, 03:19:16 AM »

Re: RHW (RealHighway) - Development and Support

Offline Blue Lightning

  • *
  • *
  • Posts: 1062
  • Country: us
  • Reputation: 15
  • Gender: Male
Re: RHW (RealHighway) - Development and Support
« Reply #10199 on: July 10, 2012, 08:22:46 AM »
In addition, with some experimentation I did a long time ago, two 45 degree curves would work a lot better than one 5x5 curve, mainly because with the 45 degree curves, you can have any two widths crossing each other without the need for new pieces (and therefore, saving hundreds of thousands lines of code).  Need to build a stack with a 10 tile wide collector/express setup? Done. Although we are considering making the RHW-4 90 degree curve 5x5, since 4x4 is far too sharp.

4x4 90 degree pieces can form T stacks with any width though, due to the nature of such interchanges.
« Last Edit: July 10, 2012, 08:24:39 AM by Blue Lightning »

Visit my CJ, Aydina! (Updated every ~1-2 weeks or so)

RHW Project

Sim City 4 Devotion Forums

Re: RHW (RealHighway) - Development and Support
« Reply #10199 on: July 10, 2012, 08:22:46 AM »

 


If you experience visual glitches in our site, we strongly suggest you to use Firefox to browse the forums. Also a 1024*768 or higher resolution is highly recommended to view this site