Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Special script help
afroduckie Offline
Junior Member

Posts: 35
Threads: 12
Joined: Jan 2013
Reputation: 0
#1
Special script help

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.
02-06-2013, 12:40 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#2
RE: Special script help

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

"Veni, vidi, vici."
"I came, I saw, I conquered."
02-06-2013, 08:15 AM
Find
OpticalFreak Offline
Junior Member

Posts: 8
Threads: 2
Joined: Feb 2013
Reputation: 0
#3
RE: Special script help

(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.
02-06-2013, 08:51 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#4
RE: Special script help

(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?

"Veni, vidi, vici."
"I came, I saw, I conquered."
02-06-2013, 10:01 AM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#5
RE: Special script help

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/amn...s#entities

Scroll and you'll find the script.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
02-06-2013, 10:09 AM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#6
RE: Special script help

(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/amn...s#entities

Scroll and you'll find the script.

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

Trying is the first step to success.
02-06-2013, 10:13 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#7
RE: Special script help

(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/amn...s#entities

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

"Veni, vidi, vici."
"I came, I saw, I conquered."
02-06-2013, 10:18 AM
Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#8
RE: Special script help

(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/amn...s#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.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
02-06-2013, 10:46 AM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#9
RE: Special script help

What are the internal names?

Trying is the first step to success.
02-06-2013, 11:10 AM
Find
afroduckie Offline
Junior Member

Posts: 35
Threads: 12
Joined: Jan 2013
Reputation: 0
#10
RE: Special script help

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.
(This post was last modified: 02-09-2013, 07:07 AM by afroduckie.)
02-09-2013, 07:05 AM
Find




Users browsing this thread: 1 Guest(s)