Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

Commit

Permalink
templating in mission.sqm
Browse files Browse the repository at this point in the history
  • Loading branch information
phumberdroz committed Mar 18, 2018
1 parent acb4db8 commit eaa08f7
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .tf47MapVariants/chernarus/mission.sqm
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ class CustomAttributes {
};
class Mission {
class Intel {
briefingName = "co40 Domination! Blufor CUP [3.89]";
briefingName = "{NAME_TPL}";
overviewText = "by Xeno modified by TF Dagger";
startWeather = 0;
startWind = 0.1;
forecastWeather = 0;
Expand Down
3 changes: 2 additions & 1 deletion .tf47MapVariants/chernarus_winter/mission.sqm
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ class CustomAttributes {
};
class Mission {
class Intel {
briefingName = "co40 Domination! Blufor Winter [3.89]";
briefingName = "{NAME_TPL}";
overviewText = "by Xeno modified by TF Dagger";
startWeather = 0;
startWind = 0.1;
forecastWeather = 0;
Expand Down
4 changes: 2 additions & 2 deletions .tf47MapVariants/malden/mission.sqm
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,8 @@ class ScenarioData {
};
class Mission {
class Intel {
briefingName = "co40 Domination! Blufor [3.89]";
overviewText = "Kill more enemies, buy better weapons";
briefingName = "{NAME_TPL}";
overviewText = "by Xeno modified by TF Dagger";
resistanceWest = 0;
startWeather = 0;
startWind = 0.1;
Expand Down
3 changes: 2 additions & 1 deletion .tf47MapVariants/sara/mission.sqm
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ class CustomAttributes {
};
class Mission {
class Intel {
briefingName = "co40 Domination! Blufor CUP [3.89]";
briefingName = "{NAME_TPL}";
overviewText = "by Xeno modified by TF Dagger";
startWeather = 0;
startWind = 0.1;
forecastWeather = 0;
Expand Down
3 changes: 2 additions & 1 deletion .tf47MapVariants/stratis/mission.sqm
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ class CustomAttributes {
};
class Mission {
class Intel {
briefingName = "co40 Domination! Blufor [3.89]";
briefingName = "{NAME_TPL}";
overviewText = "by Xeno modified by TF Dagger";
startWeather = 0;
startWind = 0.1;
startWaves = 0.1;
Expand Down
3 changes: 2 additions & 1 deletion .tf47MapVariants/takistan/mission.sqm
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ class CustomAttributes {
};
class Mission {
class Intel {
briefingName = "co40 Domination! Blufor CUP [3.89]";
briefingName = "{NAME_TPL}";
overviewText = "by Xeno modified by TF Dagger";
startWeather = 0;
startWind = 0.1;
forecastWeather = 0;
Expand Down
5 changes: 3 additions & 2 deletions .tf47MapVariants/tanoa/mission.sqm
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,8 @@ class CustomAttributes {
};
class Mission {
class Intel {
briefingName = "co40 Domination! Blufor [3.89]";
briefingName = "{NAME_TPL}";
overviewText = "by Xeno modified by TF Dagger";
timeOfChanges = 1800;
startWeather = 0;
startWind = 0.1;
Expand Down Expand Up @@ -2910,7 +2911,7 @@ class Mission {
angles[] = {0.192265, 0, 5.9471};
};
name = "d_target_20";
init = "this setVariable [""d_cityname"", ""Ouméré""]";
init = "this setVariable [""d_cityname"", ""Oumere""]";
id = 309;
type = "LocationCityCapital_F";
atlOffset = 1.90735e-06;
Expand Down
4 changes: 2 additions & 2 deletions description.ext
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ allowFunctionsLog = 1;
#endif
#include "cfgfunctions.hpp"

author = "Xeno";
OnLoadName = "Domination!";
author = "Xeno modified by TF Dagger";
OnLoadName = "{NAME_TPL}";
onLoadMission = __D_VER_NAME__;
onLoadIntroTime = false;
onLoadMissionTime = false;
Expand Down
4 changes: 2 additions & 2 deletions mission.sqm
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ class CustomAttributes {
};
class Mission {
class Intel {
briefingName = "co40 Domination! Blufor [3.89]";
overviewText = "by Xeno";
briefingName = "{NAME_TPL}";
overviewText = "by Xeno modified by TF Dagger";
startWeather = 0;
startWind = 0;
forecastWeather = 0;
Expand Down
2 changes: 1 addition & 1 deletion x_client/x_intro.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ switch (d_MissionType) do {
};
};

0 = [parseText format [ "<br/><t font='PuristaMedium' align='left' size='2.3'> Welcome to Domination! 3</t><br/> <t align='left' size='1'> Version 3.89 </t>"], [safeZoneX + 0.1,safeZoneY + safeZoneH - 0.2,0.9,0.3], nil, 5, 1, 0] spawn BIS_fnc_textTiles;
0 = [parseText format [ "<br/><t font='PuristaMedium' align='left' size='2.3'> Welcome to Domination! 3</t><br/> <t align='left' size='1'> {NAME_TPL} </t>"], [safeZoneX + 0.1,safeZoneY + safeZoneH - 0.2,0.9,0.3], nil, 5, 1, 0] spawn BIS_fnc_textTiles;

_camera camSetTarget player;
_p_tpos = [_pspsxx select 0, _pspsxx select 1, (player modelToWorld [0,0,2]) select 2];
Expand Down

0 comments on commit eaa08f7

Please sign in to comment.