Skip to content

Commit

Permalink
fix destroy radiotruck, fix civ hint, fix start marker
Browse files Browse the repository at this point in the history
  • Loading branch information
nomisum committed Mar 14, 2016
1 parent 0779331 commit d7b572b
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 9 deletions.
3 changes: 0 additions & 3 deletions Engima/Traffic/Server/randomCivilian.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ randomCivilian = {
_unit = _this select 0;

_rds_rhs_civilian = [
"rds_schoolteacher",
"rds_doctor",
"rds_uniform_assistant",
"rds_uniform_Worker1",
"rds_uniform_Worker2",
"rds_uniform_Worker3",
Expand Down
4 changes: 2 additions & 2 deletions player/teleportPlayer.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ addOpforSpawnpadMarker = {
};

if (side player == west) then {
US_SPAWNPAD call addBluforSpawnpadMarker;
[getPos US_SPAWN_PAD] call addBluforSpawnpadMarker;
};

if (side player == east) then {
RUS_SPAWNPAD call addOpforSpawnpadMarker;
[getPos RUS_SPAWN_PAD] call addOpforSpawnpadMarker;
};
6 changes: 4 additions & 2 deletions server/civKillListener.sqf
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
_CIV_KILLED_POS_listener = {
_pos = _this;
[{[_pos] execVM "player\civKilledMarker.sqf";},"BIS_fnc_spawn",true,true] call BIS_fnc_MP;
_pos = _this select 0;

[[[_pos],"player\civKilledMarker.sqf"],"BIS_fnc_execVM",true,true] call BIS_fnc_MP;

};


Expand Down
4 changes: 2 additions & 2 deletions spawn/addInteractions.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ _rusAction = ["RusBuyMenu", (localize "str_GRAD_buy_vehicles"), "",
["rhs_gaz66_r142_vv", 0, ["ACE_MainActions"],_rusAction] call ace_interact_menu_fnc_addActionToClass;


_destroyAction = ["usDestroyMenu", (localize "str_GRAD_buy_vehicles"), "",
_destroyAction = ["usDestroyMenu", (localize "str_GRAD_destroy_vehicle"), "",
{
[60, [], {(_this select 0) setdamage 1;}, {hint "Cancelled"}, "Destroying radio equipment"] call ace_common_fnc_progressBar;
[60, [_this select 0], {((_this select 0) select 0) setdamage 1;}, {hint "Cancelled action"}, (localize "str_GRAD_destroying_radio")] call ace_common_fnc_progressBar;
},
{side player == west}] call ace_interact_menu_fnc_createAction;
["rhs_gaz66_r142_vv", 0, ["ACE_MainActions"],_destroyAction] call ace_interact_menu_fnc_addActionToClass;
Expand Down
10 changes: 10 additions & 0 deletions stringtable.xml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,16 @@
<German>Fahrzeuge kaufen</German>
<French>Sélectionner des voitures</French>
</Key>
<Key ID="str_GRAD_destroy_vehicle">
<Original>Destroy Radio Truck</Original>
<English>Destroy Radio Truck</English>
<German>Funkwagen zerstören</German>
</Key>
<Key ID="str_GRAD_destroying_radio">
<Original>Destroying radio equipment...</Original>
<English>Destroying radio equipment...</English>
<German>Zerstöre Funkequipment...</German>
</Key>
<Key ID="str_GRAD_jip">
<Original>Sorry, you joined too late. Spectate and enjoy!</Original>
<English>Sorry, you joined too late. Spectate and enjoy!</English>
Expand Down

0 comments on commit d7b572b

Please sign in to comment.