• Welcome to SC4 Devotion Forum Archives.
 

News:

The SC4 Devotion Forums are no longer active, but remain online in an archived, read-only "museum" state.  It is not possible for regular members to post or use the private messaging system, and no technical support will be provided for any issues pertaining to the forums in their current state.  Attachments (those that still work) are accessible without login.

The LEX has been replaced with SC4Evermore (SC4E), and SC4E maintains an active Discord server.  For traditional forums, we recommend Simtropolis.

Main Menu

Making Models for Transit Networks: Some General Specifications

Started by Tarkus, February 22, 2008, 05:33:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mtg

I can't find the S3D that does the right turn part so I tried to mirror the last codes in the lines, gave me some weird stuff, so I guess there's a part that I can's find or I have to mirror them and rotate them again?

Jonathan

The last 2 lines I dont think you need:


0x5de4b500,0,0,0x5e004d00,0,0=0x5de4b500,0,0,0x5de4d500,3,0
0x5de4b500,2,0,0x5e004d00,0,0=0x5de4b500,2,0,0x5de4d500,3,0

For override networks, the orth textures will be going from left to right. But because most(if not all) orth maxis textures go up<>down we've used that as the standard. So you only use rotations 1 and 3 (of course there are some exceptions to this rule)

Let me show you what those two lines are in pictures:

As you can see they do not work.


EDIT: You mirror functions in the RULs will just flip the model and the texture, it will not change what colour line is on what side of the MIS. You need to find the other curve of the MIS. I don't know the IIDs of RHW pieces and sadly there is no list.

Jonathan


mtg

Ok. than I'll scout in the list of the RHW dat for the S3D  %confuso

Tarkus

Quote from: Jonathan on March 18, 2010, 01:03:00 PM
You mirror functions in the RULs will just flip the model and the texture, it will not change what colour line is on what side of the MIS. You need to find the other curve of the MIS. I don't know the IIDs of RHW pieces and sadly there is no list.

There is, albeit most of it is in my head.  The other IID you'd want would be 0x5de5d200 . . . so your 30m EMIS piece would be at 0x5de5d500.

Here's the basics of how the MIS IID scheme works.  The basic pattern is 0x5DEnnh00, where h is the height level (1=ground, 2=15m, 3=7.5m, 4=22.5m, 5=30m--yes, the plan is for a 5 level system).  A few of the basic nn values are as follows:

00-Orthogonal Stub
01-Diagonal Stub 1
02-Diagonal Stub 2
0A-Diagonal 1
0C-Orth-Diag Top 1
0F-90-Degree Bend 1 (0Fh80--additional part of 90-Degree Sharp MIS bend, new to Version 4.0)
1A-Diagonal 2
1C-Orth-Diag Top 2
1F-90-Degree Bend 2 (1Fh80--additional part of 90-Degree Sharp MIS bend, new to Version 4.0)
4B-Orthogonal
4D-Orth-Diag Bottom 1
5D-Orth-Diag Bottom 2

All the RHW networks have something relatively similar in place, with minor variation.

-Alex

mtg


mtg

I checked it out but 0x5de5d200 is also a right turn, and I'm looking for a left turn? 



Jonathan

Sorry I think I used the wrong term, you aren't looking for the left/right curve your looking for the curve with the lines on the opposite side.

Jonathan

mtg


mtg


Jonathan

Good :)
Do you see that if you flip the curve you have currently it will curve in the correct direction and the lines will be on the correct side.

To flip it just change last zero in your lines of RUL to 1.

But I can't remember if this flips the piece horizontally or vertically. So should it flip it the wrong way (you will now by checking in game)you will need to put the rotation of the piece to it's opposite.

The opposite of rotations are just 0<>2, and 1<>3

So the opposite of 1 is 3, etc.

Jonathan

mtg

Flipping and rotating worked! I just think there's still something wrong on the rotations of the starter piece..


Korot

Did you also alter the rotation/mirror of the MIS piece after the '=' sign?

Regards,
Korot

mtg

;HEMIS  network
0x5de4b500,1,0,0x5E004B00,1,0=0x5de4B500,1,0,0x5de4B500,1,0
0x5de4b500,3,0,0x5E004B00,3,0=0x5de4B500,3,0,0x5de4B500,3,0
0x5de4b500,1,0,0x5e004b00,3,0=0x5de4b500,1,0,0x5de4b500,3,0
0x5de4b500,3,0,0x5e004b00,1,0=0x5de4b500,3,0,0x5de4b500,1,0

;HEMIS Corner
0x5de4b500,1,0,0x5e004d00,3,0=0x5de4b500,1,0,0x5de5d500,3,1
0x5de4b500,3,0,0x5e004d00,3,0=0x5de4b500,3,0,0x5de5d500,3,1



This is the code I have so far, I think the problem lies within the first four lines

Korot

Have you tried re-dragging the network along the broken spot?

Regards,
Korot

Jonathan

Each time you change the RULs you have to redrag through previously made tils that are involved in the RULs you changed, in order to see the change.

Quote0x5de4b500,1,0,0x5E004B00,1,0=0x5de4B500,1,0,0x5de4B500,1,0
0x5de4b500,3,0,0x5E004B00,3,0=0x5de4B500,3,0,0x5de4B500,3,0
0x5de4b500,1,0,0x5e004b00,3,0=0x5de4b500,1,0,0x5de4b500,3,0
0x5de4b500,3,0,0x5e004b00,1,0=0x5de4b500,3,0,0x5de4b500,1,0

The underlined rotations is correct as the 1st tile in override networks stays the same (only in rare special cases does it not)

But as the MIS is not symmetrical, you want the second tile to be in the same rotation as the first tile so you need to make the bolded 3 into 1 and the bolded 1 into 3 to match the first tile.

if the MIS was symetrical then your code would be correct as we generally keep the rotations the same as their pre = sign counterparts.

(in the STR we make sure the STR textures are the same orientation as the Maxis ones so we don't have to worry about the rotations, we just copy them from before the = sign)

Jonathan

mtg

Perfect, now lets get in to the rest of the diagonals, that will be a nice practice on rotations  ;D



Blue Lightning

Also known as Wahrheit

Occasionally lurks.

RHW Project

mtg

 :party: I think I'm getting the rotation and flip stuff now  ;D