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 Product Chat / How to pick up objects like in Whispers?

Author
Message
KingMassen
7
Years of Service
User Offline
Joined: 23rd Dec 2016
Location:
Posted: 12th Jul 2018 00:01
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
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 12th Jul 2018 02:40
KingMassen Hi, how you been? Yes, that's not too hard to do. But it's definitely a scripting question.
Post your question in the scripting forum and I'll help you out there. To point you in the right direction
the commands to use would be "linktoplr & freefromplr" when needed and then "entrotatey=x" to rotate it
using the "R" key.
best

My games never have bugs. They just develop random features..
Lots and lots of random features...
arrojar entidad y que explote
9
Years of Service
User Offline
Joined: 3rd Jan 2015
Location:
Posted: 12th Jul 2018 04:55
Hello, to rotate the object use this command

:state=1,plrdistwithin=60,scancodekeypressed=(KEY NUMBER):rotatey=-4
:state=1,plrdistwithin=60,scancodekeypressed=(KEY NUMBER):rotatey=4

to make the object go to the player and then take it

:state=1,mousestate=1:rotatetoplr,movetoplr,,etimerstart,state=2
:state=2,etimergreater=500:playertake,coloff

Of course you should correctly arm the script as you like, adding activation range, huds, etc. I just passed the basic idea to add to your script. Greetings.

Login to post a reply

Server time is: 2024-04-19 18:52:28
Your offset time is: 2024-04-19 18:52:28