Rockou_

  • Content Count

    15
  • Joined

  • Last visited

Community Reputation

4 Neutral

About Rockou_

  • Rank
    Junior Member
...

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Enable
  1. I'm making a mod to change character quotes.. the Battlecry quotes the problem is that there is multiple battlecry quote BATTLECRY = { GENERIC = "quote1", PIG = "quote2", PREY = "quote3", SPIDER = "quote4", SPIDER_WARRIOR = "quote5", DEER = "quote6", }, how can i change all of them to one single quote? Using the speech_character.lua in scripts doesn't work EDIT: using GLOBAL.STRINGS.CHARACTERS.character.BATTLECRY = "quote" doesn't work too
  2. So there was a mod on the workshop that got deleted, and it doesnt exist anymore and i really liked that mod(debug/testing map- believe me or not i dont really care if you think im using it to cheat) it changes the player vision to the moggle vision it uses a simple code but i lost it, id like to know what i did wrong with the following file. if i change something it crashes and if it doesnt it doesnt do anything Managed to change the nightvision color but if the local night vision absolutely needs the moggle filter i can make a new colour tube set with the moggle filter Currently it crashes cause of a inst error? [00:00:44]: [string "../mods/Nightvision/modmain.lua"]:15: attempt to index local 'inst' (a nil value) LUA ERROR stack traceback: ../mods/Nightvision/modmain.lua:15 in (field) fn (Lua) <10-26> scripts/events.lua:46 in (method) HandleEvent (Lua) <42-49> scripts/input.lua:189 in (method) OnRawKey (Lua) <184-191> scripts/input.lua:396 in () ? (Lua) <395-397> Thanks in advance Managed to do it myself : local _G = GLOBAL local function GetKeyFromConfig(config) local key = GetModConfigData(config) return key and (type(key) == "number" and key or _G[key]) end local function InGame() return ThePlayer and ThePlayer.HUD and not ThePlayer.HUD:HasInputFocus() end _G.TheInput:AddKeyUpHandler(GetKeyFromConfig("nv"), function () nvk = not nvk if nvk == true then _G.ThePlayer.components.playervision:ForceNightVision(true) _G.ThePlayer.components.talker:Say("Night Vision enabled") else _G.ThePlayer.components.playervision:ForceNightVision(false) _G.ThePlayer.components.talker:Say("Night Vision disabled") end end ) night vision mod.zip
  3. and more my dupe get chilly surrounding at 31.3
  4. Otto has chilly surrounding effect at 23 C like all my duplicants She wear Warm suit(don't work if you save, reload the game) My map Asteroid.sav (Config) OS:Win10 64 Bits CPU:AMD A10-7400P Radeon R6, 10 Compute Core 4G+6G 2.50 GHz (x64) GPU: 6 GPU Radeon graphics :ASUSTek Computer Inc. :X550ZA Sorry for my non-perfect English (I'm french)