[SCRIPT] [SOLVED] Death Teleporting - 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: [SCRIPT] [SOLVED] Death Teleporting (/thread-26235.html) Pages:
1
2
|
[SOLVED] Death Teleporting - Straxedix - 09-20-2014 I saw in CS called:A Late Night Drink,when you die there comes up death text and you teleport to a new map,how i make that ? i know for the: void ChangeMap(string& asMapName, string& asStartPos, string& asStartSound, string& asEndSound); Immediatly loads another map. asMapName - the file to load asStartPos - the name of the StartPos on the next map asStartSound - the sound that is played when the change starts asEndSound - the sound that is played when the new map is loaded But how i make that when i die ... RE: Death Teleporting - Amnesiaplayer - 09-20-2014 If you die... what die do you use ? you're gettin punched by Grunt or Brute... or a Script thing... Because i did scripting... i used a cannon that shoots a ball , you will fall and die , And teleport to another map.. RE: Death Teleporting - Straxedix - 09-20-2014 (09-20-2014, 09:26 AM)Amnesiaplayer Wrote: If you die... what die do you use ? Punched by grunt RE: Death Teleporting - Radical Batz - 09-20-2014 You mean the player will die and when the death hint comes up, you will change the map? That's petty easy to do imo, you could find that in the chancel's hps from atdd when the 3 grunts insta death kill you! RE: Death Teleporting - Straxedix - 09-20-2014 I can't find it... RE: Death Teleporting - Radical Batz - 09-20-2014 (09-20-2014, 09:34 AM)Straxedix Wrote: I can't find it... It's in the main/maps/22_torture_chancel.hps Well you can mess around with it, since you can't find it, it's something like this that you want. PHP Code: void instakill(string &in asParent, string &in asChild, int alState) RE: Death Teleporting - Straxedix - 09-20-2014 This? Spoiler below!
RE: Death Teleporting - Radical Batz - 09-20-2014 No that's when you fall down and die and respawn, look at my updated reply! RE: Death Teleporting - Straxedix - 09-20-2014 But monster is supposted to kill me not to suicide ??? RE: Death Teleporting - Radical Batz - 09-20-2014 (09-20-2014, 09:39 AM)Straxedix Wrote: But monster is supposted to kill me not to suicide ??? But example if you don't want the player to run and put the grunt to patrol mode, you could always create an area so it can insta kill the player if he collides with it. |