Modscenter • Centrum modyfikacji do gier
Jak dodać Miasto do German truck simulator oraz jak do tych miast dopisać firmy - Wersja do druku

+- Modscenter • Centrum modyfikacji do gier (https://modscenter.pl)
+-- Dział: Symulatory (https://modscenter.pl/forum_symulatory_1153)
+--- Dział: Inne Symulatory (https://modscenter.pl/forum_inne-symulatory_995)
+---- Dział: German Truck Simulator (https://modscenter.pl/forum_german-truck-simulator_80)
+----- Dział: Pomoc (https://modscenter.pl/forum_pomoc_82)
+------ Dział: Poradniki (https://modscenter.pl/forum_poradniki_440)
+------ Wątek: Jak dodać Miasto do German truck simulator oraz jak do tych miast dopisać firmy (/thread_jak-doda%C4%87-miasto-do-german-truck-simulator-oraz-jak-do-tych-miast-dopisa%C4%87-firmy_36250)



Jak dodać Miasto do German truck simulator oraz jak do tych miast dopisać firmy - Zygzaczeq - 25-07-2019

Poradnik jest opisany przez mnie, ale do rzeczy.

1. wyciągamy plik sii miasta z katalogu def/city z pliku base.scs
2. W pliku musi być tak:

Cytat:SiiNunit
{
city_data: city.ulm
{
city_name: "Ulm"
short_city_name: "Ulm"
ui_x: 230
ui_y: 394
ui_name_align: left


map_x_offsets[0]: 0
map_x_offsets[1]: -10
map_x_offsets[2]: 0
map_x_offsets[3]: -20
map_x_offsets[4]: -15

map_y_offsets[0]: 25
map_y_offsets[1]: -28
map_y_offsets[2]: -30
map_y_offsets[3]: -18
map_y_offsets[4]: -15

vehicle_brands[]: "man.tgx"
vehicle_brands[]: "daf.xf"
vehicle_brands[]: "mercedes.actros"
vehicle_brands[]: "renault.magnum"
}
}
3. pakujemy to do archiwum scs i wrzucamy do folderu MOD
4. Odpalamy edytor i Wciskamy new city, i wybieramy miejsce, w tym przypadku Między Monachium a Stuttgart.

5. Dodajcie prefaby firm np: Tradeaux czy stokes.
6. Zapisujemy mapę.
7. Wchodzimy do archiwum z własnym miastem, aby mieć przypisane firmy tworzymy katalog
 a) def/company
 b) def/initial_save/normal
8. Musimy mieć takie pliki sii w tych katalogach
9. przerzucamy plik game.sii, garages_new_game.sii, companies_new_game.sii  w katalogu initial_save/normal. ale nie ruszamy pliku info.sii
10. dodajemy w tych plikach definicje miasta. i ma to wyglądać tak:

Cytat:SiiNunit
{

economy: .economy
{
new_game: true

employee_mode: true

player: .player
bank: .bank
game_log: .log
game_progress: .progress
event_queue: .events
police_ctrl: .police
tutorial_ctrl: .tutorial
mail_ctrl: .mailbox

// Starting time in minutes.

game_time: 600

companies[]: company.volatile.euroacres.nurnberg
companies[]: company.volatile.euroacres.erfurt
companies[]: company.volatile.euroacres.dresden
companies[]: company.volatile.euroacres.bremen
companies[]: company.volatile.euroacres.magdeburg
companies[]: company.volatile.euroacres.berlin
companies[]: company.volatile.euroacres.salzburg
companies[]: company.volatile.euroacres.wien

companies[]: company.volatile.eurogoodies.berlin
companies[]: company.volatile.eurogoodies.erfurt
companies[]: company.volatile.eurogoodies.munchen
companies[]: company.volatile.eurogoodies.leipzig
companies[]: company.volatile.eurogoodies.bremen
companies[]: company.volatile.eurogoodies.magdeburg
companies[]: company.volatile.eurogoodies.kiel
companies[]: company.volatile.eurogoodies.innsbruck
companies[]: company.volatile.eurogoodies.salzburg
companies[]: company.volatile.eurogoodies.wien

companies[]: company.volatile.stokes.kiel
companies[]: company.volatile.stokes.nurnberg
companies[]: company.volatile.stokes.wien

companies[]: company.volatile.bcp.munchen
companies[]: company.volatile.bcp.stuttgart
companies[]: company.volatile.bcp.berlin

companies[]: company.volatile.fcp.dusseldorf
companies[]: company.volatile.fcp.leipzig
companies[]: company.volatile.fcp.bremen

companies[]: company.volatile.itcc.koln
companies[]: company.volatile.itcc.rostock
companies[]: company.volatile.itcc.linz

companies[]: company.volatile.kaarfor.munchen
companies[]: company.volatile.kaarfor.dortmund
companies[]: company.volatile.kaarfor.frankfurt

companies[]: company.volatile.lkwlog.duisburg
companies[]: company.volatile.lkwlog.stuttgart
companies[]: company.volatile.lkwlog.hamburg

companies[]: company.volatile.nbfc.berlin
companies[]: company.volatile.nbfc.duisburg
companies[]: company.volatile.nbfc.linz

companies[]: company.volatile.posped.koln
companies[]: company.volatile.posped.bremen
companies[]: company.volatile.posped.kiel
companies[]: company.volatile.posped.linz

companies[]: company.volatile.sanbuilders.erfurt
companies[]: company.volatile.sanbuilders.nurnberg
companies[]: company.volatile.sanbuilders.hamburg
companies[]: company.volatile.sanbuilders.berlin
companies[]: company.volatile.sanbuilders.salzburg

companies[]: company.volatile.sellplan.dresden
companies[]: company.volatile.sellplan.rostock
companies[]: company.volatile.sellplan.magdeburg
companies[]: company.volatile.sellplan.dusseldorf
companies[]: company.volatile.sellplan.wien

companies[]: company.volatile.tradeaux.frankfurt
companies[]: company.volatile.tradeaux.rostock
companies[]: company.volatile.tradeaux.hannover
companies[]: company.volatile.tradeaux.ulm

companies[]: company.volatile.transinet.dresden
companies[]: company.volatile.transinet.hamburg
companies[]: company.volatile.transinet.dortmund
companies[]: company.volatile.transinet.salzburg

companies[]: company.volatile.trameri.dresden
companies[]: company.volatile.trameri.hannover
companies[]: company.volatile.trameri.nurnberg
companies[]: company.volatile.trameri.innsbruck

companies[]: company.volatile.tree_et.frankfurt
companies[]: company.volatile.tree_et.stuttgart
companies[]: company.volatile.tree_et.leipzig
companies[]: company.volatile.tree_et.hannover
companies[]: company.volatile.tree_et.dortmund
companies[]: company.volatile.tree_et.innsbruck

companies[]: company.volatile.wgcc.frankfurt
companies[]: company.volatile.wgcc.munchen

companies[]: company.volatile.quarry_dm.dortmund
companies[]: company.volatile.quarry_st.stuttgart
companies[]: company.volatile.quarry_han.hannover
companies[]: company.volatile.quarry_sb.salzburg

garages[]: garage.berlin
garages[]: garage.bremen
garages[]: garage.dortmund
garages[]: garage.dresden
garages[]: garage.duisburg
garages[]: garage.dusseldorf
garages[]: garage.erfurt
garages[]: garage.frankfurt
garages[]: garage.hamburg
garages[]: garage.hannover
garages[]: garage.kiel
garages[]: garage.koln
garages[]: garage.leipzig
garages[]: garage.magdeburg
garages[]: garage.munchen
garages[]: garage.nurnberg
garages[]: garage.rostock
garages[]: garage.stuttgart
garages[]: garage.innsbruck
garages[]: garage.salzburg
garages[]: garage.linz
garages[]: garage.wien
garages[]: garage.ulm
}

// Add the companies units.
//

@include "companies_new_game.sii"
@include "garages_new_game.sii"


bank: .bank
{
money_account: 500
}

game_log: .log
{
}

game_progress: .progress
{
}


economy_event_queue: .events
{
}

police_ctrl: .police
{
offence_timer: 6
offence_timer[0]: 0
offence_timer[1]: 0
offence_timer[2]: 0
offence_timer[3]: 0
offence_timer[4]: 0
offence_timer[5]: 0
offence_counter: 6
offence_counter[0]: 0
offence_counter[1]: 0
offence_counter[2]: 0
offence_counter[3]: 0
offence_counter[4]: 0
offence_counter[5]: 0
offence_valid: 6
offence_valid[0]: false
offence_valid[1]: false
offence_valid[2]: false
offence_valid[3]: false
offence_valid[4]: false
offence_valid[5]: false
}

tutorial_ctrl: .tutorial
{
}


mail_ctrl: .mailbox
{
}

player: .player
{
trucks[]: start.truck
assigned_truck: start.truck
}


// Initial truck definition

vehicle: start.truck
{
color: 0x505050
fuel_relative: 0.5
odometer: 0

permanent_vehicle_data: vehicle.daf.xf.a
accessories[0]: .engine
accessories[1]: .transmission
accessories[2]: .brakes
accessories[3]: .wheel

variant: default
look: default
}

vehicle_engine_accessory: .engine
{
    torque: 205
front_wheel_engine: false
}

vehicle_transmission_accessory: .transmission
{
differential_ratio: 2.8
rpm_limit: 5000

# reverse gear
ratios[0]: -10.0


# forward gears

ratios[1]: 8.66
ratios[2]: 6.53
ratios[3]: 4.80
ratios[4]: 3.57
ratios[5]: 2.77
ratios[6]: 2.4
ratios[7]: 2.1
ratios[8]: 1.9
ratios[9]: 1.7

transmission_visual_data: visual.9_gears
}

vehicle_brakes_accessory: .brakes
{
torque: 1500.0

# brake balance (0 = full rear ... 1 = full front)
balance: 0.65
}


vehicle_wheel_accessory: .wheel
{
pacejka_longitudinal: pacejka.longitudinal.default
pacejka_lateral: pacejka.lateral.default
}


}

Cytat:garage: garage.berlin
{
}
garage: garage.bremen
{
}
garage: garage.dortmund
{
}
garage: garage.dresden
{
}
garage: garage.duisburg
{
}
garage: garage.dusseldorf
{
}
garage: garage.erfurt
{
}
garage: garage.frankfurt
{
}
garage: garage.hamburg
{
}
garage: garage.hannover
{
}
garage: garage.kiel
{
}
garage: garage.koln
{
}
garage: garage.leipzig
{
}
garage: garage.magdeburg
{
}
garage: garage.munchen
{
}
garage: garage.nurnberg
{
}
garage: garage.rostock
{
}
garage: garage.stuttgart
{
}
garage: garage.innsbruck
{
}
garage: garage.salzburg
{
}
garage: garage.linz
{
}
garage: garage.ulm
{
}
garage: garage.wien
{
}

Cytat:############
# EUROACRES
############
company: company.volatile.euroacres.nurnberg
{
permanent_data: company.permanent.euroacres
}
company: company.volatile.euroacres.erfurt
{
permanent_data: company.permanent.euroacres
}
company: company.volatile.euroacres.dresden
{
permanent_data: company.permanent.euroacres
}
company: company.volatile.euroacres.bremen
{
permanent_data: company.permanent.euroacres
}
company: company.volatile.euroacres.magdeburg
{
permanent_data: company.permanent.euroacres
}
company: company.volatile.euroacres.berlin
{
permanent_data: company.permanent.euroacres
}
company: company.volatile.euroacres.salzburg
{
permanent_data: company.permanent.euroacres
}
company: company.volatile.euroacres.wien
{
permanent_data: company.permanent.euroacres
}

############
# EUROGOODIES
############
company: company.volatile.eurogoodies.berlin
{
permanent_data: company.permanent.eurogoodies
}
company: company.volatile.eurogoodies.erfurt
{
permanent_data: company.permanent.eurogoodies
}
company: company.volatile.eurogoodies.munchen
{
permanent_data: company.permanent.eurogoodies
}
company: company.volatile.eurogoodies.leipzig
{
permanent_data: company.permanent.eurogoodies
}
company: company.volatile.eurogoodies.bremen
{
permanent_data: company.permanent.eurogoodies
}
company: company.volatile.eurogoodies.magdeburg
{
permanent_data: company.permanent.eurogoodies
}
company: company.volatile.eurogoodies.kiel
{
permanent_data: company.permanent.eurogoodies
}
company: company.volatile.eurogoodies.innsbruck
{
permanent_data: company.permanent.eurogoodies
}
company: company.volatile.eurogoodies.salzburg
{
permanent_data: company.permanent.eurogoodies
}
company: company.volatile.eurogoodies.wien
{
permanent_data: company.permanent.eurogoodies
}

############
# Stokes
############
company: company.volatile.stokes.kiel
{
permanent_data: company.permanent.stokes
}
company: company.volatile.stokes.nurnberg
{
permanent_data: company.permanent.stokes
}
company: company.volatile.stokes.wien
{
permanent_data: company.permanent.stokes
}

############
# BCP
############
company: company.volatile.bcp.munchen
{
permanent_data: company.permanent.bcp
}
company: company.volatile.bcp.stuttgart
{
permanent_data: company.permanent.bcp
}
company: company.volatile.bcp.berlin
{
permanent_data: company.permanent.bcp
}


############
# FCP
############
company: company.volatile.fcp.dusseldorf
{
permanent_data: company.permanent.fcp
}
company: company.volatile.fcp.leipzig
{
permanent_data: company.permanent.fcp
}
company: company.volatile.fcp.bremen
{
permanent_data: company.permanent.fcp
}



############
# ITCC
############
company: company.volatile.itcc.koln
{
permanent_data: company.permanent.itcc
}
company: company.volatile.itcc.rostock
{
permanent_data: company.permanent.itcc
}
company: company.volatile.itcc.linz
{
permanent_data: company.permanent.itcc
}



############
# KAARFOR
############
company: company.volatile.kaarfor.munchen
{
permanent_data: company.permanent.kaarfor
}
company: company.volatile.kaarfor.dortmund
{
permanent_data: company.permanent.kaarfor
}
company: company.volatile.kaarfor.frankfurt
{
permanent_data: company.permanent.kaarfor
}




############
# LKWLOG
############
company: company.volatile.lkwlog.duisburg
{
permanent_data: company.permanent.lkwlog
}
company: company.volatile.lkwlog.stuttgart
{
permanent_data: company.permanent.lkwlog
}
company: company.volatile.lkwlog.hamburg
{
permanent_data: company.permanent.lkwlog
}





############
# NBFC
############
company: company.volatile.nbfc.berlin
{
permanent_data: company.permanent.nbfc
}
company: company.volatile.nbfc.duisburg
{
permanent_data: company.permanent.nbfc
}
company: company.volatile.nbfc.linz
{
permanent_data: company.permanent.nbfc
}




############
# POSPED
############
company: company.volatile.posped.koln
{
permanent_data: company.permanent.posped
}
company: company.volatile.posped.bremen
{
permanent_data: company.permanent.posped
}
company: company.volatile.posped.kiel
{
permanent_data: company.permanent.posped
}
company: company.volatile.posped.linz
{
permanent_data: company.permanent.posped
}





############
# SANBUILDERS
############
company: company.volatile.sanbuilders.erfurt
{
permanent_data: company.permanent.sanbuilders
}
company: company.volatile.sanbuilders.nurnberg
{
permanent_data: company.permanent.sanbuilders
}
company: company.volatile.sanbuilders.hamburg
{
permanent_data: company.permanent.sanbuilders
}
company: company.volatile.sanbuilders.berlin
{
permanent_data: company.permanent.sanbuilders
}
company: company.volatile.sanbuilders.salzburg
{
permanent_data: company.permanent.sanbuilders
}



############
# SELLPLAN
############
company: company.volatile.sellplan.dresden
{
permanent_data: company.permanent.sellplan
}
company: company.volatile.sellplan.rostock
{
permanent_data: company.permanent.sellplan
}
company: company.volatile.sellplan.magdeburg
{
permanent_data: company.permanent.sellplan
}
company: company.volatile.sellplan.dusseldorf
{
permanent_data: company.permanent.sellplan
}
company: company.volatile.sellplan.wien
{
permanent_data: company.permanent.sellplan
}




############
# TRADEAUX
############
company: company.volatile.tradeaux.frankfurt
{
permanent_data: company.permanent.tradeaux
}
company: company.volatile.tradeaux.rostock
{
permanent_data: company.permanent.tradeaux
}
company: company.volatile.tradeaux.hannover
{
permanent_data: company.permanent.tradeaux
}
company: company.volatile.tradeaux.ulm
{
permanent_data: company.permanent.tradeaux
}



############
# TRANSINET
############
company: company.volatile.transinet.dresden
{
permanent_data: company.permanent.transinet
}
company: company.volatile.transinet.hamburg
{
permanent_data: company.permanent.transinet
}
company: company.volatile.transinet.dortmund
{
permanent_data: company.permanent.transinet
}
company: company.volatile.transinet.salzburg
{
permanent_data: company.permanent.transinet
}


############
# TRAMERI
############
company: company.volatile.trameri.dresden
{
permanent_data: company.permanent.trameri
}
company: company.volatile.trameri.hannover
{
permanent_data: company.permanent.trameri
}
company: company.volatile.trameri.nurnberg
{
permanent_data: company.permanent.trameri
}
company: company.volatile.trameri.innsbruck
{
permanent_data: company.permanent.trameri
}

############
# TREE-ET
############
company: company.volatile.tree_et.frankfurt
{
permanent_data: company.permanent.tree_et
}
company: company.volatile.tree_et.stuttgart
{
permanent_data: company.permanent.tree_et
}
company: company.volatile.tree_et.leipzig
{
permanent_data: company.permanent.tree_et
}
company: company.volatile.tree_et.hannover
{
permanent_data: company.permanent.tree_et
}
company: company.volatile.tree_et.dortmund
{
permanent_data: company.permanent.tree_et
}
company: company.volatile.tree_et.innsbruck
{
permanent_data: company.permanent.tree_et
}



############
# WGCC
############
company: company.volatile.wgcc.frankfurt
{
permanent_data: company.permanent.wgcc
}
company: company.volatile.wgcc.munchen
{
permanent_data: company.permanent.wgcc
}

############
# quarry
############
company: company.volatile.quarry_dm.dortmund
{
permanent_data: company.permanent.quarry_dm
}
company: company.volatile.quarry_st.stuttgart
{
permanent_data: company.permanent.quarry_st
}
company: company.volatile.quarry_han.hannover
{
permanent_data: company.permanent.quarry_han
}
company: company.volatile.quarry_sb.salzburg
{
permanent_data: company.permanent.quarry_sb
}

11. Pakujecie te foldery do moda gdzie dodaliście definicje miasta.
12. wchodzicie do głównego Folderu gry/base/map i wszystko kopiujecie do modyfikacji.
13. Wchodzicie w edytor i  znowu zapisujecie mapę. i wam wyświetlą loga firm.
14. robicie to samo co w punkcie 12. 
15. mod zrobiony, miłej jazdy.

Jeśli gra crashuje, mogę wam pomóc.


RE: Jak dodać Miasto do German truck simulator oraz jak do tych miast dopisać firmy - MatrixGamesPL - 29-07-2019

Zbyt szczegółowo jak dla mnie :p