Frictional Games Forum (read-only)
How do i spawn myself anywhere i want? is there a tool? - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: How do i spawn myself anywhere i want? is there a tool? (/thread-10321.html)



How do i spawn myself anywhere i want? is there a tool? - HplGeek - 09-14-2011

Is there a tool so i dont have to play through my whole map everytime i
want to test some scripts like, if my map is about 3 hours long.
And i want to test a script exactly at the end.

And if the script fails, i need to edit it, and then play through the whole map again without
knowledge if it works...

So, is there a tool so i can start my map anywhere i want?

Thanks


RE: How do i spawn myself anywhere i want? is there a tool? - WarriorA - 09-14-2011

1: When you press Quick map reload, you spawn where you have been last.
2: You can move the Player Start Position to where you want it.
3: If its another map, change your custom_story_settings.cfg.
4: Make a level door to transport you wherever you want just infront of your spawn.

need more? o.O

greets

- WarriorA -



RE: How do i spawn myself anywhere i want? is there a tool? - Your Computer - 09-14-2011

Code:
if (ScriptDebugOn())
{
// setup environment
TeleportPlayer("Area");
}



RE: How do i spawn myself anywhere i want? is there a tool? - Khyrpa - 09-14-2011

You can use the debug thing to teleport to different start position areas. Just place them around the map and be everywhere at once!

Do you even have developer enviroment set?



RE: How do i spawn myself anywhere i want? is there a tool? - HplGeek - 09-17-2011

Where can i find the Quick Map Reload Button? cannot find it in the editor.. Where is it located? Undecided





RE: How do i spawn myself anywhere i want? is there a tool? - Prelauncher - 09-17-2011

(09-17-2011, 11:04 AM)HplGeek Wrote: Where can i find the Quick Map Reload Button? cannot find it in the editor.. Where is it located? Undecided
The Quick Map Reload button is located in the debug menu from in-game and its your best friend when you script. I don´t remember exactly how to acitvate it, think you first go to your "Documents" folder and find a folder called Amnesia, then press "main" and open the "main_settings.cfg", then change the "LoadDebugMenu" to true Smile might be more settings that needs to be changed


RE: How do i spawn myself anywhere i want? is there a tool? - HplGeek - 09-17-2011

(09-17-2011, 11:26 AM)Prelauncher Wrote: The Quick Map Reload button is located in the debug menu from in-game and its your best friend when you script. I don´t remember exactly how to acitvate it, think you first go to your "Documents" folder and find a folder called Amnesia, then press "main" and open the "main_settings.cfg", then change the "LoadDebugMenu" to true Smile might be more settings that needs to be changed
Oh Thanks ALOT! Have been trying to figure this out for a long time Big Grin
+ rep


RE: How do i spawn myself anywhere i want? is there a tool? - Prelauncher - 09-17-2011

(09-17-2011, 11:30 AM)HplGeek Wrote:
(09-17-2011, 11:26 AM)Prelauncher Wrote: The Quick Map Reload button is located in the debug menu from in-game and its your best friend when you script. I don´t remember exactly how to acitvate it, think you first go to your "Documents" folder and find a folder called Amnesia, then press "main" and open the "main_settings.cfg", then change the "LoadDebugMenu" to true Smile might be more settings that needs to be changed
Oh Thanks ALOT! Have been trying to figure this out for a long time Big Grin
+ rep
Happy to help Smile thx, man