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
Falling tree's and underground ladder
enixrules Offline
Junior Member

Posts: 7
Threads: 2
Joined: Apr 2011
Reputation: 0
#1
Falling tree's and underground ladder

Hi, I'm relatively new to mapping and scripted and I had two questions

1. How can I put tree's to block an area then have them fall to open the area up once they reach a certain point?

2. How can I put in an underground area(like a mineshaft or tunnel going downwards with ladder to a small room)?
04-21-2011, 04:43 AM
Find
enixrules Offline
Junior Member

Posts: 7
Threads: 2
Joined: Apr 2011
Reputation: 0
#2
RE: Falling tree's and underground ladder

Bump, please give me the informations.
04-22-2011, 01:18 AM
Find
lightsheik Offline
Junior Member

Posts: 17
Threads: 5
Joined: Feb 2011
Reputation: 0
#3
RE: Falling tree's and underground ladder

I dont know for the falling tree but for the ladder juste put a ladder and a script area and change the type to ladder.
04-22-2011, 01:25 AM
Find
enixrules Offline
Junior Member

Posts: 7
Threads: 2
Joined: Apr 2011
Reputation: 0
#4
RE: Falling tree's and underground ladder

That sound simple enough but the tutorial I watched and started my map with I added a plane as the ground and if I add a ladder its just in the ground and there's not any way to go down it. Is there any way around this?
04-22-2011, 02:40 AM
Find
MrBigzy Offline
Senior Member

Posts: 616
Threads: 18
Joined: Mar 2011
Reputation: 8
#5
RE: Falling tree's and underground ladder

So uh...take out that plane and make other planes around the hole. You can make them link up by checking the use world coordinates checkbox.
04-22-2011, 02:47 AM
Find
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#6
RE: Falling tree's and underground ladder

I recommend checking out the falling tree in Amnesia. I sadly don't remember where it is in the game, but I know it does have a tree fall down in it. If you can't find it or know how to do it from there, I now recommend for you to do some scripting causing a chain of movements with time intervals of making the tree entity becoming active and then inactive.

If you have ever been to a light show, that could have, for example, a kid made out of colored lights (2d or course) and it would show him throw a ball and the lights would blink indicating where the ball is. Eventually reaching it's goal at the end of the "animation". You could also think of it as a flip book where it shows picture by picture as you flip really fast through a flip book. Like a ball bouncing down and then coming back up. If you need more help, I'll be here to help you. Smile

(This post was last modified: 04-22-2011, 03:51 AM by Kyle.)
04-22-2011, 03:50 AM
Find
Josh707 Offline
Junior Member

Posts: 27
Threads: 5
Joined: Apr 2011
Reputation: 0
#7
RE: Falling tree's and underground ladder

I'm 99% sure there's a separate entity of the tree falling, so when you enter the script area do:

setEntityActive("treestanding", false);
setEntityActive("tree_falling", true);

it's not called tree falling... or maybe it is... I don't know. Just look somewhere in the static objects folder

Try my custom story demo here!
Updated 23/04/11
04-22-2011, 04:04 AM
Find
majinvegito123 Offline
Junior Member

Posts: 2
Threads: 0
Joined: Apr 2011
Reputation: 0
#8
RE: Falling tree's and underground ladder

Yes I just wanted to clarify; there is indeed a falling tree scene in Amnesia near the beginning when you step out on the ledge of the castle overlooking the woods. An unseen entity takes down a tree.

terabyt3
w88|
m88|
fun88|
188bet|
fb88|

12bet|
cmd368|
happyluke|
11bet|
12bet|

138-com|
1xbet|
22bet|
855crown|
8live|
9club|

betphoenix|
dafabet|
dubai place|
fabet|
five88|
gdwviet|

hl8viet|
9club|
k8vina|
lixi88|

esball|
empire777|
m8win|
Mansion-Bet|
Yebo-Casino|
ok368|

one88|
Oppabet|
Pinnacle|
Qq8788|
Qqlikebet88|

Rongho99|
Sbobet|
Sbong88|
SV388|
thienhabet|

Ucw18|
Vwin|
Bet365|
WilliamHill|
Betvictor|
Bwin|

1xbet|
Unibet|
Paddypower|
neds|
Ladbrokes|

Coral|
10bet|
8live|
Marathonbet|
WeBet|
(This post was last modified: 06-28-2019, 11:57 PM by majinvegito123.)
04-23-2011, 06:02 PM
Website Find
laser50 Offline
Member

Posts: 242
Threads: 22
Joined: Apr 2011
Reputation: 0
#9
RE: Falling tree's and underground ladder

Do what Josh said, but make the player's sight turn black for a second and get a sound for the tree on it. I think that would make it look better.
04-23-2011, 06:55 PM
Find
Streetboat Offline
Posting Freak

Posts: 1,099
Threads: 40
Joined: Mar 2011
Reputation: 56
#10
RE: Falling tree's and underground ladder

All the script is doing (It's 11_study, btw) is making the physics of the falling tree entity set to static at map start, then once the player triggers it, making the physics non-static and giving it a PropForce of about 1000.

[Image: signature-2.png]
04-23-2011, 07:18 PM
Find




Users browsing this thread: 2 Guest(s)