Page 1 of 1

Multiplayer Kit

Posted: 27 Feb 2012, 12:44
by Zerano
Made with smartfoxserver2x, MySql and Unity3d

1. General
  • registration inside client via php
  • login to the game using the MySql database
  • creating and saving character to MySql
  • choosing character
  • "ID Factory"

2. Character
  • sending keyboard press to server
  • moving character
  • Inventory
  • Equip/Unequip
  • Pickup Items/Drop Items
  • Stats with Regeneration
  • Death
  • "passive" Skills---> increase the hit chance and damage
  • Talents 2 of each class
  • Private Chat
3. Npc
  • spawnig npcs from database
  • structure for AI to add easy diffrent AI behavior
  • sending status to client( hp, level)
  • die
3.1 AI
  • Attacking event handler --> fires the attacking state
  • See player event handler
  • Not see player event handler
  • NothingToDo event handler---> clear events
  • Aggro state --> looking for player to attack
  • Moving to Spawnpoint state
  • Active state ---> active , random walk waiting of the player
  • Thinking state ---> thinking what ai state/handler to fire
  • Desires
  • Aggression desire --> will attack if he see the player
  • Attack desire
  • Move to target desire --> following a target (for attack or summon/animal control)
  • Move to Spawnpoint desire --> if to far away the npc will walk to his spawnpoint
  • Walk desire --> random walk
  • Diffrent controllers to handle the ai.

And a lot more, get a full description + detailed videos here: http://zerano-unity3d.com/wp/?p=267

Re: Multiplayer Kit

Posted: 29 Feb 2012, 05:31
by itsmylifesoham
looks awesome! thanks.

Re: Multiplayer Kit

Posted: 29 Feb 2012, 07:24
by Zerano
Thank you i hope to finish the collision soon.

Re: Multiplayer Kit

Posted: 11 Apr 2012, 12:19
by Zerano