Page 19 of 55 FirstFirst ... 915161718192021222329 ... LastLast
Results 181 to 190 of 546

Thread: MCC Sandbox - The Mod

  1. #181
    Quote Originally Posted by Jedra View Post
    You only need to do that once - it's to prevent spam bots from registering and posting. Now you have done it, you won't need to again!
    You are correct, thanks, I am new to using this forum but read it a lot, also armaholic
    From what I see, ArmA community and SubSim are the most dedicated ones with great fanbase

  2. #182
    Have anyone got sandbox + lostkeys to work by editing the config.cpp in lostkeys as written earlier. I get some error about stringtable.csv upon startup.
    Play pc:
    I7 2600K@4.6GHz
    Nvidia gtx580
    Intel 160gb ssd
    16gb DDR3 1600Mhz ram
    win7 64
    ---------
    Dedi Server: (91.100.101.163)
    I7 875K@4.1GHz
    Intel 250gb ssd sata3
    8gb ram
    win7 64

  3. #183
    Ok, I'm asking in other way.

    Is it possible to use MCC Triggers with MCC Zones, eg creating Triggers that create (or move) Zones?

  4. #184
    Quote Originally Posted by [HUD]Dorph View Post
    Have anyone got sandbox + lostkeys to work by editing the config.cpp in lostkeys as written earlier. I get some error about stringtable.csv upon startup.
    I did. If you want me, I can send you Loki via file sharing site tonight if you want...
    I used this tool to extract all files,
    edit the file, and pack it again in pbo format....

  5. #185
    Quote Originally Posted by GakunGak View Post
    I did. If you want me, I can send you Loki via file sharing site tonight if you want...
    I used this tool to extract all files,
    edit the file, and pack it again in pbo format....
    Damn tried 3 times using same pboview and got and error every time i started game.

    Edit: got it now thx
    Last edited by [HUD]Dorph; Mar 15 2012 at 07:41.

  6. #186
    Quote Originally Posted by [HUD]Dorph View Post
    Damn tried 3 times using same pboview and got and error every time i started game - if you will send me your
    edited loki_lost_key.pbo it would be great
    I will, in 10 hours from now because I am at work now. Until then, try again one more time like this:
    1: Delete everything inside @lokilostkey [or whatever you named your folder].
    2: Download latest one from armaholic
    3: extract pbo with pboview
    4: delete pbo
    5: edit file in notepad
    6: repack into pbo again
    7: Disable all other mods except CBA, Loki and MCC
    8: try it in single player
    If it works, enable other mods one by one to see if other
    are interfering. If they are, disable that mod when you want
    to use this combo. Otherwize, MCC works all the time with any
    mod combination.

  7. #187
    Gunnery Sergeant shay_gman's Avatar
    Join Date
    Dec 29 2009
    Location
    Israel
    Posts
    490
    Author of the Thread
    Quote Originally Posted by sunrrrise View Post
    Ok, I'm asking in other way.

    Is it possible to use MCC Triggers with MCC Zones, eg creating Triggers that create (or move) Zones?
    Yes it is, keep in mind that the trigger doesn't remember the previous location of the zone so if you make a trigger that should spawn a unit in a specific zone and then move it what will actually happened
    Is that the unit will spawn in the new zone location; the reason is that you can't put sleep command in compiled strings.
    What I'll do is pre-spaw the units and only make the trigger move the zone once the criteria has been filled.
    About you previous post, did you made the trigger conditions as when "side" present?

    MCC + LOKI LK. Thanks to Jedra I fixed it among some other stuff, I was just to lazy to push it.
    I'll probably do it this weekend.

    Cheers.

  8. #188
    I still haven't got it working. Triggers and zones cause errors:

    This is what I have done:

    1. I created Zone 1
    2. I set the trigger
    3. I moved Zone 1
    4. I stopped trigger capturing
    5. I moved across the trigger
    6. Error:



    Uploaded with ImageShack.us

    This is the code (pasted "as is"):

    Code:
    								  mcc_zone_number=1;
    								  mcc_zone_marker_X=10;
    								  mcc_zone_marker_Y=10;
    								  mcc_zone_markername='1';
    								  mcc_zone_size set [mcc_zone_number,[mcc_zone_marker_X,mcc_zone_marker_Y]];
    								  				
    											  mcc_markerposition=[3700.28,3610.99,-19];											  
    											  script_handler = [0] execVM '\mcc_sandbox_mod\mcc\general_scripts\mcc_make_the_marker.sqf';
    											  waitUntil {scriptDone script_handler};
    											  
    										  mcc_spawntype='';
    										  mcc_classtype='';
    										  mcc_isnewzone=true;
    										  mcc_spawnwithcrew=true;
    										  mcc_spawnname='';
    										  mcc_spawnfaction='';
    										  mcc_zone_number=1;
    										  mcc_zoneinform='NOTHING';
    										  mcc_zone_markername='1';
    										  mcc_spawnbehavior='MOVE';
    										  mcc_grouptype     ='';
    										  mcc_spawndisplayname ='';
    										  mcc_track_units = false;
    										  mcc_awareness = 'DEFAULT';
    										  mcc_sidename = 'WEST';
    										  script_handler = [0] execVM '\mcc_sandbox_mod\mcc\general_scripts\mcc_SpawnStuff.sqf';
    										   waitUntil {scriptDone script_handler};
    										  
    							MCC_capture_var = '
    								  mcc_zone_number=1;
    								  mcc_zone_marker_X=10;
    								  mcc_zone_marker_Y=10;
    								  mcc_zone_markername="1";
    								  mcc_zone_size set [mcc_zone_number,[mcc_zone_marker_X,mcc_zone_marker_Y]];
    								  				
    											  mcc_markerposition=[3699.86,3649.1,-18.909];											  
    											  script_handler = [3] execVM "mcc\general_scripts\mcc_make_the_marker.sqf";
    											  ';
    							script_handler = [0, [3763.49,3611.98,-19], 10, 10, 'WEST', 'PRESENT', 0, 'RECTANGLE', '', MCC_capture_var] execVM '\mcc_sandbox_mod\mcc\general_scripts\triggers\triggers_execute.sqf';
    							waitUntil {scriptDone script_handler};
    Any help?

    I'm using ArmA2 1.60, ACE 1.13 (stable) and ACRE.

    EDIT:

    Damn, MCC-Mission Version works like a charm but it doesn't solve the problem with mod version.

    EDIT2:

    Look at this:

    1.: script_handler = [0] execVM '\mcc_sandbox_mod\mcc\general_scripts\mcc_make_the_ marker.sqf';
    2.: script_handler = [3] execVM "mcc\general_scripts\mcc_make_the_marker.sqf";

    EDIT3:

    @shay_gman - check your PM
    Last edited by sunrrrise; Mar 19 2012 at 17:44.

  9. #189

    Thumbs up

    I have found a bug in file mcc_make_the_marker.sqf. It should look like this:

    Code:
    private ["_type"];
    
    _type = _this select 0;
    
    //safe the zone size in the array for later use
    mcc_zone_size set [mcc_zone_number,[mcc_zone_marker_X,mcc_zone_marker_Y]];
    
    //obviously when we are loading there is no need to safe it again since that will influence the load process by double output
    if (!mcc_isloading && !MCC_capture_state && _type!=3) then 
    	{
    		mcc_safe=mcc_safe + FORMAT ["
    								  mcc_zone_number=%1;
    								  mcc_zone_marker_X=%2;
    								  mcc_zone_marker_Y=%3;
    								  mcc_zone_markername='%4';
    								  mcc_zone_size set [mcc_zone_number,[mcc_zone_marker_X,mcc_zone_marker_Y]];
    								  "
    								  
    								,mcc_zone_number
    								,mcc_zone_marker_X
    								,mcc_zone_marker_Y
    								,mcc_zone_markername							
    								];
    		hint format ["Click on map to create/update location of zone: %1....... ",mcc_zone_markername];
    		onMapSingleClick "	mcc_markerposition = _pos; 
    		                    
    					        mcc_safe=mcc_safe +  FORMAT [""				
    											  mcc_markerposition=%1;											  
    											  script_handler = [0] execVM '\mcc_sandbox_mod\mcc\general_scripts\mcc_make_the_marker.sqf';
    											  waitUntil {scriptDone script_handler};
    											  ""											 										
    											  ,_pos
    											  ];
    						
    							deleteMarkerLocal mcc_zone_markername;					
    							_marker = createMarkerLocal [mcc_zone_markername, _pos];
    							_marker setMarkerShapeLocal ""RECTANGLE"";
    							_marker setMarkerSizeLocal (mcc_zone_size select mcc_zone_number);
    							mcc_zone_markername	setMarkerColorLocal ""ColorYellow"";
    							
    							deleteMarkerLocal (format[""LABEL_%1"",mcc_zone_markername]);
    							_markerlabel = createMarkerLocal [(format[""LABEL_%1"",mcc_zone_markername]), _pos];
    							_markerlabel   setMarkerShapeLocal ""ICON"";        
    							(format[""LABEL_%1"",mcc_zone_markername]) setMarkerTypeLocal ""join"";
    							(format[""LABEL_%1"",mcc_zone_markername]) setMarkerTextLocal mcc_zone_markername;
    							(format[""LABEL_%1"",mcc_zone_markername]) setMarkerColorLocal ""ColorRed"";
    
    							
    							mcc_zone_markposition = (getmarkerpos mcc_zone_markername);					
    							mcc_zone_pos  set [mcc_zone_number,mcc_zone_markposition];
    							
    							mcc_isnewzone   		= true;
    							onMapSingleClick """";
    							nul=[0] execVM '\mcc_sandbox_mod\mcc\general_scripts\mcc_SpawnStuff.sqf';
    							";
    	};
    if (mcc_isloading || _type==3) then
    	{
    		deleteMarkerLocal mcc_zone_markername;					
    		_marker = createMarkerLocal [mcc_zone_markername, mcc_markerposition];
    		_marker setMarkerShapeLocal "RECTANGLE";
    		_marker setMarkerSizeLocal (mcc_zone_size select mcc_zone_number);
    		mcc_zone_markername	setMarkerColorLocal "ColorBlack";
    		
    		deleteMarkerLocal (format["LABEL_%1",mcc_zone_markername]);
    		_markerlabel = createMarkerLocal [(format["LABEL_%1",mcc_zone_markername]), mcc_markerposition];
    		_markerlabel   setMarkerShapeLocal "ICON";        
    		(format["LABEL_%1",mcc_zone_markername]) setMarkerTypeLocal "join";
    		(format["LABEL_%1",mcc_zone_markername]) setMarkerTextLocal mcc_zone_markername;
    		(format["LABEL_%1",mcc_zone_markername]) setMarkerColorLocal "ColorRed";
    
    		
    		mcc_zone_markposition = (getmarkerpos mcc_zone_markername);					
    		mcc_zone_pos  set [mcc_zone_number,mcc_zone_markposition];
    		
    		mcc_isnewzone   		= true;
    						
    	};
    	
    if (MCC_capture_state) then
    	{
    		MCC_capture_var=MCC_capture_var + FORMAT ["
    								  mcc_zone_number=%1;
    								  mcc_zone_marker_X=%2;
    								  mcc_zone_marker_Y=%3;
    								  mcc_zone_markername=""%4"";
    								  mcc_zone_size set [mcc_zone_number,[mcc_zone_marker_X,mcc_zone_marker_Y]];
    								  "
    								  
    								,mcc_zone_number
    								,mcc_zone_marker_X
    								,mcc_zone_marker_Y
    								,mcc_zone_markername							
    								];
    								
    		hint format ["Click on map to create/update location of zone: %1....... ",mcc_zone_markername];
    		onMapSingleClick "	mcc_markerposition = _pos; 
    		                    MCC_capture_var=MCC_capture_var +  FORMAT ['				
    											  mcc_markerposition=%1;											  
    											  script_handler = [3] execVM ""\mcc_sandbox_mod\mcc\general_scripts\mcc_make_the_marker.sqf"";
    											  '											 										
    											  ,_pos
    											  ];
    							hint 'Action captured';
    							onMapSingleClick """";
    							";
    	};
    
    //safe the info cause ups makes marker info not valid because of disappear of marker
    Regards,
    s.

  10. #190
    @sunrrrise - it might be more helpful to gman if you highlight where the eronous code was rather than just post the full fix. I'm a support dev by trade and I know I would prefer it that way!
    Jedra's Addons
    Arma 2 : Enhanced Skills Slider
    Take On Helicopters : Take On Taxi | Jedra's Time Trials | Weapon Indicators | No Radar

Page 19 of 55 FirstFirst ... 915161718192021222329 ... LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •