Frictional Games Forum (read-only)
Special script help - 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: Special script help (/thread-20204.html)



Special script help - afroduckie - 02-06-2013

Hello! Me again. My CS has been going well. I was just wondering if anybody could help me write a script to make/add Weeping Angels (or Weeping Grunts XD) into my mod. It seems like a cool idea. I just dont know where to start. im not experienced enough. I would love any ideas. I will add all of your names in the creds too.


RE: Special script help - PutraenusAlivius - 02-06-2013

What do you mean by weeping angels? Do you mean the Female Statue at the end of Justine?


RE: Special script help - OpticalFreak - 02-06-2013

(02-06-2013, 08:15 AM)JustAnotherPlayer Wrote: What do you mean by weeping angels? Do you mean the Female Statue at the end of Justine?

Something tells me he wants to put weeping angels from Doctor Who in there. If I'm right that would be really scary.


RE: Special script help - PutraenusAlivius - 02-06-2013

(02-06-2013, 08:51 AM)OpticalFreak Wrote:
(02-06-2013, 08:15 AM)JustAnotherPlayer Wrote: What do you mean by weeping angels? Do you mean the Female Statue at the end of Justine?

Something tells me he wants to put weeping angels from Doctor Who in there. If I'm right that would be really scary.
Then, he must create a model for it, right? What do the script is for?


RE: Special script help - The chaser - 02-06-2013

Oh, it's really simple. In Justine, there's a model of an angel with another one that changes (his arm). Make a look callback so when the player doesn't look at it the angel changes.

Something useful for you:

http://wiki.frictionalgames.com/hpl2/amnesia/script_functions#entities

Scroll and you'll find the script.


RE: Special script help - FlawlessHappiness - 02-06-2013

(02-06-2013, 10:09 AM)The chaser Wrote: Oh, it's really simple. In Justine, there's a model of an angel with another one that changes (his arm). Make a look callback so when the player doesn't look at it the angel changes.

Something useful for you:

http://wiki.frictionalgames.com/hpl2/amnesia/script_functions#entities

Scroll and you'll find the script.

I've only found 1 angel... Is it a SetMoveObjectState?


RE: Special script help - PutraenusAlivius - 02-06-2013

(02-06-2013, 10:09 AM)The chaser Wrote: Oh, it's really simple. In Justine, there's a model of an angel with another one that changes (his arm). Make a look callback so when the player doesn't look at it the angel changes.

Something useful for you:

http://wiki.frictionalgames.com/hpl2/amnesia/script_functions#entities

Scroll and you'll find the script.
It's her. The statue is a woman.


RE: Special script help - The chaser - 02-06-2013

(02-06-2013, 10:13 AM)BeeKayK Wrote:
(02-06-2013, 10:09 AM)The chaser Wrote: Oh, it's really simple. In Justine, there's a model of an angel with another one that changes (his arm). Make a look callback so when the player doesn't look at it the angel changes.

Something useful for you:

http://wiki.frictionalgames.com/hpl2/amnesia/script_functions#entities

Scroll and you'll find the script.

I've only found 1 angel... Is it a SetMoveObjectState?

No, there's a second model which is practically the same with the arm moved.


RE: Special script help - FlawlessHappiness - 02-06-2013

What are the internal names?


RE: Special script help - afroduckie - 02-09-2013

Ill take all that and see what I can do. I am thinking I can rip the script from one of the monsters and use it for the Angel model so it can move. Ill use a call back for the script to only work if the player isnt looking or in the map. If it works it will be sweet!
I can use this script:
void SetEntityPlayerLookAtCallback(string& asName, string& asCallback, bool abRemoveWhenLookedAt);
along with others to make it work.
I will let yall know if it works.