<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Système de ressource]]></title>
		<description><![CDATA[Je vais met a jours ce topic.<br />
<br />
Premièrement ya que moi qui vois les ressources s'afficher en haut a droit.<br />
<br />
voici le init.sqf<br />
<div class="quote"><div class="quote_title">Citation</div><div class="quote_content">if (isServer) then<br />
{<br />
    missionNamespace setVariable ["Manpower", 200, true];<br />
    missionNamespace setVariable ["Munition", 50, true];<br />
    missionNamespace setVariable ["Gas", 15, true];<br />
    missionNamespace setVariable ["Manpower2", 200, true];<br />
    missionNamespace setVariable ["Munition2", 50, true];<br />
    missionNamespace setVariable ["Gas2", 15, true];<br />
<br />
    execVM "infos.sqf";<br />
    execVM "ressourcesauto.sqf";<br />
    execVM "ressourcesGasn.sqf";<br />
    execVM "ressourcesGass.sqf";<br />
    execVM "ressourcesmunitionn.sqf";<br />
    execVM "ressourcesmunitions.sqf";<br />
    execVM "ressourcesmanpowern.sqf";<br />
    execVM "ressourcesmanpowerm.sqf";<br />
    execVM "ressourcesmanpowers.sqf";<br />
};</div></div><br />
<br />
et voici le infos.sqf<br />
<br />
<div class="quote"><div class="quote_title">Citation</div><div class="quote_content">while {true} do<br />
{<br />
	if (side player == west) then<br />
	{<br />
		hintSilent format["Manpower : %1\nMunition : %2\nGas : %3",missionNamespace getVariable "Manpower",missionNamespace getVariable "Munition",missionNamespace getVariable "Gas"];<br />
	};<br />
<br />
	if (side player == resistance) then<br />
	{<br />
		hintSilent format["Manpower : %1\nMunition : %2\nGas : %3",missionNamespace getVariable "Manpower2",missionNamespace getVariable "Munition2",missionNamespace getVariable "Gas2"];<br />
	};<br />
<br />
	sleep 1;<br />
};</div></div><br />
<br />
ensuite mon deuxième problème, les zone de capture fonctionne bien, par contre pour qu'une autre équipe capture la zone ils doivent être dans cette dernière 60 sec. J'ai le principe. J'aimerai bien voir une barre de temps ou quelque chose au moins pour savoir que la zone est en capture.<br />
<br />
voici un script de zone<br />
<div class="quote"><div class="quote_title">Citation</div><div class="quote_content">private ["_zoneCamp"];<br />
<br />
_zoneCamp = "";<br />
<br />
while {true} do<br />
{<br />
	_countWest = parseNumber format["%1",{side _x == west} count list gasn];<br />
	_countInd = parseNumber format["%1",{side _x == resistance} count list gasn];<br />
<br />
	if ((_countWest &gt; _countInd) || (_zoneCamp == "west" &amp;&amp; (_countWest &gt; _countInd || _countInd == 0))) then<br />
	{<br />
		"gasni" setMarkerColor "ColorBlue";<br />
		"gasnzone" setMarkerColor "ColorBlue";<br />
		sleep 60;<br />
		missionNamespace setVariable ["Gas",(missionNamespace getVariable "Gas") + 5, true];<br />
		_zoneCamp = "west";<br />
	};<br />
<br />
	if ((_countWest &lt; _countInd) || (_zoneCamp == "resistance" &amp;&amp; (_countWest &lt; _countInd || _countWest == 0))) then<br />
	{<br />
		"gasni" setMarkerColor "ColorGreen";<br />
		"gasnzone" setMarkerColor "ColorGreen";<br />
		sleep 60;<br />
		missionNamespace setVariable ["Gas2",(missionNamespace getVariable "Gas2") + 5, true];<br />
		_zoneCamp = "resistance";<br />
	};<br />
};</div></div><br />
<br />
Jte remercie encore The_Killer. Si mon projet avance c'est grace a toi. ;)]]></description>
		<language><![CDATA[fr]]></language>
		<link><![CDATA[http://www.clan-ado.fr/forum//index.php?p=rss&amp;mode=topic&amp;id=1084]]></link>
		<lastBuildDate><![CDATA[Sun, 01 Apr 2018 20:23:04]]></lastBuildDate>
		<generator><![CDATA[FSB 2]]></generator>
		<item>
			<title><![CDATA[Système de ressource]]></title>
			<description><![CDATA[Je vais met a jours ce topic. 
 
Premièrement ya que moi qui vois les ressources s'afficher en haut a droit. 
 
voici le init.sqf 
<div class="quote"><div class="quote_title">Citation</div><div class="quote_content">if (isServer) then 
{ 
    missionNamespace setVariable ["Manpower", 200, true]; 
    missionNamespace setVariable ["Munition", 50, true]; 
    missionNamespace setVariable ["Gas", 15, true]; 
    missionNamespace setVariable ["Manpower2", 200, true]; 
    missionNamespace setVariable ["Munition2", 50, true]; 
    missionNamespace setVariable ["Gas2", 15, true]; 
 
    execVM "infos.sqf"; 
    execVM "ressourcesauto.sqf"; 
    execVM "ressourcesGasn.sqf"; 
    execVM "ressourcesGass.sqf"; 
    execVM "ressourcesmunitionn.sqf"; 
    execVM "ressourcesmunitions.sqf"; 
    execVM "ressourcesmanpowern.sqf"; 
    execVM "ressourcesmanpowerm.sqf"; 
    execVM "ressourcesmanpowers.sqf"; 
};</div></div> 
 
et voici le infos.sqf 
 
<div class="quote"><div class="quote_title">Citation</div><div class="quote_content">while {true} do 
{ 
	if (side player == west) then 
	{ 
		hintSilent format["Manpower : %1\nMunition : %2\nGas : %3",missionNamespace getVariable "Manpower",missionNamespace getVariable "Munition",missionNamespace getVariable "Gas"]; 
	}; 
 
	if (side player == resistance) then 
	{ 
		hintSilent format["Manpower : %1\nMunition : %2\nGas : %3",missionNamespace getVariable "Manpower2",missionNamespace getVariable "Munition2",missionNamespace getVariable "Gas2"]; 
	}; 
 
	sleep 1; 
};</div></div> 
 
ensuite mon deuxième problème, les zone de capture fonctionne bien, par contre pour qu'une autre équipe capture la zone ils doivent être dans cette dernière 60 sec. J'ai le principe. J'aimerai bien voir une barre de temps ou quelque chose au moins pour savoir que la zone est en capture. 
 
voici un script de zone 
<div class="quote"><div class="quote_title">Citation</div><div class="quote_content">private ["_zoneCamp"]; 
 
_zoneCamp = ""; 
 
while {true} do 
{ 
	_countWest = parseNumber format["%1",{side _x == west} count list gasn]; 
	_countInd = parseNumber format["%1",{side _x == resistance} count list gasn]; 
 
	if ((_countWest &gt; _countInd) || (_zoneCamp == "west" &amp;&amp; (_countWest &gt; _countInd || _countInd == 0))) then 
	{ 
		"gasni" setMarkerColor "ColorBlue"; 
		"gasnzone" setMarkerColor "ColorBlue"; 
		sleep 60; 
		missionNamespace setVariable ["Gas",(missionNamespace getVariable "Gas") + 5, true]; 
		_zoneCamp = "west"; 
	}; 
 
	if ((_countWest &lt; _countInd) || (_zoneCamp == "resistance" &amp;&amp; (_countWest &lt; _countInd || _countWest == 0))) then 
	{ 
		"gasni" setMarkerColor "ColorGreen"; 
		"gasnzone" setMarkerColor "ColorGreen"; 
		sleep 60; 
		missionNamespace setVariable ["Gas2",(missionNamespace getVariable "Gas2") + 5, true]; 
		_zoneCamp = "resistance"; 
	}; 
};</div></div> 
 
Jte remercie encore The_Killer. Si mon projet avance c'est grace a toi. ;)]]></description>
			<author><![CDATA[staff@clan-ado.fr Jben]]></author>
			<link><![CDATA[http://www.clan-ado.fr/forum//index.php?p=topic&amp;p_id=86089#p86089]]></link>
			<pubDate><![CDATA[Sun, 01 Apr 2018 20:23:04]]></pubDate>
			<guid isPermaLink="false"><![CDATA[http://www.clan-ado.fr/forum//index.php?p=topic&amp;p_id=86089#p86089]]></guid>
		</item>
		<item>
			<title><![CDATA[Système de ressource]]></title>
			<description><![CDATA[J'ai ajouté des marqueurs qui change de couleur ainsi qu'une zone. 
J'ai changé un peut le script et sa donne ca. J'ai testé avec un ami moi je vois les ressource a droite mais pas lui. De plus une fois la zone capturé l'autre équipe ne peut plus capturé cette zone.  
<div class="quote"><div class="quote_title">Citation</div><div class="quote_content">private ["_zoneCamp"]; 
 
_zoneCamp = ""; 
 
while {true} do 
{ 
	_countWest = parseNumber format["%1",{side _x == west} count list gasn]; 
	_countInd = parseNumber format["%1",{side _x == resistance} count list gasn]; 
 
	if ((_countWest &gt; _countInd) || (_zoneCamp == "west" &amp;&amp; (_countWest &gt; _countInd || _countInd == 0))) then 
	{ 
		"gasni" setMarkerColor "ColorBlue"; 
		"gasnzone" setMarkerColor "ColorBlue"; 
		sleep 60; 
		missionNamespace setVariable ["Gas",(missionNamespace getVariable "Gas") + 5, true]; 
		_zoneCamp = "west"; 
	}; 
 
	if ((_countWest &lt; _countInd) || (_zoneCamp == "resistance" &amp;&amp; (_countWest &lt; _countInd || _countWest == 0))) then 
	{ 
		"gasni" setMarkerColor "ColorGreen"; 
		"gasnzone" setMarkerColor "ColorGreen"; 
		sleep 60; 
		missionNamespace setVariable ["Gas2",(missionNamespace getVariable "Gas2") + 5, true]; 
		_zoneCamp = "resistance"; 
	}; 
}; 
</div></div>]]></description>
			<author><![CDATA[staff@clan-ado.fr Jben]]></author>
			<link><![CDATA[http://www.clan-ado.fr/forum//index.php?p=topic&amp;p_id=86060#p86060]]></link>
			<pubDate><![CDATA[Sat, 24 Mar 2018 21:40:22]]></pubDate>
			<guid isPermaLink="false"><![CDATA[http://www.clan-ado.fr/forum//index.php?p=topic&amp;p_id=86060#p86060]]></guid>
		</item>
		<item>
			<title><![CDATA[Système de ressource]]></title>
			<description><![CDATA[Sa fonctionne parfaitement. J'aurais quand mémé aimé avec un module. Ont ne pourrait tout simplement pas juste vérifier le side d'une zone (Module de secteur) ? Parceque en ce moment la zone ce capture sur le coups. Ya pas de cooldown et ont ne vois pas la zone sur la map.  systeme/module/secteur.]]></description>
			<author><![CDATA[staff@clan-ado.fr Jben]]></author>
			<link><![CDATA[http://www.clan-ado.fr/forum//index.php?p=topic&amp;p_id=86059#p86059]]></link>
			<pubDate><![CDATA[Thu, 22 Mar 2018 17:28:04]]></pubDate>
			<guid isPermaLink="false"><![CDATA[http://www.clan-ado.fr/forum//index.php?p=topic&amp;p_id=86059#p86059]]></guid>
		</item>
		<item>
			<title><![CDATA[Système de ressource]]></title>
			<description><![CDATA[Comment tu fait la zone? J'ai créer module de secteur avec des entité Logic synchronisé, Blufor, Independent et zone. J'ai créer le déclencheur comme dit ici. 
 
<div class="quote"><div class="quote_title">Citation</div><div class="quote_content">Dans cet exemple, j'ai créé un déclencheur avec comme propriété : 
"Nom de variable" : maZone 
"Type" : aucun 
"Activation" : Tout joueur 
"Type d'activation" : Présent 
"Condition" : This</div></div> 
 
Doit-je synchronisé le déclencheur avec quoi que ce soit?]]></description>
			<author><![CDATA[staff@clan-ado.fr Jben]]></author>
			<link><![CDATA[http://www.clan-ado.fr/forum//index.php?p=topic&amp;p_id=86057#p86057]]></link>
			<pubDate><![CDATA[Wed, 21 Mar 2018 23:41:06]]></pubDate>
			<guid isPermaLink="false"><![CDATA[http://www.clan-ado.fr/forum//index.php?p=topic&amp;p_id=86057#p86057]]></guid>
		</item>
		<item>
			<title><![CDATA[Système de ressource]]></title>
			<description><![CDATA[J'ai oublié le déclencheur ...]]></description>
			<author><![CDATA[staff@clan-ado.fr Jben]]></author>
			<link><![CDATA[http://www.clan-ado.fr/forum//index.php?p=topic&amp;p_id=86056#p86056]]></link>
			<pubDate><![CDATA[Wed, 21 Mar 2018 22:19:18]]></pubDate>
			<guid isPermaLink="false"><![CDATA[http://www.clan-ado.fr/forum//index.php?p=topic&amp;p_id=86056#p86056]]></guid>
		</item>
		<item>
			<title><![CDATA[Système de ressource]]></title>
			<description><![CDATA[J'ai rajouté ressourcesauto.sqf 
<div class="quote"><div class="quote_title">Citation</div><div class="quote_content">while {true} do 
{ 
 
        missionNamespace setVariable ["Manpower",(missionNamespace getVariable "Manpower") + 15, true]; 
        missionNamespace setVariable ["Manpower2",(missionNamespace getVariable "Manpower2") + 15, true]; 
		missionNamespace setVariable ["Munition",(missionNamespace getVariable "Munition") + 10, true]; 
        missionNamespace setVariable ["Munition2",(missionNamespace getVariable "Munition2") + 10, true]; 
		missionNamespace setVariable ["Gas",(missionNamespace getVariable "Gas") + 5, true]; 
        missionNamespace setVariable ["Gas2",(missionNamespace getVariable "Gas2") + 5, true]; 
 
	sleep 60; 
};</div></div>]]></description>
			<author><![CDATA[staff@clan-ado.fr Jben]]></author>
			<link><![CDATA[http://www.clan-ado.fr/forum//index.php?p=topic&amp;p_id=86055#p86055]]></link>
			<pubDate><![CDATA[Wed, 21 Mar 2018 22:17:11]]></pubDate>
			<guid isPermaLink="false"><![CDATA[http://www.clan-ado.fr/forum//index.php?p=topic&amp;p_id=86055#p86055]]></guid>
		</item>
		<item>
			<title><![CDATA[Système de ressource]]></title>
			<description><![CDATA[<img src="images/smileys/fsb2_lol.gif" title=":fsb2_shocked:" alt=":fsb2_shocked:" />  Merci The-Killer. Pour savoir je doit modifier quelque chose dans ce script? 
 
Parce que cela ne semble pas fonctionné. J'ai aucun message d'erreur mais les ressource ne sont pas ajouté a la suite de la capture.]]></description>
			<author><![CDATA[staff@clan-ado.fr Jben]]></author>
			<link><![CDATA[http://www.clan-ado.fr/forum//index.php?p=topic&amp;p_id=86052#p86052]]></link>
			<pubDate><![CDATA[Wed, 21 Mar 2018 20:28:12]]></pubDate>
			<guid isPermaLink="false"><![CDATA[http://www.clan-ado.fr/forum//index.php?p=topic&amp;p_id=86052#p86052]]></guid>
		</item>
		<item>
			<title><![CDATA[Système de ressource]]></title>
			<description><![CDATA[J'ai testé ceci: 
<div class="quote"><div class="quote_title">Citation</div><div class="quote_content">while {true} do 
{ 
	if ((side maZone) == west) then 
	{ 
		missionNamespace setVariable ["Gas",(missionNamespace getVariable "Gas") + 5, true]; 
	}; 
    if ((side maZone) == independent) then 
	{ 
	    missionNamespace setVariable ["Gas2",(missionNamespace getVariable "Gas2") + 5, true]; 
	}; 
 
	sleep 3; 
};</div></div> 
J'ai aucun message d’erreur mais portent il ne fonctionne pas.]]></description>
			<author><![CDATA[staff@clan-ado.fr Jben]]></author>
			<link><![CDATA[http://www.clan-ado.fr/forum//index.php?p=topic&amp;p_id=86016#p86016]]></link>
			<pubDate><![CDATA[Sun, 18 Mar 2018 23:36:34]]></pubDate>
			<guid isPermaLink="false"><![CDATA[http://www.clan-ado.fr/forum//index.php?p=topic&amp;p_id=86016#p86016]]></guid>
		</item>
		<item>
			<title><![CDATA[Système de ressource]]></title>
			<description><![CDATA[J'ai créer un module de secteur et dans nom de la variable j'y est mit maZone. J'y est syncronisé 3 entités logique, blufor, indepentant et zone. 
 
J'ai testé ceci mais sa fonctionne pas.... 
 
<div class="quote"><div class="quote_title">Citation</div><div class="quote_content">while {true} do 
{ 
 
        missionNamespace setVariable ["Manpower",(missionNamespace getVariable "Manpower") + 15, true]; 
        missionNamespace setVariable ["Manpower2",(missionNamespace getVariable "Manpower2") + 15, true]; 
		missionNamespace setVariable ["Munition",(missionNamespace getVariable "Munition") + 10, true]; 
        missionNamespace setVariable ["Munition2",(missionNamespace getVariable "Munition2") + 10, true]; 
		missionNamespace setVariable ["Gas",(missionNamespace getVariable "Gas") + 5, true]; 
        missionNamespace setVariable ["Gas2",(missionNamespace getVariable "Gas2") + 5, true]; 
 
        <u>if ( maZone == west) then</u> 
        missionNamespace setVariable ["Gas",(missionNamespace getVariable "Gas") + 5, true]; 
 
	sleep 60; 
};</div></div>]]></description>
			<author><![CDATA[staff@clan-ado.fr Jben]]></author>
			<link><![CDATA[http://www.clan-ado.fr/forum//index.php?p=topic&amp;p_id=86006#p86006]]></link>
			<pubDate><![CDATA[Fri, 16 Mar 2018 00:50:40]]></pubDate>
			<guid isPermaLink="false"><![CDATA[http://www.clan-ado.fr/forum//index.php?p=topic&amp;p_id=86006#p86006]]></guid>
		</item>
		<item>
			<title><![CDATA[Système de ressource]]></title>
			<description><![CDATA[Pour faire simple chaque équipe commencera avec des ressources de départ soit 200 manpower, 50 munition et 15 gas. 
Au 60 seconde chaque équipe obtiendront des ressources soit  15 manpower, 10 munition et 5 gas et ajoutera un bonus de ressources 
pour chaque zone capturé.  
 
Exemple 3 min est écoulé. L'équipe blufor ont capturé la zone gas, au lieu doptenir seulement 5 gas au 60 sec il obtiendront 10 gas.]]></description>
			<author><![CDATA[staff@clan-ado.fr Jben]]></author>
			<link><![CDATA[http://www.clan-ado.fr/forum//index.php?p=topic&amp;p_id=86005#p86005]]></link>
			<pubDate><![CDATA[Thu, 15 Mar 2018 21:48:58]]></pubDate>
			<guid isPermaLink="false"><![CDATA[http://www.clan-ado.fr/forum//index.php?p=topic&amp;p_id=86005#p86005]]></guid>
		</item>
	</channel>
</rss>