Jump to content
Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Slate Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate Marble
Sign in to follow this  
Dyson

Getting Points from a ladder

Recommended Posts

Hi,

 

I was wondering if anyone in the community has been able to use parts of a ladder as vector positions?

I have tried using the super child objects as a child pos, but the game does not like that. I have tried using childs assigned to eg the basket proto then assigned to the ladder proto as a super child but this also does not work. 

Any ideas would be appreciated!

 

Thanks

Dyson

Share this post


Link to post
Share on other sites

Not possible in Em4. There is no way to access each 'superchild' as an object, and you cant use child objects placed in editor, because the location and rotation of the ladder is dynamic.

Share this post


Link to post
Share on other sites

Well I just need to be able to find the base position of the ladder. I can find the top with a dummy person but just can't find the base. But yeah I thought this was the case. I'm guessing the base must just need to be a static child then?

Share this post


Link to post
Share on other sites

Am I right in thinking you achieved this too? I have it working now but I run into problems calculating the gradient if the ladder is too steep did you manage to avoid this?

Share this post


Link to post
Share on other sites

For a couple months now Ive been sitting on this. I hope to be able to begin making my FP map so I can begin crafting custom buildings with roof venting functionality.

Ive not encoutered such a bug yet in my tests, but my guess is that it could be an Em4 hardcoded thing which limits how far up they can move.

I did not bother making it compatible with the 'cool' and extinguish' functionality of the ladder. Its not possible to have the person move dynamically with the ladder at every given second, so Im for now using the default system until I can finish creating an 'invisible' firefighter which will operate the cannon, but fool the player into thinking that nobody is up there.

Share this post


Link to post
Share on other sites
For a couple months now Ive been sitting on this. I hope to be able to begin making my FP map so I can begin crafting custom buildings with roof venting functionality.

Ive not encoutered such a bug yet in my tests, but my guess is that it could be an Em4 hardcoded thing which limits how far up they can move.

I did not bother making it compatible with the 'cool' and extinguish' functionality of the ladder. Its not possible to have the person move dynamically with the ladder at every given second, so Im for now using the default system until I can finish creating an 'invisible' firefighter which will operate the cannon, but fool the player into thinking that nobody is up there.

Yeah we're using a very similar setup although this will be purely for getting to ththe roof to vent. No extinguishing required. But yeah I moved the open house so the window was approx where a roof would be and the math didn't like it. Would be interesting to know if your math still works

Share this post


Link to post
Share on other sites

There isnt really any math involved here. Its just the moveToPos function with the timing set to be slower. I cant figure out what would cause the angle to go bad though.

Share this post


Link to post
Share on other sites

Hmm we have a gradient calculated to climb. We couldn't get a simple move to pos to work at all. That would be far simpler if it works though



Edit: so we tried using the move command like you said but the person won't move at all now. Any ideas?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...