Page 105 of 189 FirstFirst ... 55595101102103104105106107108109115155 ... LastLast
Results 1,041 to 1,050 of 1886

Thread: Editing, Expanding and Modifying Domination

  1. #1041
    Thx.
    Is not the case.
    normally with commas. I fail to insert some script in the post - then the text was still.
    I will edit post

  2. #1042

  3. #1043

    Exclamation Changing flags in 260k

    Here is what I want to do. Change the flags at the camps that spawns in the towns from us to a swedish flag that is loaded from a addon and changed the path in the handlecamp.fsm to
    Code:
    _texture = ""\sfp_dc_objects\txtur\flag_swe_co.paa"";
    same in the file handlecamps2.fsm. The path works since I've also use it with a un flagcarrier in editor so the texture link is good. Since I changed the flagcarrier to the addonflag in the editor and added it to the var FWEST.
    Code:
    #ifdef __CO__
    ["FEAST", "FlagCarrierRU"] call FUNC(StoreAdd);
    ["FWEST", "sfp_FlagCarrierSWE"] call FUNC(StoreAdd);
    ["FGUER", "FlagCarrierGUE"] call FUNC(StoreAdd);
    #endif
    . also in the file i_common
    Code:
    #ifdef __OWN_SIDE_WEST__
    FLAG_BASE setflagtexture (if !(__A2Ver) then {"\sfp_dc_objects\txtur\flag_swe_co.paa"} else {"\sfp_dc_objects\txtur\flag_swe_co.paa"});
    #endif
    Cant find any more places in any file using the flagtextures so Im puzzeld. Spent 2 days reading the whole thread and other than the early post about the flag there is none. Guess I overlooked something somewhere just cant find it.


    Well it was on 1 more places in the handlecamp2.fsm that I overlooked, also changed them for TT version in the FSM files, not that they should prevent it but it dosen't hurt
    Last edited by metal [MTL]; Aug 25 2011 at 14:49. Reason: SORTED

  4. #1044
    Hello,

    I am wanting to play dom with a few of my friends or even myself with some AI and would like it so the enemy is only infantry. I'm pretty novice when it comes to editing so i wonder if you could help me do this.

    only thing I have found that looks remotely like what i need is:

    _type = [["Infantry", "Motorized", "Mechanized", "Armored"],[4,3,2,1]] call mso_core_fnc_selectRandomBias; (from the rmm enemy pop folder)

    i changed it to [10,0,0,0] but it didn't really do much. other than that i don't know what to look for in all the scripts.

    would appreciate the help.

    hugs and kisses xxx

  5. #1045
    Quote Originally Posted by RR_Shmel View Post
    Nobody can help?
    I try,
    at a quick glance on yours u didnt make the numbers in sequence for the Hummer. this is what I've done in my files, note some lines removed do not copy paste.

    d_init
    Code:
    // editor varname, unique number, true = respawn only when the chopper is completely destroyed, false = respawn after some time when no crew is in or chopper is destroyed
    		if (GVAR(enemy_side) == "EAST") then {
    			[[ch1,301,true],[ch2,302,true],[ch3,303,false,1500],[ch4,304,false,600],[ch5,305,true],[ch6,306,true],[ch7,307,true,600],[ch8,308,false,600]] execVM "x_server\x_helirespawn2.sqf"
    		} else {
    			[[ch1,301,true],[ch2,302,true],[ch3,303,false,1500],[ch4,304,false,1500]] execVM "x_server\x_helirespawn2.sqf"
    		};
    	};
    	// editor varname, unique number
    	//0-9 = MHQ, 10-19 = Medic vehicles, 20-29 = Fuel, Repair, Reammo trucks, 30-39 = Engineer Salvage trucks, 40-49 = Transport trucks
    	[
    		[xvec1,0],[xvec2,1],[xmedvec,10],[xmedvec1,11],[xvec3,20],[xvec4,21],[xvec5,22],[xvec6,30],[xvec7,23],
    		[xvec8,24],[xvec9,25],[xvec10,31],[xvec11,40],[xvec12,41],[xvec13,42],[xvec14,43],[xvec15,44],[xvec16,45],[xvec17,46]
    	] execVM "x_server\x_vrespawn2.sqf";
    i_client
    Code:
    GVAR(choppers) = [
    		["HR1",0,"chopper1",301,"n_air","ColorWhite","1-L","Lift One"], ["HR2",2,"chopper2",302,"n_air","ColorWhite","1-Tr-A","Normal"],
    		["HR3",2,"chopper3",303,"n_air","ColorBlue","2-Tr-A","Normal"], ["HR4",1,"chopper4",304,"n_air","ColorBlack","W","Wreck Lift"],
    		["HR5",2,"chopper5",305,"n_air","ColorWhite","Tr-SM","Normal"], ["HR6",2,"chopper6",306,"n_air","ColorWhite","Tr-A-SM","Normal"],
    		["HR7",0,"chopper7",307,"n_air","ColorWhite","2-L-A","Lift Two"],["HR8",0,"chopper8",308,"n_air","ColorBlue","3-L-A","Lift Three"]
    		];
    	};
    Code:
    GVAR(p_vecs) = [
    	["MRR1",0,"mobilerespawn1","HQ","ColorYellow","1","MHQ One"],["MRR2",1,"mobilerespawn2","HQ","ColorYellow","2","MHQ Two"],
    	["MEDVEC",10,"medvec1","n_med","ColorGreen","M",""],["MEDVEC2",11,"medvec2","n_med","ColorGreen","M",""],
    	["TR1",20,"truck1","n_maint","ColorGreen","R1",""],["TR2",21,"truck2","n_support","ColorGreen","F1",""],
    	["TR3",22,"truck3","n_support","ColorGreen","A1",""],["TR6",23,"truck4","n_maint","ColorGreen","R2",""],
    	["TR5",24,"truck5","n_support","ColorGreen","F2",""],["TR4",25,"truck6","n_support","ColorGreen","A2",""],
    	["TR7",30,"truck7","n_service","ColorBlue","E1",""],["TR8",31,"truck8","n_service","ColorBlue","E2",""],
    	["TR9",40,"truck9","n_support","ColorGreen","T1",""],["TR10",41,"truck10","n_support","ColorGreen","T2",""],
    	["TR11",42,"truck11","n_support","ColorGreen","T3",""],["TR12",43,"truck12","n_support","ColorGreen","T4",""],
    	["TR13",44,"truck13","n_support","ColorGreen","T5",""],["TR14",45,"truck14","n_support","ColorGreen","T6",""],
    	["TR15",46,"truck15","n_support","ColorGreen","T7",""]
    ];
    Belive I've read about the need of sequence for the numbers. IE: u can add 30, 31 and 40, 41, 42 etc but not 40,43,47.
    Also the numbers in d_init needs to match them in i_client. Hope this helps.
    Red colored numbers was them I saw in your code that was not in seq.

    ---------- Post added at 12:19 AM ---------- Previous post was at 12:12 AM ----------

    Quote Originally Posted by HoneyBadger View Post
    Hello,

    I am wanting to play dom with a few of my friends or even myself with some AI and would like it so the enemy is only infantry. I'm pretty novice when it comes to editing so i wonder if you could help me do this.

    only thing I have found that looks remotely like what i need is:

    _type = [["Infantry", "Motorized", "Mechanized", "Armored"],[4,3,2,1]] call mso_core_fnc_selectRandomBias; (from the rmm enemy pop folder)

    i changed it to [10,0,0,0] but it didn't really do much. other than that i don't know what to look for in all the scripts.

    would appreciate the help.

    hugs and kisses xxx
    You will find all related for what u want to do in the file I_server.sqf search after the lines
    Code:
    // first element (array. for example: [2,1]): number of vehicle groups that will get spawned, the first number is the max number that will get spawned,
    // the second one the minimum. So [2,0] means, there can be no vehicle groups at all or a maximum of 2 groups of this kind
    // second element: maximum number of vehicles in group; randomly chosen
    it's pretty selfexplaining what all do below that point, above you have all the diffrent units and their cfg_group combinations.

    hope it helps.
    Last edited by metal [MTL]; Aug 24 2011 at 22:22.

  6. #1046
    Spoiler:


    awesome thank-you so much!

  7. #1047
    Quote Originally Posted by metal [MTL] View Post
    I try,
    at a quick glance on yours u didnt make the numbers in sequence for the Hummer. this is what I've done in my files, note some lines removed do not copy paste.
    ............
    hope it helps.
    Thanks, but it did not work.. I double checked all the commas and set the correct sequence of unique number. Respawn added vehicles not working.
    Last edited by RR_Shmel; Aug 25 2011 at 12:47.

  8. #1048
    Did you place them in the editor or did you manually edit the mission sqm?
    If the later it's easy to mess things up that can brake it all.

    ---------- Post added at 03:01 PM ---------- Previous post was at 02:52 PM ----------

    Also make sure u are in the right ifdef/ifndef section that corrospond with the version u using. I's a bit tricky to find especially in there where it's easy to track the logic wrong.
    Last edited by metal [MTL]; Aug 25 2011 at 12:55.

  9. #1049
    First, place the editor, for that would you add vehicles fell into addOns [] and addOnsAuto []. and the number of "items" in "class Vehicles" was right.

    Correctness ifdef / ifndef section I also tried it. I tried to write down the value even in all sections. Does not work.
    Last edited by RR_Shmel; Aug 25 2011 at 13:16.

  10. #1050
    any errors showing in the RPT file?

Page 105 of 189 FirstFirst ... 55595101102103104105106107108109115155 ... 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
  •