Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

adding AI civilians

Chat and ask questions about the RPG Maker Mode here.
Post Reply
Ghostman Gaming
Member
Member
Posts: 49
Joined: July 9th, 2012, 6:44 pm
Name: Tyler Mangino
IRC Username: ghostman1996
Contact:

adding AI civilians

Post by Ghostman Gaming »

I want to add AI civilians to my RPG city I want them to just walk around the map. Unless the player does something out of the ordinary.
If i kill or steal something i want the people to alert near by guards.
I also want to add sound to my civilians how would i do this?
EX: if i steal something i want the person to yell something like thief guards kill this man!
or just random talk like hi and how are you. :mrgreen:
Hirato
Developer
Developer
Posts: 689
Joined: May 30th, 2009, 1:23 pm
IRC Username: hirato

Re: adding AI civilians

Post by Hirato »

Ghostman Gaming wrote:or just random talk like hi and how are you. :mrgreen:
Hi, how are you?
I saw a mud crab the other day, horrible creatures.
I hear the emperor's been murdered.
They say the dark brotherhood comes to you in your sleep.
Bye.
Good-day.





Now, on a serious-we-are-totally-not-doing-a-parody-of-oblivion note.
The default NPC script will cause NPCs to respond negatively if you open up a container, much more so if there are valuable things in there.
Items in the world currently can't be owned, so they can't really be stolen.
If you murder an NPC, everyone in their faction hates your guts, I've been meaning to make this less "psychic."

It's easy enough to rally nearby allies, just loop through the map's entities, otherwise it simply isn't done at the moment, they'll just ignore you until they see you.
Also, you can make them wander or go wherever you want, but there's currently no means of knowing whether they've reached their destination, or to have them "patrol"
This is not a url, clicking it is pointless
User avatar
kddekadenz
Member
Member
Posts: 423
Joined: July 17th, 2011, 11:02 am
Name: kdd
Contact:

Re: adding AI civilians

Post by kddekadenz »

Hirato is right, but he did not really explain it.
Since the RPG module lacks a solid documentation, this is a no-no.



If you're done watching Tobuscus saying, what he thinks of this, let me help you.

I recently added rumors to Kelgar and I planned for a long time to release the code of Kelgar under an open source license.
It still needs more documentation, but I will put it on github now and then give you the link ;)
Kelgar is an advanced RPG beeing developed in Sandbox
Ghostman Gaming
Member
Member
Posts: 49
Joined: July 9th, 2012, 6:44 pm
Name: Tyler Mangino
IRC Username: ghostman1996
Contact:

Re: adding AI civilians

Post by Ghostman Gaming »

Sure thank you!
User avatar
kddekadenz
Member
Member
Posts: 423
Joined: July 17th, 2011, 11:02 am
Name: kdd
Contact:

Re: adding AI civilians

Post by kddekadenz »

https://github.com/kelgar/Kelgar-data/b ... _ridaz.cfg

I uploaded it 12 days ago, but I forgot to send you the link ^^
Feel free to use it, but take a look at the readme for information about the license.
Kelgar is an advanced RPG beeing developed in Sandbox
Post Reply