InoMessi Posted April 11, 2017 Group: Super Moderators Content Count: 3,257 Reputation: 269 Achievement Points: 5,200 Solved Content: 0 Joined: 03/17/2011 Status: Offline Birthday: 07/13/1992 Device: Windows Share Posted April 11, 2017 [sider module] Stadium Server v1.0 by zlac For Sider 3.3.4 Here’s the StadiumServer Lua module for PES 2017 Sider. Current version: 1.0Minimum version of Sider required: 3.3.4 Features: GDB-style unlimited stadium managementmostly unchanged stadium packaging – entire stadium directory tree (starting with “common” folder) can be copy-pasted into one top-level folder (usually indicating stadium name)supported folders from the usual stadium-related cpk-tree:common\bg\model\bgad, audi, bill, cheer, effect, pitch, scarecrow, sky, stadium, staff, tvcommon\demo\fixdemoend, entcommon\render\model\bg\hitbill, stadiumcommon\render\thumbnail\stadiumIMPORTANT: db files (common\etc\…) for stadium registration are not required. DO NOT INCLUDE THOSE!!stadium assignment to individual home teams via map_teams.txt filestadium assignment to competitions via map_competitions.txt file – i.e. all teams participating in particular competition will use identical stadiumIMPORTANT: by default, competition assignment always takes priority over team assignment in all modes except Exhibition mode matchesbut, there’s a way to override that behavior for any individual competition – by slightly modifying StadiumServer.lua script itself, you can add/remove competition IDs in override_competitions table, thus defining more or less competitions where team assignment takes priority over competition assignmentsupport for optional stadium to be used in final match only (not tested yet, hopefully it works)correct stadium previews and stadium names are displayed in game menus (where available, depending on game mode) and scoreboardswhile in edit mode, stadium server does nothing Current limitations/issues: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)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 IDBottom-line – if you want StadiumServer to work, you must not use any other .lua scripts that use set_stadium event to change stadium_idyou 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 package stadiums that are available in .cpk filesAlthough 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 folderAdd lua.module = “StadiumServer.lua” near the top of the Extension modules section in sider.iniCustomize map_teams.txt and map_competitions.txt files and add more stadium folders in content\stadium-server folderPlease, read carefully all the comments inside map_teams.txt and map_competitions.txt files! Always use leading zeroes when writing stadium ID’s! Link v1.0: https://goo.gl/gWirNb Credits:@juce and @nesa24 for siderStadium master-pieces used in this demo-release: @Yucel11 “Fenerbachce Ülker Stadium” and “Türk Telekom Arena” Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.