Jak zmienić podkład mapy w edytorze we własnej mapie

Polish
Locked
shipi249
Posts: 6
Joined: 24 Mar 2014 17:09

25 Sep 2015 23:24

Witam !!
Chciałbym zrobić swoją mapę na własnym podkładzie. Mianowicie, gdy wpiszę edit w konsoli chcę zamienić czerwony podkład na własny. Proszę o pomoc gdyż nie wiem jak to zamienić. Jeżeli temat się powtórzył z góry przepraszam. Chciałbym uzyskać pomoc i dowiedzieć się jak to zrobić ponieważ nigdzie nie mogę znaleźć poradnika jak zrobić podkład do własnej mapy. Za pomoc z góry dziękuję.

User avatar
Vøytek
Developer
Posts: 10276
Joined: 05 Jan 2014 19:38
Location: Prague, Czech Republic
Contact:

26 Sep 2015 04:28

Cześć.
Osobiście się tym nie zajmowałem ale po wygooglowaniu wyskakuje coś takiego, niestety przez 2 lata coś mogło się zmienić w edytorze ale wątpię by akurat zmienianie tła wyglądało inaczej. Wydaje się skomplikowane ale gdy się człowiek bawi skinami do ciężarówek czy naczep to powinien ogarnąć. Nie wiem jakie masz doświadczenie w programach graficznych i ogólnie kombinowaniu z plikami. Jeśli nie łapiesz po angielsku, to po południu mogę Ci przetłumaczyć.
Hi,

If you are asking how to view the background image whilst in the editor then you press "A"

If you want to change the background image then you need to create a mod..

To do this you need an extracted copy of the base.scs once you have that you need to look in its folder tree material/editor/europe_bgn.dds you need to copy that .dds onto your desktop for now.

Now close the extracted base.scs folder you no longer need that.

On your desktop create a new folder and name it material, now open that folder and create a folder in the material folder and name that editor, now get the copied europe_bgn.dds from your desktop and place it inside the newly created editor folder.

You can now edit the europe_bgn.dds file providing you have either DXTBMP (to open the .dds and send it to image editor) or a image editing software with a plugin that supports .dds format

Once edited you need to save it as a .dds image and then you can zip up the files (right click on the material folder and click on Add to archive) using the zip and store options in your zip program and name it something like mapbackground.scs.zip and click ok to zip the file, then just right click and rename and remove the .zip from the zip files name and you will be left with mapbackground.scs

Place mapbackground.scs into your mod folder and run the game, when you press "A" in editor you will now see your edited map background ..
Image
Currently working on: various stuff
#1 forum spammer
Enjoying PM since 1.52
YouTube channel [PL]: http://youtube.pl/vooytek

shipi249
Posts: 6
Joined: 24 Mar 2014 17:09

09 Oct 2015 22:34

No więc tak, chodzi o to że chcę zrobić własną mapę i chciałbym ją zrobić na własnym podkładzie. Gdy wpisuję edit i wciskam "A" wyskakuje czerwony podkład z dużym napisem texture not found. Chciałbym zamienić to na własny podkład na podstawie którego zrobię własną mapę. Proszę o pomoc

User avatar
Vøytek
Developer
Posts: 10276
Joined: 05 Jan 2014 19:38
Location: Prague, Czech Republic
Contact:

09 Oct 2015 23:32

Wszystko masz w poście powyżej. Czego tam nie załapałeś?
Image
Currently working on: various stuff
#1 forum spammer
Enjoying PM since 1.52
YouTube channel [PL]: http://youtube.pl/vooytek

shipi249
Posts: 6
Joined: 24 Mar 2014 17:09

10 Oct 2015 12:00

Tego:

http://zmniejszacz.pl/zdjecie/320/3458212_mapeditor.PNG

Mimo że zrobiłem to co w tym poście było.

User avatar
Vøytek
Developer
Posts: 10276
Joined: 05 Jan 2014 19:38
Location: Prague, Czech Republic
Contact:

10 Oct 2015 12:17

Hmm. Albo zrobiłeś błąd w archiwum albo z teksturą tła. W game.log coś wyskakuje?
Image
Currently working on: various stuff
#1 forum spammer
Enjoying PM since 1.52
YouTube channel [PL]: http://youtube.pl/vooytek

shipi249
Posts: 6
Joined: 24 Mar 2014 17:09

10 Oct 2015 12:25

00:00:00.241 : [ufs] Home directory: 'C:/Users/Filip/Documents/Euro Truck Simulator 2'.
00:00:00.255 : [zipfs] mapbackground.scs: read ok, 3 entries [0]
00:00:00.256 : <WARNING> [mod] Mod package 'mapbackground' does not contain a manifest file 'manifest.sii', creating default information set.
00:00:00.264 : exec /home/config.cfg

User avatar
Vøytek
Developer
Posts: 10276
Joined: 05 Jan 2014 19:38
Location: Prague, Czech Republic
Contact:

10 Oct 2015 13:25

No nie. Tutaj wszystko w porządku. Plik "manifest.sii" odpowiada tylko za opis modyfikacji w Mod Managerze i nie jest wymagany.
Postaram się dziś zrobić jakieś tło do edytora i spróbuję to sprawdzić, dam Ci wtedy znać czy zadziałało i jak to zrobiłem.
Image
Currently working on: various stuff
#1 forum spammer
Enjoying PM since 1.52
YouTube channel [PL]: http://youtube.pl/vooytek

shipi249
Posts: 6
Joined: 24 Mar 2014 17:09

10 Oct 2015 13:31

Z tym modem jest tak że gdy wczytuję mapę europy poprzez wpisanie w konsoli "edit europe" ten podkład z modu jest. Gdy z edycji mapy europe wcisnę new map też jest ale gdy wpisuję w konsoli samo "edit" albo gdy chcę odpalić tą mapkę którą zrobiłem na podkładzie z tego new map tego tła nie ma i jest to texture not found na czerwonym tle.

shipi249
Posts: 6
Joined: 24 Mar 2014 17:09

11 Oct 2015 15:17

Znalazłem coś takiego na forum

http://www.promods.net/viewtopic.php?f=7&t=1302

Chodzi o ten post

You can make it work for a stand-alone map. Here's what you have to do.

- First, you have to edit the editor_data.sii or you can make a new one (editor_data.yourmapmod.sii). The contents of the file look like this (everything starting with # is a comment)

SiiNunit
{
# Editor data definition goes here. Standard value: .edit_data
# To create a new entry, if you want to edit something else, give it a new name, like here (.edit custom)
editor_data : .edit_custom{

# Here's the interval of the autosave. Could be useful to prevent loss of progress when the editor crashes
autosave_interval: 15

# The following data shouldn't be changed usually up to the next comment.
startpos_model: "/vehicle/ai/focus_2009/lod.pmd"
startpos_rotate_speed: 16.0

stamp_count_warning: 40
road_length_warning: 330

free_camera_uplift: 8.5
sub_mode_names[]: "road_item"
sub_mode_names[]: "prefab_item"
sub_mode_names[]: "buildings_item"
sub_mode_names[]: "model_item"
sub_mode_names[]: "animated_model_item"
sub_mode_names[]: "walker_item"
sub_mode_names[]: "trigger_item"
sub_mode_names[]: "services_item"
sub_mode_names[]: "cut_plane_item"
sub_mode_names[]: "mover_item"
sub_mode_names[]: "city_item"
sub_mode_names[]: "no_weather_item"
sub_mode_names[]: "company_item"
sub_mode_names[]: "hinge_item"
sub_mode_names[]: "map_overlay_item"
sub_mode_names[]: "sound_item"
sub_mode_names[]: "ferry_item"
sub_mode_names[]: "camera_point_item"

# The center of your map underlay in game XYZ-co-ordinates.
# TIP: Usually, when moving the cursor around the editor, these co-ordinates are displayed in the bottom panel with all the buttons.
map_import_offset: (-43402, 0, -28089)



# Name of the map binary data file. Standard: "/map/europe.mbd"
bcg_map_name[]: "/map/custom.mbd"
# Reference to the material that's used for the background image. Standard: "/material/editor/custom.mat"
bcg_material[]: "/material/editor/custom.mat"
# The size and offset of the map in XY in-game co-ordinates.
bcg_size_x[]: 120000
bcg_size_y[]: 120000
bcg_offset_x[]: -3300
bcg_offset_y[]: 0


@include "/custom/editor_data.sii"

}
}

Second, you need a MAT file, a SCS file and a DDS file for the new map texture. If you want to stick to the standard and don't want to make a hassle with modding the SCS and MAT file (the Quick 'n Dirty route), just extract and edit Europe.dds with a custom map image, which I actually did for Stockholm.

It might take some time to fit the map so take good care with that and expect to tweak and tweak again the size and position values. But once that's done, the result can look like this:

I hope this will answer your question.

Best,
Mandelsoft

Tylko nie za bardzo rozumiem jak to zrobić



Locked

Return to “Polski”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 13 guests