hunterrravyn
TH.net Regular
- Reaction score
- 19
A reputation allows you to become allied or hated with "Factions", this could be used in a rpg... Not sure what else...
There can always be 4 factions the Neutral Passive, Neutral Hostile, Neutral Victem and Neutral Extra. Unless a player has another use for them.
The Setup Trigger, just to make them not automaticly attack you (make them all Neutral). Note:I know neutral passive is Already Neutral... not sure about the others.
Gaining and loosing rep with Furbolgs (Neutral Passive), the way to gain rep with this faction is to kill Satyers (Neutral Hostile).
Loosing, there should always be large penalties for attacking an faction, especcially the one your trying to get rep with.
Now when they get to certain amounts of "rep" you can make them allied or even give control of thier units.
Friendly With Furbolgs
Unfriendly With Furbolgs
Note "Furbolg_Reputation" is a Integer Varible
View attachment 27048
There can always be 4 factions the Neutral Passive, Neutral Hostile, Neutral Victem and Neutral Extra. Unless a player has another use for them.
The Setup Trigger, just to make them not automaticly attack you (make them all Neutral). Note:I know neutral passive is Already Neutral... not sure about the others.
Code:
E-Map initialization
C-
A-Player - Make Player 1 (Red) treat Neutral Hostile as an Neutral
-Player - Make Neutral Hostile treat Player 1 (Red) as an Neutral
-Player - Make Player 1 (Red) treat Neutral Victim as an Neutral
-Player - Make Neutral Victim treat Player 1 (Red) as an Neutral
-Player - Make Player 1 (Red) treat Neutral Extra as an Neutral
-Player - Make Neutral Extra treat Player 1 (Red) as an Neutral
Gaining and loosing rep with Furbolgs (Neutral Passive), the way to gain rep with this faction is to kill Satyers (Neutral Hostile).
Code:
E-Unit - A unit Dies
C-(Owner of (Triggering unit)) Equal to Neutral Hostile
A-Set Furbolg_Reputation = (Furbolg_Reputation + 1)
-Game - Display to Player Group - Player 1 (Red) the text: (Your Current Reputaion With Furbolgs is + (String(Furbolg_Reputation)))
Loosing, there should always be large penalties for attacking an faction, especcially the one your trying to get rep with.
Code:
E-Unit - A unit Dies
C-(Owner of (Triggering unit)) Equal to Neutral Passive
A-Set Furbolg_Reputation = (Furbolg_Reputation - 5)
-Game - Display to Player Group - Player 1 (Red) the text: (Your Current Reputaion With Furbolgs is + (String(Furbolg_Reputation)))
Now when they get to certain amounts of "rep" you can make them allied or even give control of thier units.
Friendly With Furbolgs
Code:
E-Unit - A unit Dies
C-Furbolg_Reputation Greater than or equal to 10
A-Player - Make Player 1 (Red) treat Neutral Passive as an Ally
-Player - Make Neutral Passive treat Player 1 (Red) as an Ally
-Game - Display to Player Group - Player 1 (Red) the text: (You are now Friendly with the Furbolgs)
Unfriendly With Furbolgs
Code:
E-Unit - A unit Dies
C-Furbolg_Reputation Less than or equal to -10
A-Player - Make Player 1 (Red) treat Neutral Passive as an Enemy
-Player - Make Neutral Passive treat Player 1 (Red) as an Enemy
-Game - Display to Player Group - Player 1 (Red) the text: (You are now Unfriendly with the Furbolgs)
Note "Furbolg_Reputation" is a Integer Varible
View attachment 27048