超级玩家
![Rank: 5](static/image/common/star_level3.gif) ![Rank: 5](static/image/common/star_level1.gif)
- 贡献度
- 0
- 金元
- 7424
- 积分
- 742
- 精华
- 0
- 注册时间
- 2012-3-30
![G胖の微笑](static/image/common/medal336.gif)
|
C:\Users\<User>\AppData\LocalLow\RomeroGames\EmpireOfSin\Settings.json{ "developerMode": "true" }
Anyway you should see "[Dev] QA Perf Test" on start menu if it worked. Then you can use backtick (`) to open a console. Now we need to figure out commands. print() seems to exist.
The lua code is all here in the streaming assets area: EmpireOfSin\EmpireOfSin_Data\StreamingAssets\GameData_Win64~\Lua
-------------------------
Edit:
I guess you can use "Dev.addCash( 100 )" and it will add $100 and then call you "A bit of a cheater are we?". I dont think it tracks this in the game save and the cheater is just a display comment (not 100% sure though).
EmpireOfSin\EmpireOfSin_Data\StreamingAssets\GameData_Win64~\Lua\Test\DevUtils\CommonDevUtils.luaCommandsDev.enableGodMode(v)
Dev.addCash(amount)
Dev.addCashToAllFactions(amount)
Dev.addWhiskey(amount)
Dev.addPremium(amount)
Dev.addTopShelf(amount)
Dev.addRack(amount)
Dev.addSwill(amount)
Dev.addPoison(amount)
Dev.enableFogOfWar(enable)
Dev.giveAllWeapons()
Dev.giveAllAbilities()
Dev.giveAllAmmo()
Dev.giveAllArmor()
Dev.giveAllUtility()
Dev.giveMaxNotoriety(faction)
Dev.revealAllSafehouses()
Dev.makeAllRivalsKnownToPlayer()
Dev.makeAllRivalFactionsKnownToEachOther()
Dev.makeAllFactionsKnowAllBuildings()
Dev.addBossAbilityCards()
Dev.addItemToBoss(itemId, count)
Dev.addItemToTarget(itemId, target, count)
Dev.addItem(itemId, count)
Dev.toggleFastConversations()
Dev.toggleFogOfWar()
Dev.toggleDebugInfo()
Dev.toggleScreenshotMode()
Dev.toggleGodMode()
Dev.toggleEaseNicknameRequirements()
Dev.toggleTacticTableLogs()
Dev.togglePlayerAlwaysHits()
Dev.toggleDevOptions()
Dev.setGameSpeed(speed)
Dev.setGameSpeedDefault()
Dev.setGameSpeedX02()
Dev.setGameSpeedX04()
Dev.setGameSpeedX08()
Dev.setGameSpeedX16()
Dev.setGameSpeedX32()
AddCash without calling you a cheaterrequire("World.World").playerFaction.cash:add(1000)
Not sure how to find selected character in combat but can heal using the followingHeal Character in CombatHeal Boss
require("World.World").playerFaction.members[1]:heal(1000)
Heal First Crew Member
require("World.World").playerFaction.members[2]:heal(1000)
Heal Second Crew Member
require("World.World").playerFaction.members[3]:heal(1000)
|
|