Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / How to pick up objects like in Whispers?

Author
Message
KingMassen
1
Years of Service
User Offline
Joined: 23rd Dec 2016
Location:
Posted: 12th Jul 2018 13:57
The game called "Whispers" is made by FPS Creator and in the game, the player can pick up objects ,making them move to the screen and then you can rotate them by holding R key ,how do you do that in FPI script?
ncmako
6
Years of Service
Recently Online
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 15th Jul 2018 00:14
KingMassen I had some time today to play with this. You do know we already have where the player can "take" and object ? using the rmb or the T" key ???
But to get something to rotate was a challenge. Remember the "entrotate" command does not work ! Soooo.... here's what you have to do.
Make your "items" a character in the .fpe file (ischaracter =1) They must have at least one bone. Use the settings I made from the picture (attached)
Play with the items/entities weight and/or friction settings to get better results Let me know how it works for you
Here's how it works for me...

Here's the MainAI script for item to pickup.... also adjust the "floatrate" setting to change height.
My games never have bugs. They just develop random features..
Lots and lots of random features...

Attachments

Login to view attachments
seppgirty
FPSC Reloaded Backer
9
Years of Service
User Offline
Joined: 3rd Jul 2009
Location: pittsburgh, pa.
Posted: 15th Jul 2018 21:03
some nice scripting there ncmako.
gamer, lover, filmmaker
KingMassen
1
Years of Service
User Offline
Joined: 23rd Dec 2016
Location:
Posted: 18th Jul 2018 06:04 Edited at: 18th Jul 2018 06:07
This inspired me ,and the character entity thing would help a lot!

I think I would also try with "freefromplr" and "linktoplr" commands as you said in the other thread ,along with "plrdisable" to hinder the player's movement

Thanks

Login to post a reply

Server time is: 2018-07-23 03:25:35
Your offset time is: 2018-07-23 03:25:35