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 / NPC's actions

Author
Message
JunckMAn
16
Years of Service
User Offline
Joined: 23rd Apr 2008
Location: JunckLAnd
Posted: 27th Apr 2008 11:04
Can u make NPC 4 example sit? or something else? because it stinks when there are 5 guards 5 chairs, but they still stand like idiots
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 27th Apr 2008 12:12
Um... you could try setting their animation frame.

People find that a certain frame in the climb animation makes for a good sitting position.


The one and only,
~PlystirE~

Nomad Soul
Moderator
17
Years of Service
User Offline
Joined: 9th Jan 2007
Location: United Kingdom
Posted: 27th Apr 2008 16:38
Assign this to your NPC's AI main field in entity properties

You might need to play around with the 'moveup' value to get the positioning correct depending on the height of the chir or other object you need him to sit on.

Place the attached in your scriptbank folder

Attachments

Login to view attachments
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 27th Apr 2008 17:01 Edited at: 27th Apr 2008 17:02
This is the only way one can do it at this time without reanimating it and to tell you the truth I don't know whether one can do that using FPSC or not since I'm neither a graphics person or an animator.

I use this method but the problem with it is that the positioning of the arms still makes the NPC look weird; since this is a climbing animation. So the only thing you can do is try to add something in front of the NPC to make it appear that he is doing something with his arms or, instead of an idiot just standing there, you will have a dorky idiot just sitting there.
JunckMAn
16
Years of Service
User Offline
Joined: 23rd Apr 2008
Location: JunckLAnd
Posted: 30th Apr 2008 19:59
Quote: "you will have a dorky idiot just sitting there. "


But it is shure better than dorky standing idiot with a PC keybord ripped of the PC on the table *)

Login to post a reply

Server time is: 2024-11-24 07:20:11
Your offset time is: 2024-11-24 07:20:11