x39 101 Posted June 9, 2014 Oh okay nice ^^ thx---------- Post added at 23:17 ---------- Previous post was at 22:35 ---------- @X39 How can i setup Inte rate with ParramsArray it's not possible to set a decimals number ? range is from 0 - 1 lets say you got param 0 for the intel rate you would enter then inside of the module: paramsArray select 0 but anyway ... located a bug with the module in MP there is a variable which is not broadcasted yet so that the module is not working propper ... will be fixed tomorrow ^^ Share this post Link to post Share on other sites
HorbeySpector 164 Posted June 9, 2014 I'm trying to run the test missions provided so I can see how the modules work. Rather then search the whole map I was hoping to reduce the spawn area to 55 from (I believe its) 200.This didn't seem to work as I could not find any Rebel Units. Will there be support for addons in the future such as CAF_Aggressors? You know you have to sync the units you want to be spawning to the insurgency module, right? works with Aggressors just fine! Share this post Link to post Share on other sites
pokertour 30 Posted June 9, 2014 (edited) @X39 Okay for the broadcast For my insurgency on Zargabad i make this : Description.ext fil : ... class intelRate { //paramsArray[2] title = "Chance d'avoir un intel dans un batiment"; values[] = {10,20,30,40,50,60,70,80,90,1}; texts[] = {"10%","20%","30%","40%","50%","60%","70%","80%","90%","100%"}; default = 50; }; And in the module AmmoCache : for intelRate : if ((paramsArray select 2) == 1) Then {(parramsArray select 2);} else {format ["%1%2%3", 0, ".", (paramsArray select 2)];}; But i have a script error in your addons files ^^ with your variable _intelRate Edited June 9, 2014 by pokertour Share this post Link to post Share on other sites
x39 101 Posted June 9, 2014 @X39 Okay for the broadcast For my insurgency on Zargabad i make this : Description.ext fil : ... class intelRate { //paramsArray[2] title = "Chance d'avoir un intel dans un batiment"; values[] = {10,20,30,40,50,60,70,80,90,1}; texts[] = {"10%","20%","30%","40%","50%","60%","70%","80%","90%","100%"}; default = 50; }; And in the module AmmoCache : for intelRate : if ((paramsArray select 2) == 1) Then {(parramsArray select 2);} else {format ["%1%2%3", 0, ".", (paramsArray select 2)];}; But i have a script error in your addons files ^^ with your variable _intelRate as said Range is [0,1] and the value type needs to be scalar not string ^^ Share this post Link to post Share on other sites
pokertour 30 Posted June 9, 2014 (edited) Yes but the ParamsArray not accept decimals numbers for default class intelRate { //paramsArray[2] title = "Chance d'avoir un intel dans un batiment"; values[] = {0.10,0.20,0.30,0.40,0.50,0.60,0.70,0.80,0.90,1}; texts[] = {"10%","20%","30%","40%","50%","60%","70%","80%","90%","100%"}; default = 0.50; <- This not work }; Edited June 9, 2014 by pokertour Share this post Link to post Share on other sites
x39 101 Posted June 9, 2014 Yes but the ParamsArray not accept decimals numbers for default class intelRate { //paramsArray[2] title = "Chance d'avoir un intel dans un batiment"; values[] = {0.10,0.20,0.30,0.40,0.50,0.60,0.70,0.80,0.90,1}; texts[] = {"10%","20%","30%","40%","50%","60%","70%","80%","90%","100%"}; default = 0.50; <- This not work }; then make it like so: (100 / (paramsArray select 2)) and you got a range from [0, 100] Share this post Link to post Share on other sites
pokertour 30 Posted June 9, 2014 oh yes ! I have not thought of that! Share this post Link to post Share on other sites
x39 101 Posted June 9, 2014 UPDATE 1.1.1 changelog 1.1.1 ADDED FIXED \- AmmoCaches module is not working because of a not broadcasted variable REMOVED CHANGED \- AmmoCaches module will now end the mission when all caches got destroyed using "end1" Download: http://www.mediafire.com/download/hhd58fcxf5cj8sc/XLib_1.1.1.zip Share this post Link to post Share on other sites
wolfgarth 74 Posted June 9, 2014 Is not working with maps A3MP Share this post Link to post Share on other sites
pokertour 30 Posted June 9, 2014 It's working with A3MP, i made two Insurgency, on Zargabad and Fallujah Share this post Link to post Share on other sites
wolfgarth 74 Posted June 9, 2014 Any idea when you will distribute? Share this post Link to post Share on other sites
x39 101 Posted June 9, 2014 Any idea when you will distribute? please check the wiki http://x39software.unitedtacticalforces.de/wiki/index.php?title=X39_GM_Insurgency_Module not all maps contain the config entry to automatically gain the map size so you need to change the override mapsize attribute ^^ Share this post Link to post Share on other sites
wolfgarth 74 Posted June 10, 2014 I know x39 just do not know how to do this if you can help me Share this post Link to post Share on other sites
zwitherow 10 Posted June 10, 2014 I know x39 just do not know how to do this if you can help me In the editor, place your crosshair in the very top right of the map with it zoomed in. On the bottom, it should tell you some coordinates, that is the map size. I think all the maps are square, but if not, just use the larger number (x or y). For example, Takistan, I believe, has a map size of 12800. I am having a different problem, since the update, the insurgency module is no longer spawning enemies. The mission was unchanged, and was working prior to the update. I even tried loading the example mission that comes with XLib, and no enemies were spawning. Is anyone else having this problem? Share this post Link to post Share on other sites
Guest Posted June 10, 2014 Thanks a lot for informing us about the updated version mate :cool: Release frontpaged on the Armaholic homepage. XLib v1.1.1 ================================================ We have also "connected" these pages to your account on Armaholic. This means in the future you will be able to maintain these pages yourself if you wish to do so. Once this new feature is ready we will contact you about it and explain how things work and what options you have. When you have any questions already feel free to PM or email me! Share this post Link to post Share on other sites
HorbeySpector 164 Posted June 10, 2014 CHANGED \- AmmoCaches module will now end the mission when all caches got destroyed using "end1" would you make this optional in the module? I don't want it to do that. (by default) :) Share this post Link to post Share on other sites
BeenJammin 10 Posted June 10, 2014 I am having a different problem, since the update, the insurgency module is no longer spawning enemies. The mission was unchanged, and was working prior to the update. I even tried loading the example mission that comes with XLib, and no enemies were spawning. Is anyone else having this problem? Yes I am having the same issue, hopefully this will be resolved soon. This seems like an easy Insurgency map creation tool, something that a lot of communities are trying to achieve in a much more complicated manner. Share this post Link to post Share on other sites
x39 101 Posted June 10, 2014 would you make this optional in the module? I don't want it to do that. (by default) :) will be done with other stuff too if you want (things like min distance between caches, areas where no cache is placed at and for sure the optional end game thing) Yes I am having the same issue, hopefully this will be resolved soon. This seems like an easy Insurgency map creation tool, something that a lot of communities are trying to achieve in a much more complicated manner. please check your setup again works on my side Share this post Link to post Share on other sites
wolfgarth 74 Posted June 10, 2014 In the editor, place your crosshair in the very top right of the map with it zoomed in. On the bottom, it should tell you some coordinates, that is the map size. I think all the maps are square, but if not, just use the larger number (x or y).For example, Takistan, I believe, has a map size of 12800. I am having a different problem, since the update, the insurgency module is no longer spawning enemies. The mission was unchanged, and was working prior to the update. I even tried loading the example mission that comes with XLib, and no enemies were spawning. Is anyone else having this problem? TKS man. Share this post Link to post Share on other sites
x39 101 Posted June 10, 2014 (edited) Yes I am having the same issue, hopefully this will be resolved soon. This seems like an easy Insurgency map creation tool, something that a lot of communities are trying to achieve in a much more complicated manner. mhhh also came to the problem seems like creating groups is not always possible (that or i did something wrong in my garbage collector module ... XD)... to fix this till i found a solution for this do this: _scriptHandle = [] spawn { if(isNull X39_GM_Insurgency_var_globalGroup ) then { while{isNull X39_GM_Insurgency_var_globalGroup } do { X39_GM_Insurgency_var_globalGroup = createGroup X39_GM_Insurgency_var_Side; sleep 0.25; }; publicVariable "X39_GM_Insurgency_var_globalGroup"; }; }; Edited June 10, 2014 by X39 Share this post Link to post Share on other sites
x39 101 Posted June 23, 2014 (edited) Release 1.1.2 Download: http://www.mediafire.com/download/tqw5yz992762286/XLib_1.1.2.zip Changelog: 1.1.2 ADDED \- AmmoCaches modules endMission is now optional (default: disabled) + you can choose the end type FIXED \- InsurgencyModule is not spawning units after a random period of time (was caused by a deletion of the group so that the module tried to spawn units in a NULL group) REMOVED CHANGED Some general notes (you usually can ignore them kindly): the cake is a lie Edited June 23, 2014 by X39 Share this post Link to post Share on other sites
Guest Posted June 23, 2014 Thanks a lot for informing us about the updated version mate :cool: Release frontpaged on the Armaholic homepage. XLib v1.1.2 ================================================ We have also "connected" these pages to your account on Armaholic. This means in the future you will be able to maintain these pages yourself if you wish to do so. Once this new feature is ready we will contact you about it and explain how things work and what options you have. When you have any questions already feel free to PM or email me! Share this post Link to post Share on other sites
sonsalt6 105 Posted June 23, 2014 New update v1.1.2 available at withSIX. Download now by clicking: Share this post Link to post Share on other sites
SavageCDN 231 Posted June 23, 2014 (edited) Thanks for the update. What's this about cake now? edit: (sorry cleared my inbox) Edited June 23, 2014 by SavageCDN Share this post Link to post Share on other sites
invisibull 0 Posted June 28, 2014 Hi X, thanks for your efforts. Doing an insurgency map is a snap now. Quick question and sorry in advance if it's been answered elsewhere. I've noticed that clients w/o your mod can't join my server. Just want to make sure it's required and that i'm not doing something wrong. Thanks again. Share this post Link to post Share on other sites