Drugged player - 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 (https://www.frictionalgames.com/forum/forum-35.html) +--- Thread: Drugged player (/thread-8142.html) Pages:
1
2
|
Drugged player - DannieWest - 05-20-2011 Is there any way of making the player react as when sanity is "..." and he falls to the floor all f*ed up, without the ringing nor falling to the floor? :o Just blurry and when turning around the camera is a lil after you know :o RE: Drugged player - Khyrpa - 05-20-2011 Frictional games first map Rainy halls has done that great. The script can be quite confusing though... RE: Drugged player - Dominic0904 - 05-20-2011 I thought you could just give him the amount of sanity damage needed to get the "..." status, then give him sanity (health?) when you want him to become "normal" again. RE: Drugged player - Khyrpa - 05-20-2011 You can actually get the exact same effect (I think) with some tweaking without draining the sanity itself... But the f***ed up screen with delayed camera is when you have less than 80 or 70 sanity I think RE: Drugged player - DannieWest - 05-20-2011 How did do I do to give the player sanity damage? >.< I'm still such a noob at scripting RE: Drugged player - Khyrpa - 05-20-2011 use GiveSanityDamage(float afAmount, bool abUseEffect); float afAmount to 100 if you want the beep falldown effect or put 80-90 if you want wobbly screen. RE: Drugged player - DannieWest - 05-20-2011 Ah, thanks Better than before xP Though, you know if there is any way of having the same effect without the gasps and stuff, cuz i wanna have my own recorded voice there, and having him breathing super heavy isn't really helping ;o RE: Drugged player - Khyrpa - 05-20-2011 well just put false in the bool abUseEffect and there won't be any noise, although it takes away the fast change of FOVMul... That can be done manually too though RE: Drugged player - Kyle - 05-20-2011 How about you use these: GiveSanityDamage(80, true); SetInventoryDisabled(true); So the player doesn't go look at their sanity and start wondering why it's "..." for some random reason. :p RE: Drugged player - DannieWest - 05-21-2011 (05-20-2011, 11:22 PM)Khyrpa Wrote: well just put false in the What do you mean with noise? Cuz the heavy breathing is still there. And FOVMul..? xD Ah, thanks, smart one there ^^ Would ruin it somehow if they checked sanity xP |