Strefa OMSI

Pełna wersja: [usunięto] Pyt dotyczące splinu
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
Stron: 1 2
Witam mam otóż problem ponieważ nie wiem jak edytować splin żeby dodać do niego tory tramwajowe i tak gdzie są tory tramwajowe zablokować ruch pojazdów.
Screen
Przed Edycją
http://scr.hu/9vti/0xxt2
Tak To Ma Po Edycji Wyglądać
http://scr.hu/9vti/rs9n8
Musisz usunąć odpowiedni [path] oraz [profilpent]. Wyślij mi kod tego splina to Ci to zrobie
Kod:
File created with StreetCreator v1.000

---------------------------
      Height Profiles
---------------------------

[heightprofile]
-14.700
-9.700
0.250
0.250

[heightprofile]
-9.700
-0.600
0.100
0.100

[heightprofile]
-0.600
0.600
0.250
0.250

[heightprofile]
0.600
9.700
0.100
0.100

[heightprofile]
9.700
14.700
0.250
0.250

---------------------------
         Textures
---------------------------

[texture]
str_gehweg03.bmp

[texture]
str_asphdrk_1line_bus.bmp

[texture]
str_asphdrk_2line_bus.bmp

[texture]
str_asphdrk_1line.bmp

[texture]
str_kopfstein.bmp

---------------------------
     Graphical Lanes
---------------------------

Left sidewalk:

[profile]
0

[profilepnt]
-14.700
0.250
0.005
0.200

[profilepnt]
-9.700
0.250
0.973
0.200

[profile]
0

[profilepnt]
-9.700
0.250
0.973
0.200

[profilepnt]
-9.700
0.100
0.995
0.200

Lane:

[profile]
1

[profilepnt]
-9.700
0.100
0.995
0.167

[profilepnt]
-6.600
0.100
0.005
0.167

Lane:

[profile]
2

[profilepnt]
-6.600
0.100
0.995
0.167

[profilepnt]
-3.600
0.100
0.005
0.167

Lane:

[profile]
3

[profilepnt]
-3.600
0.100
0.005
0.167

[profilepnt]
-0.600
0.100
0.995
0.167

Grass strip:

[profile]
4

[profilepnt]
-0.600
0.100
0.995
0.200

[profilepnt]
-0.600
0.250
0.973
0.200

[profile]
4

[profilepnt]
-0.600
0.250
0.973
0.200

[profilepnt]
0.000
0.250
0.360
0.200

Grass strip:

[profile]
4

[profilepnt]
0.000
0.250
0.360
0.200

[profilepnt]
0.600
0.250
0.973
0.200

[profile]
4

[profilepnt]
0.600
0.250
0.973
0.200

[profilepnt]
0.600
0.100
0.995
0.200

Lane:

[profile]
3

[profilepnt]
0.600
0.100
0.995
0.167

[profilepnt]
3.600
0.100
0.005
0.167

Lane:

[profile]
2

[profilepnt]
3.600
0.100
0.005
0.167

[profilepnt]
6.600
0.100
0.995
0.167

Lane:

[profile]
1

[profilepnt]
6.600
0.100
0.005
0.167

[profilepnt]
9.700
0.100
0.995
0.167

Right sidewalk:

[profile]
0

[profilepnt]
9.700
0.100
0.995
0.200

[profilepnt]
9.700
0.250
0.973
0.200

[profile]
0

[profilepnt]
9.700
0.250
0.973
0.200

[profilepnt]
14.700
0.250
0.005
0.200

---------------------------
          Paths
---------------------------

[path]
1
-12.700
0.250
1.664
2

[path]
0
-8.150
0.100
3.131
1

[path]
0
-5.100
0.100
3.030
1

[path]
0
-2.100
0.100
3.030
1

[path]
0
2.100
0.100
3.030
0

[path]
0
5.100
0.100
3.030
0

[path]
0
8.150
0.100
3.131
0

[path]
1
12.700
0.250
1.664
2
Sprawdź plik tekstowy torów tramwajowych ze szczecina pojedynczych. To co pokazałeś środek splinu wychodzi na środku drogi. Oblicz sobie długość całkowitą splina tramwajowego i wstaw sobie (może być nawet na końcu ścieżek przed odnośnikiem [path] w zasadzie możesz dodać sama teksturę torowiska. bez szyn. wtedy wystarczy np.

[profile]
0

[profilepnt]
-3.000
0.250
0.005
0.200

[profilepnt]
-0.500
0.250
0.973
0.200

przyjolem przyjąłem ze szerokość torowiska to 2,5m
na szybko robione musiałbym mieć pliki swoje i kompa i daje to na laptopie na szybko. analogicznie drugie torowisko po prawej stronie drogi

[profile]
0

[profilepnt]
0.500
0.250
0.005
0.200

[profilepnt]
3.000
0.250
0.973
0.200

aczkolwiek jak jesteś leniwy możesz ustawić tą drogę co masz i pojedynczo każde torowisko nałożyć od góry.
Za skomplikowanie pewnie tłumacze, ale tak to jest jak się już człowiek obezna w temacie i ma skrócone toki myślowe haha pozdrawiam.
A jak to ma wyglądać co mam usunąć pls powiedz.
napisz mi plik po edycji które trzeba tylko wkleić proszę

Ps jak to zrobiłem to mi się takie coś pojawiło
http://scr.hu/9vti/xs4he
Musisz zmienic wartosc [profile] na pozycje, na ktorej znajduje sie tekstura torowiska
nie rozumiem a gdzie ta pozycja
Tak od początku do końca nie da się tego wytłumaczyć, aczkolwiek jest samouczek i jest tam wszystko opisane krok po kroku - polecam go przeczytać dokładnie i przynajmniej miedz ta wiedze, za co konkretna linijka odpowiada.
Kod:
---------------------------
         Textures
---------------------------

[texture]
str_gehweg03.bmp

[texture]
str_asphdrk_1line_bus.bmp

[texture]
str_asphdrk_2line_bus.bmp

[texture]
str_asphdrk_1line.bmp

[texture]
str_kopfstein.bmp
Musisz dopisac
Kod:
[texture]
tekstura_torowiska.bmp
i zmienic [profile] z 0 na 5
ale gdzie on jest w omsi 1

Witam Zrobiłem tak
dodałem
Kod:
Tramwaj:

[profile]
7

[profilepnt]
-3.000
0.250
0.005
0.200

[profilepnt]
-0.500
0.250
0.973
0.200

[profile]
7

[profilepnt]
0.500
0.250
0.005
0.200

[profilepnt]
3.000
0.250
0.973
0.200
dodałem
Cytat:[texture]
rail_bue_1.bmp

[texture]
rail_01.bmp

i mam jeszcze jeden problem ponieważ chiał bym żeby szyny były na drodze a nie nad drogą i żeby nie było ruchu ai aut
Stron: 1 2
Przekierowanie