• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

good and bad system request

Status
Not open for further replies.
Level 4
Joined
Jan 8, 2009
Messages
68
id like a system that shows how mutch good point you have and how mutch evil..

it can look something like this:

Good: 1
Evil : 0

if a player does something bad. while having a/many good point then take 1 point away from the good and add it to the evil. so it will look like this:

Good: 0
Evil : 1

_______________________________________
a bad thing is when a player kills an npc, destroys a house or does an evil quest.
to be good you do the opposite, like helping an npc or doing a good quest.
 
Level 7
Joined
Aug 30, 2008
Messages
347
i think that can be done in the leaderboard like if generic unit house dies set leader board to that much....
or something like that.
 
I wouldnt even suggest a leaderboard. I think what you are looking for would be map specific.
If I am correct, you want characters to have an alignment.
Good actions give you good points and bad actions give you bad points.

If this is the case, you would have to do this differently for different maps. For campaign maps, you would have to set values for each action.
Use an integer for each player, best as an array
Alignment [1-12] with a base value of 50 (neutral)
Players that reach 25 have an evil character and players that reach 75 have a good character.

Example:
The objective is to protect a wealthy man or kill him and steal the money.
If he makes it to the destination add a +5 to the alignment of the player
if he dies, subtract 5 from the alignment.
 
Status
Not open for further replies.
Top