Skip to content

Commit

Permalink
MP: add alot of xxx_lock setting
Browse files Browse the repository at this point in the history
In these cases they have only in limited situations an effect:
In normal play the sides are hidden, if not using map settings they are ignored,
so this mostly only has an effect if starting the game in debug mode an using map
settings.

Other ones revert acidental changes caused by force_lock_settings.
fore_lock_settings does not only disallow the player to modify the settings,
but does also serve as default value for all the other lock settings.
  • Loading branch information
sevu committed Feb 5, 2018
1 parent 2dc4352 commit ae17a8d
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 4 deletions.
6 changes: 6 additions & 0 deletions data/multiplayer/scenarios/2p_Caves_of_the_Basilisk.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@
disallow_observers=yes
no_leader=yes
hidden=yes
controller_lock=yes
faction_lock=yes
leader_lock=yes
team_lock=yes
gold_lock=yes
income_lock=yes
team_name=statues
user_team_name= _ "teamname^Statues"

Expand Down
10 changes: 10 additions & 0 deletions data/multiplayer/scenarios/2p_Sullas_Ruins.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
apply_to=movement
set=0
[/effect]
[effect]
apply_to=ellipse
ellipse=none
[/effect]
[/trait]
[/modifications]
[/unit]
Expand Down Expand Up @@ -81,6 +85,12 @@
disallow_observers=yes
no_leader=yes
hidden=yes
controller_lock=yes
faction_lock=yes
leader_lock=yes
team_lock=yes
gold_lock=yes
income_lock=yes
team_name=statues
user_team_name= _ "teamname^Statues"

Expand Down
6 changes: 6 additions & 0 deletions data/multiplayer/scenarios/2p_Thousand_Stings_Garrison.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@
disallow_observers=yes
no_leader=yes
hidden=yes
controller_lock=yes
faction_lock=yes
leader_lock=yes
team_lock=yes
gold_lock=yes
income_lock=yes
team_name=statues
user_team_name= _ "teamname^Statues"

Expand Down
12 changes: 8 additions & 4 deletions data/multiplayer/scenarios/4p_A_New_Land.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
team_name=settlers
user_team_name= _ "teamname^Settlers"
team_lock=yes
income_lock=yes
gold_lock=no
shroud=no
fog=yes
recruit=Peasant,Mage
Expand All @@ -70,7 +70,7 @@
team_name=settlers
user_team_name= _ "teamname^Settlers"
team_lock=yes
income_lock=yes
gold_lock=no
shroud=no
fog=yes
recruit=Peasant,Mage
Expand All @@ -84,7 +84,7 @@
team_name=settlers
user_team_name= _ "teamname^Settlers"
team_lock=yes
income_lock=yes
gold_lock=no
shroud=no
fog=yes
recruit=Peasant,Mage
Expand All @@ -98,7 +98,7 @@
team_name=settlers
user_team_name= _ "teamname^Settlers"
team_lock=yes
income_lock=yes
gold_lock=no
shroud=no
fog=yes
recruit=Peasant,Mage
Expand All @@ -120,6 +120,7 @@
income=20
village_gold=2
team_lock=yes
gold_lock=no
income_lock=yes
type=Death Knight
name= _ "Mal Sevu"
Expand Down Expand Up @@ -150,6 +151,7 @@
income=20
village_gold=2
team_lock=yes
gold_lock=no
income_lock=yes
type=Orcish Sovereign
name= _ "Gol Goroth"
Expand Down Expand Up @@ -180,6 +182,7 @@
income=20
village_gold=2
team_lock=yes
gold_lock=no
income_lock=yes
type=Orcish Sovereign
name= _ "Greg"
Expand Down Expand Up @@ -210,6 +213,7 @@
income=20
village_gold=2
team_lock=yes
gold_lock=no
income_lock=yes
type=Death Knight
name= _ "Mal Shiki"
Expand Down

0 comments on commit ae17a8d

Please sign in to comment.