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 / Making friendly NPC's?

Author
Message
Kinetic
17
Years of Service
User Offline
Joined: 21st Sep 2007
Location:
Posted: 22nd Sep 2007 03:54
I'm pretty fresh (read: noob) to fpsc. I was hoping to make some friendly npc's in the game in an easy way. I'm casting sexy Aiko as a secret agent, but all she do is shooting me down :S

More to the point:

I've tried to change her to a static object, but then she just disappears, instead of standing there.

Q1: How do i make an enemy-entitiy/character static without them disappearing (is this a bug?) ?

Using the passive script makes her passive/do what i want, but then she is killable. It seems stupid that you can kill the character/entity when she's showing up in the next cutscene >_<

Q2: Is there a way to make a character/entity with infinite health?
Q3: Is there a way to do a "game over / mission failed" if you kill a certain character/entity?

While I'm at it...

Q4: How do I display caption/text on the screen when you get close to a character/zone/segment. For example: "Entering Biolab." , "Aiko tells you 'The boss is in the lab to the north'", etc...

I hope you pro's have patience with me... I'm a noob and got much to learn.

---

-Kinetic
Cyborg ART
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location: Sweden - Sthlm
Posted: 22nd Sep 2007 13:46
First: Do you want Aiko to follow you and she will help you kill stuff or just making her just stand there?
If you want her as a allie there is a allyscript on the top.

Q1: I think if you change life to 0 she will be unkillable if that doesnt work just give her 1000000 health.
Or just dont give a gun to the player until after the meeting.

Q2: See above

Q3: Maybe scripting, Dont know any easy way to do that.

Q4: Triggerzone shows movies, put the video file into the videobank and then change settings in triggerzone.
For just showing a text or HUD I there is a script here somewhere.

Visit our new website! www.bigvikinggames.tk !New Forum is up!
Follow the progress of Lost Treasures

Login to post a reply

Server time is: 2024-11-23 23:43:44
Your offset time is: 2024-11-23 23:43:44