Difference between revisions of "Mod Creation"
Jump to navigation
Jump to search
Debug data:
(Created page with ":''Work in progress'' == Setting up your first mod == #Download and extract [https://github.com/ZeroK-RTS/Zero-K/files/1963055/zk.sdd.zip this .zip] to your Zero-K installatio...") |
|||
Line 2: | Line 2: | ||
== Setting up your first mod == | == Setting up your first mod == | ||
#Download and extract [https://github.com/ZeroK-RTS/Zero-K/files/1963055/zk.sdd.zip this .zip] to your Zero-K installation folder. | #Download and extract [https://github.com/ZeroK-RTS/Zero-K/files/1963055/zk.sdd.zip this .zip] to your Zero-K installation folder. | ||
− | #To test | + | #To test this newly downloaded mod, you'll need to enable developer mode. Do this by creating an empty text document "devmode.txt" in the same directory as Zero-K.exe. You may need to restart the lobby. |
#In the Settings menu a new tab appears: Developer. Edit the Singleplayer setting to be Zero-K Dev. | #In the Settings menu a new tab appears: Developer. Edit the Singleplayer setting to be Zero-K Dev. | ||
#Your skirmish games should now use your modified local copy of <code>zk.sdd</code>. In this mod, the [[Lotus]] has 10 times its normal range. | #Your skirmish games should now use your modified local copy of <code>zk.sdd</code>. In this mod, the [[Lotus]] has 10 times its normal range. |
Revision as of 23:00, 30 April 2018
- Work in progress
Setting up your first mod
- Download and extract this .zip to your Zero-K installation folder.
- To test this newly downloaded mod, you'll need to enable developer mode. Do this by creating an empty text document "devmode.txt" in the same directory as Zero-K.exe. You may need to restart the lobby.
- In the Settings menu a new tab appears: Developer. Edit the Singleplayer setting to be Zero-K Dev.
- Your skirmish games should now use your modified local copy of
zk.sdd
. In this mod, the Lotus has 10 times its normal range.
Modding the game
To alter the mod, add files to Zero-K/games/zk.sdd
. The Spring wiki contains detailed modding instructions.
Debug data:
[SQLBagOStuff] MainObjectStash using store ReplicatedBagOStuff
[objectcache] MainWANObjectCache using store EmptyBagOStuff
IP: 216.73.216.236
Start request GET /mediawiki/index.php?diff=next&oldid=3795&title=Mod_Creation
HTTP HEADERS:
CONTENT-TYPE:
CONTENT-LENGTH: 0
USER-AGENT: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HOST: zero-k.info
ACCEPT-ENCODING: gzip, br, zstd, deflate
ACCEPT: */*
CONNECTION: close[localisation] LocalisationCache: using store LCStoreDB
[session] SessionManager using store SqlBagOStuff
[DBReplication] Cannot use ChronologyProtector with EmptyBagOStuff
[DBReplication] Wikimedia\Rdbms\LBFactory::getChronologyProtector: request info {
"IPAddress": "216.73.216.236",
"UserAgent": "Mozilla\/5.0 AppleWebKit\/537.36 (KHTML, like Gecko; compatible; ClaudeBot\/1.0; +claudebot@anthropic.com)",
"ChronologyProtection": false,
"ChronologyPositionIndex": 0,
"ChronologyClientId": false
}[DBConnection] Wikimedia\Rdbms\LoadBalancer::lazyLoadReplicationPositions: executed chronology callback.
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[session] SessionBackend "4gk8alrkea817jh4focg3qsupm943hed" is unsaved, marking dirty in constructor
[session] SessionBackend "4gk8alrkea817jh4focg3qsupm943hed" save: dataDirty=1 metaDirty=1 forcePersist=0
[cookie] already deleted setcookie: "wikidb229_mw__session", "", "1719080372", "/", "", "", "1"
[cookie] already deleted setcookie: "wikidb229_mw_UserID", "", "1719080372", "/", "", "", "1"
[cookie] already deleted setcookie: "wikidb229_mw_Token", "", "1719080372", "/", "", "", "1"
[cookie] already deleted setcookie: "forceHTTPS", "", "1719080372", "/", "", "", "1"
[DBConnection] Wikimedia\Rdbms\LoadBalancer::getLocalConnection: connected to database 0 at 'localhost'.
Title::getRestrictionTypes: applicable restrictions to [[Mod Creation]] are {edit,move}
[ContentHandler] Created handler for wikitext: WikitextContentHandler
Article::view: showing diff page
DifferenceEngine old '3795' new 'next' rcid ''
[MessageCache] MessageCache using store SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[DBQuery] Wikimedia\Rdbms\DatabaseMysqlBase::lock failed to acquire lock 'wikidb229-mw_:messages:en'
[SQLBagOStuff] SqlBagOStuff::lock failed due to timeout for wikidb229-mw_:messages:en.
[MessageCache] MessageCache::load: Loading en... local cache is empty, global cache is expired/volatile, loading from database, could not acquire main lock, using stale cache
ParserFactory: using preprocessor: Preprocessor_Hash
Unstubbing $wgLang on call of $wgLang::_unstub from ParserOptions->__construct
DifferenceEngine old '0' new '0' rcid '0'
WikiPage::getParserOutput: using parser cache: no
[caches] parser: SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
[SQLBagOStuff] Connection mysql object #127 (handle id #121) will be used for SqlBagOStuff
Parser cache options found.
MediaWiki::preOutputCommit: primary transaction round committed
MediaWiki::preOutputCommit: pre-send deferred updates completed
MediaWiki::preOutputCommit: session changes committed
MediaWiki::preOutputCommit: LBFactory shutdown completed
Title::getRestrictionTypes: applicable restrictions to [[Mod Creation]] are {edit,move}