Author Topic: Relationship Between Town Guards and In Town Fights  (Read 855 times)

Avadon

  • Traveller
  • *
  • Posts: 17
    • View Profile
Relationship Between Town Guards and In Town Fights
« on: May 11, 2007, 10:15:08 am »
I feel the following idea would greatly benefit us by bringing a new aspect and sense of realism into the game.  This should not be hard to implement.  Most of the coding would be in the AI of guard class NPCs.  A few new checks would need to be added to the server code.

Server determines type of fight, based on challenge code, if fight is within sight of an NPC or reported by player alerting guards manually, otherwise fight is not reported.
Server determines distance from fight to guards, utilizing x, y, z coordinate system already in game.  (this is the easy way, or this would generate a path the guards would take and then calculate that distance)
Guards despawn or start running. (Running would be the prefered method)
If despawned: Server waits period of time based off distance and type of fight.
If guards run: Server waits period of time based off distance and type of fight, then sends the guards running towards the fight.  (delay to simulate the amount of time it takes for a npc or player to tell the guards)
Guards spawn or arrive near fight and break up fight. If the fight began due to both players wanting or deciding to fight, both get punished.  If fight began due to provocation, skill used that if failed auto challenges person, then the person responsible for starting the fight gets punished.  IE: Failing to pickpocket auto challenges the person you tried to steal from. 

Types of pickpocket outcomes:
Item Stolen, no notification. 
Item Stolen, with notification of player and guards. 
Item Stolen, with notification and thief auto challenges person, person accepts or declines, if accepted guards summoned, if declined guards notified.
Theft Failed, no notification.
Theft Failed, with notification of player and guards. 
Theft Failed, with notification and thief auto challenges person, person accepts or declines, if accepted guards summoned, if declined guards notified.

If provoker goes near Notified guards, then they punish provoker.
« Last Edit: May 11, 2007, 11:06:50 am by Avadon »

Elra

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
Re: Relationship Between Town Guards and In Town Fights
« Reply #1 on: May 11, 2007, 10:55:34 am »
Sounds like a well considered and slim indea, i like it!
But the thing i cant figure out properly is the
Quote
If fight began due to both players want deciding to fight
One will willingly or not "klick" challenge, the other one either has to accept or does it willingly.
So when it comes to a fight i wouldnt know who decided to fight - in any case either both did or only one,
according to if you allow open PvP or not  :-\

Avadon

  • Traveller
  • *
  • Posts: 17
    • View Profile
Re: Relationship Between Town Guards and In Town Fights
« Reply #2 on: May 11, 2007, 11:05:42 am »
Oops bad grammar.  Fixed.

In a street brawl, both combatants decided to fight.  One challenged and the other accepted.  Both would be punished.
If someone used a negative skill on someone else and is caught, ie pickpocketing.  Then it'd be a provocation and the defender would be justified in using force to defend himself.
I think in town only challenge and provocation pvp should be allowed in the main public areas, with completely open pvp in the dangerous areas of towns, ie: back streets, alleys, and slums.
The guards should be extremely powerful.  If a fight starts without provocation then both get punished by jail time, fines, etc for breaking the peace.  If weapons are used then the fine increases.  If someone is killed then the guards kill the other person, unless he escapes. 

All crimes are noted and tallied.  If you escape you can pay your fine and charges are dropped or you can just let your charges increase.  Criminals would need to use non-public ways to enter and exit towns, ie: sewers.
« Last Edit: May 11, 2007, 11:15:11 am by Avadon »