Jump to content

Search the Community

Showing results for tags 'console command'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Hot Lava
    • [Hot Lava] - General Discussion
    • [Hot Lava] - Suggestions and Feedback
    • [Hot Lava] - Bug Tracker
    • [Hot Lava] - Strats and Records
    • [Hot Lava] - Developer Log
    • Hot Lava Latest Update
  • Griftlands
    • [Griftlands] - General Discussion
    • [Griftlands] - Suggestions and Feedback
    • [Griftlands] - Mods and Tools
    • [Griftlands] - Localization
    • [Griftlands] - Bug Tracker
    • [Griftlands] - Developer log
  • Oxygen Not Included
    • Oxygen Not Included FAQ
    • [Oxygen Not Included] - Developer log
    • [Oxygen Not Included] - General Discussion
    • [Oxygen Not Included] - Bug Tracker
    • [Oxygen Not Included: Spaced Out!] - Bug Tracker
    • [Oxygen Not Included] - Mods and Tools
    • [Oxygen Not Included] - Suggestions and Feedback
    • [Oxygen Not Included] Art, Music & Lore
    • Community Challenges
    • [Oxygen Not Included] - Latest Content Update
    • [Oxygen Not Included] - Latest Animated Short
    • Oxygen Not Included DLC Alpha
  • Don't Starve Together
    • Don't Starve Together FAQ
    • [Don't Starve Together] Developer log
    • [Don't Starve Together] General Discussion
    • [Don't Starve Together] Beta Branch
    • [Don't Starve Together] PlayStation
    • [Don't Starve Together] Xbox One
    • [Don't Starve Together] Nintendo Switch
    • [Don't Starve Together] Bug Tracker
    • [Don't Starve Together] Trading
    • [Don't Starve Together] Server Bulletin
    • [Don't Starve Together] Dedicated Server Discussion
    • [Don't Starve Together] Mods and Tools
    • [Don't Starve Together] Tales of Life and Death
    • [DS + DST] Art, Music and Lore
    • [Don't Starve Together] Suggestions and Feedback
    • [Don't Starve Together] The Forge
    • [Don't Starve Together] The Gorge
    • [Archived Bugs]
  • Don't Starve
    • Don't Starve FAQ
    • [Don't Starve: Pocket Edition] iOS / Android
    • [Don't Starve] General Discussion
    • [Don't Starve] Mods and tools
    • [Don't Starve] Art, Music & Lore
    • [Don't Starve] Suggestions and Feedback
    • [Don't Starve] Videos
    • [Don't Starve] Bug Tracker
    • [Don't Starve] Trading
    • [Don't Starve] Testing Discussion (archive)
  • Klei Entertainment Games
    • Eets Munchies
    • [Invisible, Inc.] General Discussion and Strategies
    • Mark of the Ninja
    • Shank
  • Other Stuff
    • Other Klei Services

Categories

  • Oxygen Not Included
  • Oxygen Not Included: Spaced Out!
  • Griftlands
  • Don't Starve: Hamlet
  • Don't Starve: Hamlet Early Access
  • Don't Starve Together
  • Don't Starve Together: Beta Branch
  • [Don't Starve Together] Nintendo Switch
  • [Don't Starve Together] PlayStation
  • Don't Starve Together: Return of Them
  • Don't Starve Together: The Gorge
  • Don't Starve Together: The Forge
  • Don't Starve Together: The Forge (Archive)
  • [Don't Starve Together] Xbox One
  • Don't Starve: Shipwrecked
  • Don't Starve: Shipwrecked [archive]
  • [Don't Starve Together] PS4 (archive)
  • [iOS] Don't Starve: Shipwrecked
  • Don't Starve: Hamlet Closed Beta (ARCHIVE)

Categories

  • Oxygen Not Included
  • Oxygen Not Included: Spaced Out!
  • Griftlands
  • Hot Lava
  • Don't Starve Together
  • [Nintendo Switch] Don't Starve Together
  • [PlayStation] Don't Starve Together
  • [Xbox One] Don't Starve Together
  • Don't Starve: Hamlet
  • Don't Starve: Shipwrecked

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Biography


Location


Interests


Occupation


Favorite Game


Modder


Chester Kickstarter


Chester Kickstarter


Chester Kickstarter


Chester Kickstarter


Chester Kickstarter


Klei Featured Artist


Early Supporter


Early Supporter


Don't Starve


Don't Starve Together


Oxygen Not Included

Found 4 results

  1. I want to be able to manage my creative server easier and help other servers have an better time. Misc commands. Night vision Either Add the tag ("nightvision") to an equipable item or use ThePlayer.components.playervision:ForceNightVision(true) for fake nightvision Replace objects with another prefab around an custom radius without replacing self. function c_replaceprefabs(prefab, radius, around, count) radius = radius or 4 around = around or ThePlayer local x,y,z = around.Transform:GetWorldPosition() local target_ents = TheSim:FindEntities(x,y,z, radius, count or nil, {"CLASSIFIED", "player"} ) for _,ent in pairs(target_ents) do local x,y,z = ent.Transform:GetWorldPosition() ent:Remove() SpawnPrefab(prefab).Transform:SetPosition(x,y,z) end end after using do c_replaceprefab("prefab", radius, around, count) to use it function c_extinguish(radius) radius = radius or 15 local x,y,z = ThePlayer.Transform:GetWorldPosition() local targets = TheSim:FindEntities(x,y,z, radius,nil,nil) for _,t in pairs(targets) do if t.components.burnable and t ~= AllPlayers[1] then t.components.burnable:Extinguish() end end end Extinguishs nearby prefabs if they're burning. Use c_extinguish(radius) to do it. function c_killnear(radius) radius = radius or 12 local x,y,z = ThePlayer.Transform:GetWorldPosition() local targets = TheSim:FindEntities(x,y,z, radius,nil,nil) for _,t in pairs(targets) do if t.components.health and t ~= AllPlayers[1] then t.components.health:Kill() end end end Kills things around the radius, use c_killnear(radius) to use. Set other players speed c_select()c_speedmult(n) Tool speed/animation speed increase command. Delete multiple objects around an certain radius. local REMOVE_CANT_TAGS={"CLASSIFIED", "player"} function c_removenearby(rad) local x,y,z = ConsoleWorldPosition():Get() local ents = TheSim:FindEntities(x,y,z, rad or 2, nil, REMOVE_CANT_TAGS) for k,v in pairs(ents) do v:Remove() end end After using command above use c_removenearby(rad) to remove nearby prefabs Make an circle function c_makecircle(prefab, count) count = count or 16 local r = 4 for theta = 0, PI2, PI2 / count do local inst = DebugSpawn(prefab) local x,y,z = inst.Transform:GetWorldPosition() inst.Transform:SetPosition(x + math.cos(theta) * r, y, z + math.sin(theta) * r) end end After you use the command above use c_makecircle("prefab", count) to do it Make an spiral function c_spiral(prefab,count,radius,loops) count = count or 16 radius = radius or 4 loops = loops or 3 local inst = SpawnPrefab(prefab) if inst == nil then return nil end local x,y,z = ThePlayer.Transform:GetWorldPosition() local step = PI2 / count inst.Transform:SetPosition( x + 0, y, z + radius ) for theta = 0, PI2 * loops + step, step do radius = radius + step inst = SpawnPrefab(prefab) inst.Transform:SetPosition( x + radius * math.sin(theta), y, z + radius * math.cos(theta) ) end end Use c_spiral"prefab" or c_spiral("prefab",count,radius,loops) after this command to use. make players do animations. AllPlayers[number].AnimState:PlayAnimation("animation name", false). Animation list here make existing items have more durrablity or no durrablity. No durrablity command c_select():RemoveComponent("finiteuses") more durrablity command c_spawn("shovel").components.finiteuses:SetUses(amount) Use c_give with other players c_select()c_give("prefab") Revive all players function c_reviveallplayers() for k,v in pairs (AllPlayers) do v:PushEvent('respawnfromghost') end end Drop all players items function c_dropeverything() for k,v in pairs (AllPlayers) do v.components.inventory:DropEverything() end end Give everyone creative function c_creativemode() for k,v in pairs (AllPlayers) do v.components.builder:GiveAllRecipes() do c_supergodmode(v) do c_maintainall(v) end end end end Combat commands. function c_stopmoving(radius) radius = radius or 15 local x,y,z = ThePlayer.Transform:GetWorldPosition() local targets = TheSim:FindEntities(x,y,z, radius,nil,nil) for _,t in pairs(targets) do if t.components.locomotor and t ~= AllPlayers[1] then t.components.locomotor:StopMoving() end end end Makes stuff stop moving around you (haven't tested) Make stuff sleep Commit arson function c_ignite(radius,burntime) radius = radius or 12 local x,y,z = ThePlayer.Transform:GetWorldPosition() local targets = TheSim:FindEntities(x,y,z, radius,nil,nil) for _,t in pairs(targets) do if t.components.burnable and t ~= AllPlayers[1] then t.components.burnable:Ignite(burntime) end end end Make stuff sleep function c_pacify(radius,sleepiness,sleeptime) radius = radius or 12 local x,y,z = ThePlayer.Transform:GetWorldPosition() local targets = TheSim:FindEntities(x,y,z, radius,nil,nil) for _,t in pairs(targets) do if t.components.sleeper and t ~= AllPlayers[1] then t.components.sleeper:AddSleepiness(sleepiness,sleeptime) end end end Use c_pacify(radius, sleepiness,sleeptime) after to do it Freeze entities around you (even other players) function c_freeze(radius,thawtime) radius = radius or 12 local x,y,z = ThePlayer.Transform:GetWorldPosition() local targets = TheSim:FindEntities(x,y,z, radius,nil,nil) for _,t in pairs(targets) do if t.components.freezable and t ~= AllPlayers[1] then t.components.freezable:Freeze(thawtime) end end end Become invisible. ThePlayer:Hide() do ThePlayer:Show() to become visible again Kill all players function killallplayers() for k,v in pairs (AllPlayers) do v:PushEvent('death') end end Set attack speed ThePlayer.components.combat:SetAttackPeriod(period) Set attack range ThePlayer.components.combat:SetRange(range) function c_findfriend(inst) local x, y, z = inst.Transform:GetWorldPosition() local ents = TheSim:FindEntities(x, y, z, 15,nil,nil) for k, v in pairs(ents) do if not v:IsAsleep() and not v.components.sleeper:IsAsleep() then if v.components.health and not v.components.health:IsDead() then inst.components.leader:AddFollower(v) v.components.follower:AddLoyaltyTime(99999) end end end Component commands c_select():AddComponent("eater") c_select():AddComponent("reader") c_select(): AddComponent("edible") c_select(): AddComponent ("burnable") c_select():AddComponent ("talker") Add tags c_select():AddTag("thetagyouwannaadd") Extra commands ReplacePrefab(c_find"prefab you wanna replace", "prefab you want to replace the first one with") for example ReplacePrefab(c_find"multiplayer_portal", "multiplayer_portal_moon") Place multiple things at once at any coordinate (reccomand having coordinate mod) (y/2)-2.9 part can make stairs if you don't want that then do the 2rd version. For x 1, 10 d for y 1,10 do local e = SpawnPrefab("wall_stone")e.Transform:SetPosition(x coordinate+x, (y or x/2)-2.9, z coordinate + y) end end For x 1, 10 d for y 1,10 do local e = SpawnPrefab("wall_stone")e.Transform:SetPosition(x coordinate+x, y coordinate, z coordinate + y) end end My favorite commands function c_cyan() ThePlayer.AnimState:SetMultColour(1,1,1,1) ThePlayer.AnimState:SetAddColour(0,1,1,1) ThePlayer.AnimState:SetLightOverride(5) ThePlayer.AnimState:SetHaunted(true) end Do c_cyan() after to well make you cyan. (White when night) you can change the addcolor area to whatever color you want. function c_cyanselected() c_select().AnimState:SetMultColour(1,1,1,1) c_select().AnimState:SetAddColour(0,1,1,1) c_select().AnimState:SetLightOverride(5) c_select().AnimState:SetHaunted(true) end Same as c_cyan but things under you cursor will become cyan. function c_light() local light = c_select().entity:AddLight() light:SetColour(1/255, 255/255, 255/255) light:SetIntensity(1) light:SetRadius(6) light:SetFalloff(0.33) light:Enable(true) end Makes an square light on the object under the cursor function c_sanityauralower() c_select():AddComponent ("sanityaura") c_select().components.sanityaura.aura = -TUNING.SANITYAURA_LARGE*2 end Selected prefab lowers sanity by an lot per min, you can edit the number for lower. function c_sanityauraraise() c_select():AddComponent ("sanityaura") c_select().components.sanityaura.aura = TUNING.SANITYAURA_LARGE*2 end Opposite from the last one. Why do I hear boss music? GetPlayer().carolsoundoverride = "dontstarve/music/music_epicfight_stalker" function c_setdamage(damage,attack,hit,range,percent,period,value,amount) c_select().components.combat:SetDefaultDamage(damage) c_select().components.combat:SetRange(attack, hit) c_select().components.combat:SetAreaDamage(range, percent) c_select().components.combat:SetAttackPeriod(period) c_select().components.combat.damagemultiplier=(value) c_select().components.health:SetMaxHealth(amount) end Literally sets nearly all combat aspects. The first line sets fist damage, the 2nd sets overral range and 3rd sets hit range, 4th sets area attack range and 5th sets are attack damage, 6th sets attack speed (can't go faster then one I think) and 7th sets overral damagemultiplier, 8th is sets health. function rainboweffect(inst) local r, g, b = math.random(), math.random(), math.random() inst.AnimState:SetAddColour(r, g, b, 0) end c_select():DoPeriodicTask(0.2, rainboweffect) selected changes color every 0.2 seconds
  2. Checking if this command. function c_earthquake(inst) TheWorld:PushEvent("ms_miniquake", { rad = 20, num = 20, duration = 2.5, target = inst }) end (do c_earthquake(inst) after using this on remote to use it) works. I got most of it from cavein.lua and simply don't have the time to test it, if it doesn't work I'll try to fix it myself. Edit: I fixed it here is the command function c_earthquake() TheWorld:PushEvent("ms_miniquake", { rad = 20, num = 20, duration = 2.5, target = c_select() }) end (do c_earthquake() after using this on remote to use it)
  3. Is there an console command in don't starve to make an rainbow effect. if anyone does know how to do it without mods (I don't even think there's much mods that can even do this anyway) then it would be nice if you could send it here. Check out my console commands post here https://forums.kleientertainment.com/forums/topic/142700-looking-for-rare-commands/
  4. Does anyone know the script to spawn a monster on a players location that isn't the admin himself. For example if the admin isn't on the server but has access to remote console to spawn an entity or mob on the players location. c_spawn() doesn't work unless I'm in the server or it spawns on my location
×
×
  • Create New...