Emote Brain

Share files with other Dawn of Light users

Moderator: Support Team

Emote Brain

Postby deathwish » Wed Mar 28, 2012 12:55 pm

Lastnight i started playing playing around with mob brains, goal was to make a mobs more interactive with the client.
Heres one of the brains i made - Only a silly/simple brain, but i think some players would like.

Simple Mob, thats turns the npc to a client if they entre the npcs aggro range, the brain will automatically Emote(Military) the player for the amount of time the npc is facing the player, then the npc will turn back to its normal heading.
To stop the npc from going mad, i have set a 15sec time to the npc, some once it has emoted the player, it will leave the player along for the remain amount of time left.

Also with the NPC, i have played with the mobs models and added 10 different random models that the npc can load up from, just so you dont always have all the same boring modela all over the place lol.

I know its a bit of a silly post, but someone out there might enjoy it, or it might lead to greater things, Enjoy :)
Attachments
Emote mob.cs
(4.65 KiB) Downloaded 104 times
- Terry - terryammon
User avatar
deathwish
Database Team
 
Posts: 482
Joined: Sun Jul 05, 2009 10:15 pm
Location: England / Essex

Re: Emote Brain

Postby rdsandersjr » Thu Mar 29, 2012 4:21 am

Interesting idea; be interesting if you was like RR8+ they would random emote salute/bow ect.. when running through a capital city (the guards that is)
Thanks,
RDSandersJR
User avatar
rdsandersjr
Support Team
 
Posts: 1055
Joined: Fri Aug 01, 2008 3:01 pm
Location: Cincinnati, Ohio

Re: Emote Brain

Postby Graveen » Thu Mar 29, 2012 9:20 am

Nice idea, but, why don't you extend instead the mobxambientbehaviour concept ?

(or use it, let's be mad :D)

edit: documentation for ambient behaviour: viewtopic.php?f=59&t=16622&p=118340#p118340
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12021
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Emote Brain

Postby Argo » Fri Mar 30, 2012 9:35 am

I have added a few epic quests a while ago, one needed to kill a skeleton named loteth. Upon his death he said something, which i realized by mobxambientbehaviour. Another one was to kill the inconnu ghost who says 'Arawn i am home' upon his death. Sweet to complete as mobxambientbehaviour :) Yeah i like that nifty little table :mrgreen:

kind regards
Argo
Möge Gott sein zwischen Dir und dem Leid, an allen dunklen und verlassenen Orten, die Du erreichen wirst.
Argo
Server Team
 
Posts: 1718
Joined: Thu Sep 18, 2008 6:21 pm
Location: Berlin, Germany

Re: Emote Brain

Postby deathwish » Fri Mar 30, 2012 5:21 pm

I guess using a mobxambientbehaviour concept would be nice, also take the load of the server too, but im not to sure how mobxambientbehaviour works, but im sure your link will tell me everything i need and the rest i will find out myself :).

be interesting if you was like RR8+ they would random emote salute/bow ect

The barin only set to target gms with a if command, so changing it to target rr8+ players would be easy to do, on my server, its set to target vips, but silly me, reinstalled my pc the other night and placed everything thing on my 2nd, hdd, etc the database and backups lol :p luckly everything i add, i use sql scripts, so i just got to find them all and reinstall them.

But if we going to go mad, i like to program the npcs, so you can ask basic questions and they give you a basic reply back, if you wave at them, they wave back and so on.
- Terry - terryammon
User avatar
deathwish
Database Team
 
Posts: 482
Joined: Sun Jul 05, 2009 10:15 pm
Location: England / Essex


Return to User Files

Who is online

Users browsing this forum: No registered users and 1 guest