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


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scripting questions
LulleBulle Offline
Member

Posts: 101
Threads: 33
Joined: Feb 2012
Reputation: 0
#1
Scripting questions

1. How do I force walk someone?
2. How do I make it rain?
3. How do I create dripping water such as from broken pipes, etc?

Answers are appreciated Smile
(This post was last modified: 10-03-2012, 04:19 PM by LulleBulle.)
10-03-2012, 04:18 PM
Find
Robby Offline
Posting Freak

Posts: 2,549
Threads: 38
Joined: Jun 2009
Reputation: 47
#2
RE: Scripting questions

1. You'll need to use this function for that.
Make sure you use a timer that calls loops itself every 0.05 seconds, at least.

MovePlayerForward(float afAmount)

2 and 3.

You can use particle effects, but question 2 is more complicated than I thought.

You can find more information here:
http://wiki.frictionalgames.com/hpl2/amn..._functions


It is being edited out (I guess, at the time of this post), so extra details about the script functions is not there.

Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.
(This post was last modified: 10-03-2012, 04:23 PM by Robby.)
10-03-2012, 04:22 PM
Website Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#3
RE: Scripting questions

2: In "The attic: chapter three" there was rain. Maybe you could check it.

3: There is an entity (or static_object?) from the sewer that makes that. You could adjust it so it looks ok. But, yes, there is a particle that makes that effect. Try looking at original amnesia maps and find out.

For 1, is the first time I see these. I think Followed by Death had it, but I don't remain.

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
10-03-2012, 05:05 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#4
RE: Scripting questions

I'm pretty sure the particle effect for water dripping is "water_drip.ps", but i'm not 100% sure

Trying is the first step to success.
10-03-2012, 05:41 PM
Find
GoranGaming Offline
Member

Posts: 183
Threads: 30
Joined: Feb 2012
Reputation: 7
#5
RE: Scripting questions

There are several particle systems for water drips; ps_water_drop, ps_water_drop_blue, ps_water_drop_single and a few others

Current projects:

The Dark Prison 85 % (Stopped working on this one)

Unnamed Project 7 %
10-03-2012, 08:09 PM
Website Find
LulleBulle Offline
Member

Posts: 101
Threads: 33
Joined: Feb 2012
Reputation: 0
#6
RE: Scripting questions

(10-03-2012, 04:22 PM)Nemet Robert (Robby) Wrote: 1. You'll need to use this function for that.
Make sure you use a timer that calls loops itself every 0.05 seconds, at least.

MovePlayerForward(float afAmount)

2 and 3.

You can use particle effects, but question 2 is more complicated than I thought.

You can find more information here:
http://wiki.frictionalgames.com/hpl2/amn..._functions


It is being edited out (I guess, at the time of this post), so extra details about the script functions is not there.
Yea I saw on the script page that you had to put it on loop so I kinda asked the wrong question, what I really need to know is how to put it in loop, sorry about that.

(10-03-2012, 05:05 PM)The chaser Wrote: 2: In "The attic: chapter three" there was rain. Maybe you could check it.

3: There is an entity (or static_object?) from the sewer that makes that. You could adjust it so it looks ok. But, yes, there is a particle that makes that effect. Try looking at original amnesia maps and find out.

For 1, is the first time I see these. I think Followed by Death had it, but I don't remain.
Was looking at Tanshaydar's White Night, couldn't find how he made it.

(10-03-2012, 08:09 PM)GoranGaming Wrote: There are several particle systems for water drips; ps_water_drop, ps_water_drop_blue, ps_water_drop_single and a few others
Thanks, will be sure to check those out!
(This post was last modified: 10-03-2012, 11:44 PM by LulleBulle.)
10-03-2012, 11:43 PM
Find
Vic7im Offline
Junior Member

Posts: 44
Threads: 9
Joined: Sep 2012
Reputation: 3
#7
RE: Scripting questions

The rain particle (ps_water_rain iirc) is a 30x30 box, place it wisely or it will rain indoors.
10-04-2012, 08:22 AM
Find
LulleBulle Offline
Member

Posts: 101
Threads: 33
Joined: Feb 2012
Reputation: 0
#8
RE: Scripting questions

(10-04-2012, 08:22 AM)Vic7im Wrote: The rain particle (ps_water_rain iirc) is a 30x30 box, place it wisely or it will rain indoors.
Isn't it shrinkable?
10-04-2012, 12:16 PM
Find
Vic7im Offline
Junior Member

Posts: 44
Threads: 9
Joined: Sep 2012
Reputation: 3
#9
RE: Scripting questions

(10-04-2012, 12:16 PM)LulleBulle Wrote:
(10-04-2012, 08:22 AM)Vic7im Wrote: The rain particle (ps_water_rain iirc) is a 30x30 box, place it wisely or it will rain indoors.
Isn't it shrinkable?
Nope
10-05-2012, 10:49 AM
Find




Users browsing this thread: 2 Guest(s)