Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> [Eventing]More Interesting NPCs
ccoa
post Jan 1 2008, 08:39 AM
Post #1


Storm Goddess
Group Icon

Group: Revolutionary
Posts: 989
Type: Scripter
RM Skill: Masterful




Inspired to be reposted by a help post by Jaide. Here are some general things you can do to make your NPCs far more interesting then the little old guy who yells "Welcome to Corneria!"

Linear Talk NPCs

These are NPCs that say several different things in a set order. Use the Self Switches to get up to 5 sayings, or even throw in some global switches to get more. For example:

[Show/Hide] Basic Linear Talk NPC








Alternatively, you can turn OFF all the local switches at the end of the last page, and start the whole conversation over, like so:

[Show/Hide] Reset Linear Talk NPC




Or you can turn OFF all but A, and start the conversation from Page 2, etc.

Random Talk NPCs

These are NPCs that have more than one thing to say, and say one of them at random when you talk to them. For example:

[Show/Hide] Random Talk NPC




Lead Specific NPCs

These are NPCs who say something different depending on who your lead (showing) party member is. For example:

[Show/Hide] Lead Specific NPC




Will say something different if your lead party member is Aluxes, Gloria, or Basil than he will if your party member is anyone else. For easy copy and pasting, here's the code for the Conditional Branch:

CODE
$game_party.actors[0].name == "name"


Replacing name with the name of the hero. If you're using hero name input, you could alternatively use:

CODE
$game_party.actors[0].id == i


Replacing i with the id of the hero (from the database).

Weather-wise NPCs

These are NPCs that say something different depending on the type of weather. For example:

[Show/Hide] Weather-wise NPC




Will say something different for no weather, rain, snow, and storms. Note that in my weather script, you have more options than those 4, the numbers for those are in the comments at the beginning of the script.

Wordly-wise NPCs

These are NPCs who are actually up-to-date on world events, or, more specifically, what the party has been doing. For example:

[Show/Hide] Worldly-wise NPC




Where switches 0001: Village Burned and 0002: Emperor Defeated are switches that you turned on when those events happened, presumably.

Gold-digger NPC

This is an NPC that responds differently based on how much money the party has. For example:

[Show/Hide] Gold-digger NPC




Use your imagination with this one, you can do this with any variable. That means you can make an event-based reputation system, if you like.

Query NPC

This is an NPC that asks you a question, then thereafter says or does something different depending on your response. For example:

[Show/Hide] Query NPC






Feel free to make this as deep as you like, using global switches each choice could lead to a new choice.

Item-Specific NPC

An NPC that may say or do something different if you have a certain item.

[Show/Hide] Item-specific NPC




Really, you can do basically the same thing with any option in Conditional Branch. Take a look at the options yourself!

~*~*~*~*~*~*~*~

Feel free to combine NPC types, for example, a random talking wordly-wise NPC:



__________________________
Go to the top of the page
 
+Quote Post
   
Holder
post Jan 1 2008, 01:08 PM
Post #2


Spoilers.
Group Icon

Group: Revolutionary
Posts: 4,204
Type: Developer
RM Skill: Advanced
Rev Points: 250




Great to see you here Ccoa, this is very useful information and I hope alot of people use this within their projects.

The screen shots and layout are a great help and the best way for anyone to be able to understand and learn from this. Very nice work thumbsup.gif


__________________________

 I'm running the Great North Run in September in aid of NACC. A condition my wife has in it's severe form.
Please sponsor me with whatever you can, thank you.
If you'd like to help spread the word please share the image and link to my fundraising page.

Go to the top of the page
 
+Quote Post
   
jens009
post Jan 1 2008, 01:14 PM
Post #3


L Did you know? Death gods... only eat apples
Group Icon

Group: +Gold Member
Posts: 2,976
Type: Scripter
RM Skill: Skilled




I've seen this tutorial of yours before.
Good submit anyway.
I find it very funny when RPG games like mine, always have NPCs who are up to date on current news.


__________________________

My RMXP Project:


Farewell RRR. =]
Go to the top of the page
 
+Quote Post
   
Oceans Dream
post Jan 1 2008, 02:27 PM
Post #4


efffortt
Group Icon

Group: Revolutionary
Posts: 5,592
Type: Developer
RM Skill: Advanced




Just be careful with what you have them say. Like in the random talks one, you have one that says "I lost my keys somewhere here". For some players, they'll assume it's a mini-quest and start looking for them in hopes of a reward. If it's not meant to be a quest of sorts, don't make their conversation seem like it.

This tutorial is a good start, but I wouldn't rely solely on this. You can go furthur with your NPCs. Some could provoke fights, some could give quests, some could even join you for a price. Others could provide some type of service.

For those that have a fixed party that never or hardly changes throughout the game, I would highly recommend that you have the characters interact with the NPC. In fact, maybe the NPC doesn't need to say anything, but just the characters comment on them (By thought bubbles, such as: "Ewww, nasty looking beggar. We should stay away. He even smells like Vodka"). Or you can have the conversation different depending on who's the lead. Or you can choose which character you want to talk to the NPC, and it'll turn out different. You can use the NPCs not just to say useless one liners like "Welcome to Corneria" but to bring out the personality of your characters. Like if you have a funny character in your group, use them to talk to the NPCs for interesting results, which would be very different than if you were to use a creepy, mysterious character to talk to them.

Yet another thing you can do is lower the amount of NPCs you have, and then put as much effort into them as you would main characters. They could have a schedule, they could reward you for stuff, occassionally be part of the story, help you out in some battles or in other ways, talk to your characters in cutscenes maybe, get to know them more, their pasts, them offering you food and a place to stay, or even making enemies with some. Again, this one requires a good deal of effort and shouldn't really be attempted with a lot of NPCs.


__________________________

Ocean's Dreams blog! Contains RPG Design topics, Game updates and others!
Also check out my tumblr for smaller but more frequent updates!
http://oceansdreams.tumblr.com/

Go to the top of the page
 
+Quote Post
   
Holder
post Jan 1 2008, 03:08 PM
Post #5


Spoilers.
Group Icon

Group: Revolutionary
Posts: 4,204
Type: Developer
RM Skill: Advanced
Rev Points: 250




Some very good additional points there Oceans I've never really considered tto choose which character you want to talk to the NPC.

QUOTE
Yet another thing you can do is lower the amount of NPCs you have

Something that has always bugged me is the NPC to House ratio being completely off aswel especially in small village areas.


__________________________

 I'm running the Great North Run in September in aid of NACC. A condition my wife has in it's severe form.
Please sponsor me with whatever you can, thank you.
If you'd like to help spread the word please share the image and link to my fundraising page.

Go to the top of the page
 
+Quote Post
   
ccoa
post Jan 1 2008, 03:46 PM
Post #6


Storm Goddess
Group Icon

Group: Revolutionary
Posts: 989
Type: Scripter
RM Skill: Masterful




This isn't intended to be THE definitive guide for NPCs. Just a jumping off point for people. I've played literally hundreds of RM games in which all the NPCs say exactly one extremely boring and irrelevant thing. Heck, for that matter, I've played dozens of commercial games that suffer from the same problem. Giving your NPCs some depth adds that much more depth and believability to your world.

As to the keys thing, it's only a problem if you do it only once or twice. If you make it clear from the beginning that sometimes a cigar is just a cigar, then your player won't always assume everything is a sidequest.


__________________________
Go to the top of the page
 
+Quote Post
   
elfyelf
post Jan 2 2008, 01:18 AM
Post #7


(~*A D A N*~)
Group Icon

Group: Revolutionary
Posts: 436
Type: Developer
RM Skill: Advanced




thumbsup.gif I like what you called the npc, I have an Animal Crossing NPC chat, I have a random thing that says when you meet them, when you reject and over 50 messages they would say, not know much about scripting(nothing) but also used conditional branching and variables. Nice btw.


__________________________
Go to the top of the page
 
+Quote Post
   
Heavyblues
post Jan 2 2008, 04:00 PM
Post #8


Level 11
Group Icon

Group: Revolutionary
Posts: 188
Type: Artist
RM Skill: Beginner




hmm, that's an asshole of an old man X3

great ideas, great indeed! never really understood tabs myself D:
Go to the top of the page
 
+Quote Post
   
Muskintig
post Apr 16 2008, 05:12 AM
Post #9


Level 2
Group Icon

Group: Member
Posts: 24
Type: None
RM Skill: Beginner




i know that i am a beginner and that i just joined, but i would like to say that this really helped me and is really interesting.

I have also read through other tutorials by you and would like to say they are some of the best!

haha keep up the good work!! and we all appreciate your work


__________________________
When ever i log onto MSN i count how many days i have not changed my MSN name. I then check on my "Whether You Have A Life Chart" and see whether i have one or not.


MSN name not changed for two days --- "You had a life, but you obviously gave it away. But don't despair, can get another one at www.myspace.com!"
Go to the top of the page
 
+Quote Post
   
BUSTER C6700
post May 11 2008, 06:27 PM
Post #10


Level 4
Group Icon

Group: Member
Posts: 47
Type: Artist
RM Skill: Advanced




Nice tutorial, ccoa. The weather conditional talking thing is just what I needed! Thanks!
But I can't believe an old man would say stuff like that, it's right for his grand kids to call him Gramp Cranky. laugh.gif

-BUSTER C6700


__________________________
Sincerely,


♥Final Fantasy rules!!!♥
[Show/Hide] OMG! Sig getting big!!
Get ready for a bunch of spoilers!
[Show/Hide] GAME PROJECTS^-^
My current game projects:




My finished games/demos:


(Demo)

[Show/Hide] Here's some random stuff...

[Show/Hide] Okay, I feel better after these... I didn't expect expect them...

Yay, Aeris... one of my favorites!

What?! I am not a pickpocket!
What happened to the pics of Aeris and Vaan?!

[Show/Hide] Can you read this?
Can you raed tihs?? Olny srmat poelpe can! ?If you can, cpoy and psate it to yuor sgtnairue.

I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg. The phaonmneal pweor of the hmuan mnid, aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, the olny iprmoatnt tihng is taht the frist and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it wouthit a porbelm.

Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. Amzanig huh? Yaeh and I awlyas tghuhot slpeling was ipmorantt!
[Show/Hide] I'm flying solo...
SOUL PRODUCTIONS

Clever name, huh? lol
My own one person company

Isn't this a cool animation?!

Go to the top of the page
 
+Quote Post
   
cheahjc
post Jun 9 2008, 10:04 PM
Post #11


Got watermelons?
Group Icon

Group: Revolutionary
Posts: 186
Type: Event Designer
RM Skill: Skilled




Wow this is great thanks!
I added this with like people who give advice so he would give different advice with fishing.

ph34r.gif Cheahjc



__________________________

[Show/Hide] This is my signature, BEWARE


[Show/Hide] Click here to see how awesome I am






[Show/Hide] Funny T-Shirts






[Show/Hide] Can you read this?

Cna yuo raed tihs? Olny 55% of plepoe can.
I cdnuolt blveiee taht I cluod aulaclty uesdnatnrd waht I was rdanieg. The phaonmneal pweor of the hmuan mnid, aoccdrnig to a rscheearch at Cmabrigde Uinervtisy, it dseno't mtaetr in waht oerdr the ltteres in a wrod are, the olny iproamtnt tihng is taht the frsit and lsat ltteer be in the rghit pclae. The rset can be a taotl mses and you can sitll raed it whotuit a pboerlm. Tihs is bcuseae the huamn mnid deos not raed ervey lteter by istlef, but the wrod as a wlohe. Azanmig huh? yaeh and I awlyas tghuhot slpeling was ipmorantt!
fi yuo cna raed tihs, palce it in yuor siantugre.

[Show/Hide] They Found Nemo!



WARNING, The Following picture may be frightening to Nemo fans and sushi haters


[Show/Hide] Continue




[Show/Hide] Awesome Quotes


"Yesterday was history, tomorrow is a mystery, and today is a gift. Thats why they call it the present." - Kong Fu Panda

"What are you? Dumb?"
"Well you should have knwon I was dumb, so your the dumb one!" Max from Wizards of Waverly Place

"If everyone is thinking alike then sombody isn't thinking." - George Patton.

"Always bear in mind that your own resolution to succeed is more important than any one thing" - Abraham Lincoln

"Ask not what your country can do for you--ask what you can do for your country" - John F. Kennedy

"Leadership is not position. Leadership is action" - UNKNOWN

"You can't a home run unless you step up to the plate."
"You can't catch a fish unless you put your line in the water."
"You can't reach you goals if you don't try." - Kathy Seligman

"Shoot for the moon. Even if you miss, you will land among the stars" - Les Brown


Thanks Leper!

Cheahjc is too cool for school.
GO ASIANS!
Go to the top of the page
 
+Quote Post
   
Netto
post Jun 11 2008, 03:52 PM
Post #12


芸術家
Group Icon

Group: Revolutionary
Posts: 708
Type: None
RM Skill: Skilled




Thanks Ccoa, this helps a lot, my npc's were lame before I read this laugh.gif


__________________________
Current Project[RC]: Twilight Realm 3DMMORPG w/dx9, and char creation through mysql after I get a server, now C++ scripting
Current Project[VX]: Obsidian Trilogy just started 08/12/2008
Current Project[XP&RM2K3]: none
Go to the top of the page
 
+Quote Post
   
Xethion
post Jun 11 2008, 04:11 PM
Post #13


The returning evil!
Group Icon

Group: Revolutionary
Posts: 323
Type: Artist
RM Skill: Beginner




Thanks CCOA. I've read other tutorials you have created and all have been very useful.


__________________________


[Show/Hide] My Anime Stats:
Go to the top of the page
 
+Quote Post
   
Calintz16438
post Jun 12 2008, 11:50 AM
Post #14


Level 5
Group Icon

Group: Member
Posts: 74
Type: Artist
RM Skill: Skilled




Thank you...
Go to the top of the page
 
+Quote Post
   
Stress
post Jun 14 2008, 01:08 PM
Post #15


Level 3
Group Icon

Group: Member
Posts: 35
Type: None
RM Skill: Masterful




The random lines suggestion is really going to help me. Up until now the only way I've done any kind of talking is with branching convos.

At least setting a few random lines will make it easier on my brain in not having to come up with so many different responses to dozens of questions.

I mean REALLY. Who wants to have an in depth conversation with a 14 random soldiers?

(Other than me...)
Go to the top of the page
 
+Quote Post
   
sweetlynx
post Jul 26 2008, 02:29 PM
Post #16



Group Icon

Group: Member
Posts: 1
Type: None
RM Skill: Beginner




Great tutorial, taught me a lot smile.gif Thank you!
Go to the top of the page
 
+Quote Post
   

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 23rd May 2013 - 07:22 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker