Forager
182 értékelés
Move Objects
   
Díjazás
Kedvenc
Kedvenc
Törlés
Fájlméret:
Közzétéve:
Frissítve:
3.583 KB
2020. szept. 9., 10:22
2020. szept. 10., 10:49
4 változásjegyzék ( megnézés )

Feliratkozás a letöltéshez
Move Objects

Leírás
Description
Adds new commands allowing the movement of objects.

Object names can be found in the documentation[chrisanselmo.com].

Does not require cheats to be enabled.

Due to engine limitations, commands will only find objects on screen.
Make sure not to move objects off-screen as they will be lost forever.

Command List
/getpos object (returns x and y for the closest object instance)
/modpos object x y (modifies x and y for the closest object instance by the given amounts)
/setpos object x y (sets x and y for the closest object instance)
/snappos object (snaps the closest object instance to the building grid)
/movetocursor object (moves the closest object instance to the cursor's position)
/movetoplayer object (moves the closest object instance to the player's position)

How to use
Press T while ingame, which will bring up the console. Then input your command.

Frequently asked
Q: Can you add a command that gives you the name of objects near to the player?
A: I don't think that's possible; the function that returns the nearest instance requires the object name as a parameter.
38 megjegyzés
MetalTxus  [készítő] júl. 6., 1:47 
It's not the first time I've been asked that, so I added it to the description.
The answer is: no; I don't think it's possible.
Trenyc júl. 5., 15:22 
Hi! Please if you still maintain this mod, it would be very helpful if you could add a `/getobjectname` command that would return the object names of objects in like a 5-10 pixel radius of the character. If this is possible, it would help with figuring out object names of modded objects when the mod author doesn't provide a list.
Eclipse the Dragon 2024. febr. 17., 15:15 
no. didn't know the things name was needed.

but the 'add a move tool' idea i gave will make the whole thing easyer. you hit the thing you want to move (like the Forge) and it'll act like you used the /getpos objForge Command.
MetalTxus  [készítő] 2024. febr. 17., 13:46 
Are you using the object names from the docs? e.g. /getpos objForge
Eclipse the Dragon 2024. febr. 17., 1:19 
mod not working. tryed all Commands, but 'object not found' or the game sees the Commands as not Commands over and over.

i have a better idea for a mod. the mod will need you to mine the objects up, but you'll get back 100% of the things you used to make it.
or better, add a move tool.
MetalTxus  [készítő] 2023. nov. 12., 1:23 
> Any chance you can add a command called /getobj that'll tell you the name of the nearest object so you can move stuff around easier?

I don't think that's possible; the function that returns the nearest instance requires you to feed it the object name.
SamTheGoldenFox 2023. nov. 11., 21:25 
Any chance you can add a command called /getobj that'll tell you the name of the nearest object so you can move stuff around easier?
76561199067907776 2022. jún. 16., 13:48 
tbh wind i saw this mod i thout it made it so you could go to the build struger blueprint and use that to move stuff around just like how you can in last day on earth where you can easly move chest
Gremlin 2022. ápr. 10., 8:55 
@MetalTxus

Thanks for the response. I was able to make a new instance!
Elspeth 2022. ápr. 5., 9:16 
@MetalTxus you could include a check that it is not possible to move the desired npc out of bounds