Frictional Games Forum (read-only)
how to make floor break when u go to a certain area - 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 to make floor break when u go to a certain area (/thread-25504.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13


RE: how to make floor break when u go to a certain area - DnALANGE - 07-05-2014

lol... you can do it, not must..
It's just when you change the title we can see like, OHH this guy need help again with something else..


RE: how to make floor break when u go to a certain area - victorkim890(KimmyChimmy) - 07-05-2014

whenever some1 comments on something then this should be on the top of the list again so ppl would no when any1 comments so i might not. dunno


RE: how to make floor break when u go to a certain area - victorkim890(KimmyChimmy) - 07-06-2014

if u post ur cs on moddb, can u change the title again like my custom story (work in progress) and then change it to my custom story (release)?


RE: how to make floor break when u go to a certain area - Mudbill - 07-06-2014

Yes. You can even change the link to it, but it will break other people's hyperlinks if they linked it.


RE: how to make floor break when u go to a certain area - victorkim890(KimmyChimmy) - 07-06-2014

can u make alexander move instead of staying in 1 spot like the flying naked guy can do


RE: how to make floor break when u go to a certain area - victorkim890(KimmyChimmy) - 07-07-2014

how do u make the player fly backwards when u go close to a door and the door explodes. i tried to do tat but it didnt work.


RE: how to make floor break when u go to a certain area - Mudbill - 07-07-2014

Use AddPlayerBodyForce. If you set the last value to true, and the first value to -5000 for example, perhaps this gives you the wanted result. I haven't tested it, but I assume negative X axis means backwards when co-ords are local.


RE: how to make floor break when u go to a certain area - victorkim890(KimmyChimmy) - 07-07-2014

tried to do tat but it still didnt work. script?


RE: how to make floor break when u go to a certain area - Mudbill - 07-07-2014

PHP Code:
void OnStart()
{
    
AddEntityCollideCallback("Player""Area""FunctionName"true1);
}

void FunctionName(string &in asParentstring &in asChildint alState)
{
    
AddPlayerBodyForce(-5000.0f0.0f0.0ftrue);


Something along those lines. As I said, I haven't tested it. If local doesn't work (the last boolean), try setting it to false then use the co-ordinate direction you want the player to be pushed in. Increase the number if it is too weak.


RE: how to make floor break when u go to a certain area - victorkim890(KimmyChimmy) - 07-08-2014

maybe bug only for my laptop. im just going to download tat cs tat has tat scare i remeber wat the cs name was