kfort on 24/3/2009 at 02:29
Hi guys,
I've got a quick question about camera controls. I lost my old user.cfg file and I'm trying to track down some of the commands in it to make my life easier. I've found all but one ... I had a command which acted like the opposite of persistent_player_pos. When you exit game mode, the camera in the editor would be placed at your last location in-game. Unfortunately, I'm having a very hard time finding that command. I've done several searches and poked around in some old tutorials, but I've come up empty. Does anyone remember how to do this? I find it very handy and would really like to get this function back now that dromed is working again.
Thanks!
Sliptip on 24/3/2009 at 03:08
I think you're looking for:
editorcam_from_game
:thumb:
Digi turned me on to this one just late last year - I don't know how I Dromed'ed without it!
sergelac2 on 30/1/2015 at 00:55
i need the same thing
but when i type "editorcam_from_game" in game mode and exit, it won't work
when i type it in edit mode, it say "no such command"
R Soul on 30/1/2015 at 01:10
It goes in user.cfg:
Quote Posted by kfort
I lost my old user.cfg file and I'm trying to track down some of the commands in it to make my life easier.
sergelac2 on 30/1/2015 at 03:24
thanks, its working
is there a command to move a object to the current camera position ?
or move it to the same position as another object
R Soul on 30/1/2015 at 15:17
Not directly, but objects have a Position property and can be copied and pasted. You can use cam_marker, copy the Position property and paste it into the properties of the other object.
Also, dump_cmds commands.txt will give you list of all commands you can use.
qolelis on 30/1/2015 at 16:22
Quote Posted by sergelac2
is there a command to move a object to the current camera position?
Use the command "brush_to_cam". An argument of "2" will preserve the object's decimals. There are other parameters as well, but I don't remember the details right now.
R Soul on 30/1/2015 at 16:57
That's much better :cheeky: