[Sider module] Stadium Server v1.1 for Sider 3.3.4 by zlac



[Sider module] Stadium Server v1.1 for Sider 3.3.4 by zlac
Программы для Pes 2017  2017-05-04  1496   232  6  DEANDREVIL  zlac
[Sider module] Stadium Server v1.1 for Sider 3.3.4 by zlac - Вашему вниманию, программа для добавления стадионов без использования cpk файлов, для футбольного симулятора Pro Evolution Soccer 2017

Current version: 1.1
Minimum version of Sider required: 3.3.4

Features:

# GDB-style unlimited stadium management - add as many stadiums as you want in a GDB-like folder structure

# Mostly unchanged stadium packaging - stadium structure remains almost identical to the .cpk version (some folders are not necessary, see further notes), meaning that entire stadium directory tree (starting with "common" folder) can be copy-pasted into one top-level GDB folder (usually indicating stadium name). These folders from the usual stadium-related cpk-tree are currently supported:
common\bg\model\bg
ad, audi, bill, cheer, effect, pitch, scarecrow, sky, stadium, staff, tv (bigflag, cornerflag and goal in v1.1)
common\demo\fixdemo
end, ent (change, goal and result in v1.1)
common\demo\anime\behavior\fixdemo\animations (v1.1)
common\demo\fixdemoobj\passage (v1.1)
common\demo\light (v1.1)
common\demo\mob\mob_* (v1.1)
common\render\model\bg\hit
bill, stadium
common\render\thumbnail\stadium
IMPORTANT: db files (common\etc\...) for stadium registration are not required. DO NOT INCLUDE THOSE!!​

# Stadium assignment to individual home teams via map_teams.txt file - pretty much self-explanatory, see the supplied map_teams.txt file for examples of how to connect team ID with one GDB-stadium

# Stadium assignment to competitions via map_competitions.txt file - use it to connect competition/tournament ID with one or more stadiums from GDB.
All teams participating in particular competition can either use identical stadium (if ony one stadium is assigned to that competition) or have one of the stadiums assigned randomly (v1.1 feature) if there's more than one stadium assigned to that competition.

## v1.1 - It is possible to assign unlimited number of stadiums to the same competition - in this case, ONE RANDOM stadium will be selected for every home team that:
participates in that competition, BUT
DOES NOT have individual stadium assigned in map_teams.txt file

Code:
39, 003, Villa Park, Villa Park, , , # EPL
39, 017, Turf Moor, Turf Moor, , , # EPL
39, 020, White Hart Lane, White Hart Lane, , , # EPL

IMPORTANT: by default, competition assignment would always take priority over team assignment in any game mode, but that can be easily configured within .lua script.
To override this default behavior per any individual competition you have to slightly modify StadiumServer.lua script itself, you can add/remove competition IDs in override_competitions table, thus defining more or less competitions where individual team assignments from map_teams.txt takes priority over competition assignment from map_competitions.txt
Since v1.1, because of newly introduced random stadium selection option for competitions, override_competitions table has been vastly increased to include all exhibition, league and league-cup matches - this way, you can keep individual stadiums for those teams that already have one in map_teams.txt, while all the other teams without individual stadium would get randomly selected stadium from map_competitions.txt​

## Support for optional stadium to be used in final match of the competition only - again, pretty much self-explanatory. See the supplied map_competitions.txt file for more details
v1.1 - CAUTION: if multiple stadiums are assigned to a single competition and you want to use specific stadium for finals, then you must include stadium for final match IN EVERY stadium assignment

Code:
84, 003, Villa Park, Villa Park, 004, Wembley, Wembley # FA Cup
84, 017, Turf Moor, Turf Moor, 004, Wembley, Wembley # FA Cup
84, 020, White Hart Lane, White Hart Lane, 004, Wembley, Wembley # FA Cup

# Correct stadium previews and stadium names - displayed in game menus (where available, depending on game mode) and scoreboards

# Stadium server is deactivated in edit mode

Current limitations/issues:
1. adboards handling - by default, stadium server will load common\bg\model\bg\bill related files (including config.xml!!) if they exist within custom stadium files. If you'd like to use your already configured .cpk adboards packs, you can comment-out single line of code in StadiumServer.lua to disable adboards serving (see the code, it is noted where that line of code is)

2. IMPORTANT: cooperation with other .lua scripts that use "set_stadium" event - unfortunately, because of the way the stadiums are structured and handled by the game, it was necessary for StadiumServer.lua to use set_stadium event to force the game to use the exact stadium ID of the new stadium, in order to load all the files that belong to that stadium. Another approach, which would not "steal" set_stadium event (i.e. trying to override the files of any stadium that the game would like to use) did not prove successful, because stadiums simply are not file-for-file compatible, causing various artifacts when trying to replace e.g. stadium using ID 016 with custom stadium using any other ID
Bottom-line - if you want StadiumServer to work, you must not use any other .lua scripts that use set_stadium event to change stadium_id
you can still use additional .lua scripts to modify stadium conditions (day/night, weather, summer/winter) by using newly introduced set_conditions event (see Sider 3.3.4 release notes) - just to be on the safe side of the story, place your set_conditions related scripts below StadiumServer.lua in sider.ini

Recommended way to re-pack stadiums that are available in .cpk files
Although extracted stadium packs may work without any problems, I'd recommend to use only one stadium per folder in content\stadium-server.
It is recommended to remove any files that are not directly related to stadium (especially common\etc\... files)

How to use:
Unpack the archive and copy folders 'content' and 'modules' inside your sider 3.3.4 folder
Add lua.module = "StadiumServer.lua" near the top of the Extension modules section in sider.ini
Customize map_teams.txt and map_competitions.txt files and add more stadium folders in content\stadium-server folder
Please, read carefully all the comments inside map_teams.txt and map_competitions.txt files! Always use leading zeroes when writing stadium ID's!

Пример прописки в:
...\Pro Evolution Soccer 2017\content\stadium-server\map_teams.txt

1919, 003, Mapei Stadium, Mapei Stadium # Italy
234, 004, Stadio Atleti Azzurri, Stadio Atleti Azzurri # Italy
107, 003, Villa Park, Villa Park # England
378, 017, Turf Moor, Turf Moor # England
179, 044, White Hart Lane, PES LOVER PACK # England
328, 032, Stadio Adriatico, Stadio Adriatico # Italy
124, 010, Stadio Artemio Franchi, Stadio Artemio Franchi # Italy
235, 018, Stadio Carlo Castellani, Stadio Carlo Castellani # Italy
190, 019, Stadio Friuli, Stadio Friuli # Italy
177, 033, Goodison Park, Goodison Park # England
240, 035, Stadio Luigi Ferraris Genova, Stadio Luigi Ferraris Sampdoria # Italy
323, 037, Stadio Luigi Ferraris Genova, Stadio Luigi Ferraris Genoa # Italy
188, 003, Stadio Marc'Antonio Bentegodi, Stadio Marc Antonio Bentegodi # Italy
122, 006, Stadio Olimpico Roma, Sila pack # Italy
125, 006, Stadio Olimpico Roma, Sila pack # Italy
186, 041, Stadio Renato Dall'Ara, Stadio Renato Dall Ara # Italy
104, 045, Elland Road, Elland Road # England
382, 055, Selhurt Park, Selhurt Park # England
204, 056, King Power Stadium Leicester, King Power Stadium # England
106, 058, St James Park, St James Park # England
238, 033, Stadio Renzo Barbera Palermo, Stadio Renzo Barbera # Italy
327, 021, Stadio San Paolo Napoli, Sila pack # Italy OLD Version WORKS
#327, 017, Stadio San Paolo Napoli, sanpaolo cris # Italy Chris Version NOT WORKS
364, 021, Estadio Gran Canaria, Estadio Gran Canaria # Spain
320, 024, Stadio Sant'Elia Cagliari, Stadio Sant Elia # Italy
258, 010, San Mames Bilbao, San Mames # Spain
112, 042, Stade Louis II Monaco, stadium galaxy # France
379, 013, Millennium Stadium Cardiff, Millennium Stadium # Wales
273, 021, Vodafone Arena Istanbul, Vodafone Arena # Turkey
4910, 052, Estadio Alfredo Beranger, tp stadium ARG # Argentina
50, 027, El Monumental de Nunez, tp stadium ARG # Argentina
46, 033, Estadio Nacional do Perù, braziu # Perù
#126, 051, Signal Iduna Park, PES REDUX # Germany NOT WORKS
1250, 001, Arena do Gremio , braziu # Brazil
274, 034, Estadio Mineraò, braziu # Brazil
1245, 023, Arena Independencia Belo Horizonte, braziu # Brazil
2450, 023, Arena Independencia Belo Horizonte, braziu # Brazil
1247, 027, Arena Corinthias, braziu # Brazil
1923, 050, Estadio Brigadier General Estanislao López, tp stadium ARG # Argentina
2538, 039, Estadio 15 de Abril, tp stadium ARG # Argentina
2355, 017, Volkswagen Arena, smoke stad # Germany WORKS
4003, 013, Estadio George Capwell Guayaquil, braziu # Ecuador
4004, 021, Estadio El Campin, braziu # Colombia
47, 018, Estadio National de Chile Santiago, braziu # Chile
4112, 046, Estadio do Arruda Recife, braziu # Brazil
1237, 042, El Cilindro de Avellaneda, braziu # Argentina
1932, 028, Estadio Orlando Scarpelli Santa Catarina, braziu # Brazil
1243, 045, El Nuevo Gasometro Buenos Aires, tp stadium ARG # Argentina
1242, 015, Estadio Gigante de Arroyito Rosario, tp stadium ARG # Argentina
139, 028, La Bombonera, tp stadium ARG # Argentina
40, 020, Estadio Azteca, stad tp # Mexico
2478, 020, Estadio Azteca, stad tp # Mexico
103, 004, Anfield Liverpool, PES LOVER # England
126, 013, Signal Iduna Park Dortmund, smoke stad # Germany
2486, 029, Estadio Monterrey, stad tp # Mexico
2494, 040, Corregidora, stad tp # Mexico
2491, 042, Cuauhtemoc, stad tp # Mexico
2490, 044, Hidalgo, stad tp # Mexico
2493, 054, Jalisco, stad tp # Mexico
2484, 038, Estadio Leon, stad tp # Mexico
2499, 039, Luis "Pirata" Fuente, stad tp # Mexico
2488, 055, Estadio Morelos, stad tp # Mexico
2498, 006, Nemesio Diaz, stad tp # Mexico
2483, 056, Estadio Chivas, stad tp # Mexico
2714, 009, Alfonso Lastras, stad tp # Mexico
2496, 010, Territorio Santos Modelo, stad tp # Mexico
1255, 014, Estadio do Morumbi Sao Paulo, tp stadium ARG # Brazil
1240, 046, Libertadores de America Avellaneda, tp stadium ARG # Argentina
1238, 017, Ciudad de la Plata, tp stadium ARG # Argentina
2537, 054, Estadio Nuevo Monumental Santa Fè, tp stadium ARG # Argentina
1924, 018, Estadio Malvinas Argentinas Mendoza, tp stadium ARG # Argentina
1922, 019, Estadio Tomas Adolfo Duco, tp stadium ARG # Argentina
1241, 006, Estadio Marcelo Bielsa Rosario, tp stadium ARG # Argentina
1248, 030, Estadio do Maracanà, braziu # Brazil
1249, 030, Estadio do Maracanà, braziu # Brazil
45, 030, Estadio do Maracanà, braziu # Brazil
5060, 003, Monumental Banco Pichincha, stad tp # Ecuador
51, 019, Estadio Olímpico Atahualpa Quito, stad tp # Ecuador
4108, 011, Arena Condà, braziu # Brazil
4038, 013, Estadio Casa Blanca, stad tp # Ecuador
1252, 036, Estadio Beira Rio, stad tp # Brazil
1930, 026, Arena da Baixada, braziu # Brazil
2294, 005, Toumbas Stadium Thessaloniki, Grecia # Greece
4022, 006, Georgios Karaiskakis Pires, Grecia # Greece
4023, 034, Apostolos Nikolaidis Athens, Grecia # Greece
28, 034, Apostolos Nikolaidis Athens, Grecia # Greece
184, 040, Veltins Arena Gelsenkirchen, packstadiumv3 # Germany
30, 035, NSK Olimpiyskiy Kiyv, packstadiumv3 # Ukraine
134, 035, NSK Olimpiyskiy Kiyv, packstadiumv3 # Ukraine
26 , 003, National Arena Bucharest, packstadiumv3 # Romania
4029, 003, National Arena Bucharest, packstadiumv3 # Romania
395, 032, Britannia Stadium Stoke-on-Trent, smoke stad # England
2356, 002, Torku Arena, TORKU ARENA # Turkey
29, 021, Vodafone Arena Istanbul, Vodafone Arena # Turkey
12, 006, Stadio Olimpico Roma, Sila pack # Italy
2352, 020, Weserstadion Bremen, smoke stad # Germany
#204, 041, King Power Stadium Leicester, smoke stad # England
113, 043, Stade Velodrome Marseille, smoke stad # France

В программу уже добавлены стадионы для примера, находятся тут:
...\Pro Evolution Soccer 2017\content\stadium-server

Установка программы:
Файлы из папки Pro Evolution Soccer 2017, копировать в директорию игры.

Стадионы из Stadium Server не затрагивают стадионы из любого пакета.

На видео показано, как установить программу, а так же, как добавляют Бразильские стадионы:



Credits:
@juce and @nesa24 for sider
Stadium master-pieces used in this demo-release: @Yucel11 "Fenerbachce Ülker Stadium" and "Türk Telekom Arena"







Интересно посмотреть



6 комментариев
avatar
2017-06-19 в 08:31
0
Господа! Если кому не сложно конечно. Как это сделать,что б работало. Можно показать наглядно пожалуйста. Как на видео не работает.Спасибо
avatar
2017-05-04 в 15:38
0
Типа можно неограниченное число стадионов ставить?
avatar
2017-05-04 в 15:40
0
типа того )
ожидается патч, в который должны включить эту систему со стадионами
avatar
2017-05-04 в 15:42
0
yahoo
avatar
2017-05-04 в 18:49
0
один уже делает пакет стадионов для Stadium Server, на основе патча PTE, то-есть команды с ID для этого патча, и как он говорит - это займёт какое-то время, так как это кропотливая работа
avatar
2017-05-04 в 20:35
0
Чтобы баги и лаги не забыть пропустить =)
Чтобы оставлять комментарии, необходимо войти или зарегистрироваться