Jump to content
Tankbuster

Editing, Expanding and Modifying Domination

Recommended Posts

m: chernarus

mev: everon (addon)

moa: operation arrowhead

newer versions only include the moa directory.

Share this post


Link to post
Share on other sites

Thanks Carl. Very helpful. As always. :)

Where do you edit the coords for the bluefor radar tower. I saw the All Islands Dom thread but it indicates that the X-initx.sqf is where you place them. In Dom 2, there is no such file. Also, I don't think it is in the init.sqf.

I have found a place in i_common and it now looks like this;

// position of radar and anti air at own base

#ifdef __DEFAULT__

if (__OAVer) then {

GVAR(base_radar_pos) = [4367.6,10772.6,0];

GVAR(base_anti_air1) = [4367.51,10720.6,0];

GVAR(base_anti_air2) = [4409.75,10712,0];

} else {

GVAR(base_radar_pos) = [4367.6,10772.6,0];

GVAR(base_anti_air1) = [4367.51,10720.6,0];

GVAR(base_anti_air2) = [4409.75,10712,0];

};

#endif

#ifdef __EVERON__

GVAR(base_radar_pos) = [4367.6,10772.6,0];

GVAR(base_anti_air1) = [4367.51,10720.6,0];

GVAR(base_anti_air2) = [4409.75,10712,0];

#endif

However, the radar, AA and the ammobox which is in a diff spot will not spawn. I did edit the support buildings (air, chopper, wreck) and they spawn no problem.

What would cause the ammo and the others to not spawn?

Edited by fasterthanlight

Share this post


Link to post
Share on other sites

Sorry, can't say I know, I've never edited these. But these are using compositions, not buildings/objects. In my own version, based on an earlier Domination version, I'm replacing the contents of the other ammobox or removing them completely (not sure, and too lazy to check :D), but I don't think I've done anything to their position.

Share this post


Link to post
Share on other sites

Yeah, many of the veteran editors use an earlier version than the one you use, faster. :)

It will mostly likely be in i_common or i_server.

Share this post


Link to post
Share on other sites

It shouldn't be that different, I only glanced at the newer version but it looked like it mostly just changed a bunch of things to GVARs.

x_server\x_initx.sqf is the file you're referring to but that file only covers the type of defenses that will spawn, or are completely disabled in my case. What you posted from i_common should be correct. My guess would be that you either have the coordinates wrong or you broke something else that is preventing the mission from loading everything correctly. You might try testing it on a fresh copy with only those coordinate changes.

Share this post


Link to post
Share on other sites

Yes, all the GVARs. Fine if you're starting from scratch, but if you have a heavily modded mission from an earlier version, all the GVARs make it impossible to upgrade. That's why you'll see a lot of Domi mods based on 2.29.

Share this post


Link to post
Share on other sites

Need help.

I have made changes in Domi 2.57z ACE OA West, have changed units on BAF, positions of units and services on base in the editor, have changed positions ammobox, radar and other in sqf files, have established positions of cities for the main mission, have changed the bonus technics, have packed back. But at mission loading, even at change of parameters, I begin at midnight, isn't present intro, there is no box with the weapon, don't give out the main and side mission. With what it can be connected?

How to change appearance GPS that it was similar on GPS in company PMC-dlc?

Edited by MedicalAndroid
Update

Share this post


Link to post
Share on other sites

None of the scripts are loading when this happens. Make sure you've packed it up properly - make sure all the scripts are in the folder.

Share this post


Link to post
Share on other sites

Has added __ awc (BAF_AssaultPack_special, 1) in a file where changed a weapon set in a box, but the backpack for some reason hasn't appeared in it and game informs on an error.

Share this post


Link to post
Share on other sites

You cannot add backpacks with AWC. Use this:

_vec addbackpackcargo ["BAF_AssaultPack_special",1];

Share this post


Link to post
Share on other sites

The same file you were working with before that has all the weapons in it. Just put it with all the AWC stuff.

Share this post


Link to post
Share on other sites

I have a few questions

1. How do I find how to the main mission's set up. The marker, task, radio tower, and enemies?

2. How do place main missions in certain towns?

Captclay5

Share this post


Link to post
Share on other sites

2. i_common.sqf line near 140 (Notepad++)

My example

[[4835.85,4372.65,0],"Nasal Old City",200], // 3

[[6256.01,4435.96,0],"Industrial Park",200], // 4

[[coords,0],"townname",radius of red spot]

For the answer to 1st question it is necessary most to rummage in scripting files and to understand that it becomes in several various files.

Stupid question: What is #endif , GVAR , #ifndef , #ifdef ?

Edited by MedicalAndroid

Share this post


Link to post
Share on other sites

Thx for that, think I found it, i_common if I'm correct. :)

Captclay5

Edit: lol. never mind stupid post

Edited by captclay5

Share this post


Link to post
Share on other sites
Need help.

I have made changes in Domi 2.57z ACE OA West, have changed units on BAF, positions of units and services on base in the editor, have changed positions ammobox, radar and other in sqf files, have established positions of cities for the main mission, have changed the bonus technics, have packed back. But at mission loading, even at change of parameters, I begin at midnight, isn't present intro, there is no box with the weapon, don't give out the main and side mission. With what it can be connected?

How to change appearance GPS that it was similar on GPS in company PMC-dlc?

You probably clicked save when you were finished the changes. "Save" is actually save as it saves the mission.sqf as a new mission, and therefore creates a new folder which wont have any of the scripts.

---------- Post added at 05:13 AM ---------- Previous post was at 05:09 AM ----------

Yes, all the GVARs. Fine if you're starting from scratch, but if you have a heavily modded mission from an earlier version, all the GVARs make it impossible to upgrade. That's why you'll see a lot of Domi mods based on 2.29.

I updated to 2.57z no problem. UltraCompare is your friend.

---------- Post added at 05:19 AM ---------- Previous post was at 05:13 AM ----------

Does anyone know where the other ammoboxs are set up in the ACE version? I can't find the ruck box or the HuntIR box anywhere in any of the scripts, they seem to just magically appear.

Share this post


Link to post
Share on other sites

i_client.sqf - line near 34 (Notepad++)

My example

if (__OAVer) then {

GVAR(ace_boxes) = [

["ACE_RuckBox_West",[7922.76,1960.33,0],331], // position, direction ACE_RuckBox

["ACE_HuntIRBox",[7914.08,1950.88,0],331] // position, direction ACE_HuntIRBox

Share this post


Link to post
Share on other sites
i_client.sqf - line near 34 (Notepad++)

My example

if (__OAVer) then {

GVAR(ace_boxes) = [

["ACE_RuckBox_West",[7922.76,1960.33,0],331], // position, direction ACE_RuckBox

["ACE_HuntIRBox",[7914.08,1950.88,0],331] // position, direction ACE_HuntIRBox

Yeah that's where they are placed, but what defines what's in them?

Share this post


Link to post
Share on other sites

x_client\weaponcargo*.sqf

Share this post


Link to post
Share on other sites

Hi, im editing Domination ACE and i need little help. When i take chinook and try to lift some vehicles and i cant lift it but i can lift MHQs and Enginer trucks, where i can remove E-truck and MHQ from lifting list so that chinooks only can lift with slingropes ?

Share this post


Link to post
Share on other sites

d_helilift1_types in i_client.sqf.

You're looking for #ifdef __OWN_SIDE_WEST__ and case (__OAVer): below that. Ignore ACEVer as it is for regular ArmA2 and is overridden by the OA one.

Share this post


Link to post
Share on other sites

It works thanks, but there is another problem when i try to edit lines in i_client what players can call air drop, what players are enginers, what players can use MG Nests....and in game its not working its like no more domination then just normal mode.

This is default. What lines do i need to edit

// is engineer

#ifndef __TT__

if (!GVAR(Dom2)) then {

GVAR(is_engineer) = if !(__ACEVer) then {

["echo_1","echo_2","echo_3","echo_4"]

} else {

["echo_1","echo_2","echo_3","echo_4"]

};

} else {

GVAR(is_engineer) = if !(__ACEVer) then {

["delta_1","delta_2","delta_3","delta_4","delta_5","delta_6"]

} else {

["delta_1","delta_2","delta_3","delta_4","delta_5"]

};

};

#else

GVAR(is_engineer) = ["west_9","west_10","east_9","east_10"];

#endif

// is artillery operator

GVAR(can_use_artillery) = ["RESCUE","RESCUE2"];

// can build mash

#ifndef __TT__

GVAR(is_medic) = ["alpha_6","bravo_6","charlie_6","echo_6"];

#else

GVAR(is_medic) = ["west_6","east_6","west_17","east_17"];

#endif

// can build mg nest

#ifndef __TT__

GVAR(can_use_mgnests) = if !(__ACEVer) then {

["alpha_3","alpha_7","charlie_3","charlie_7","bravo_4","echo_3","echo_7"]

} else {

["alpha_3","alpha_7","charlie_7","bravo_4","echo_7"]

};

#else

GVAR(can_use_mgnests) = ["west_3","west_7","west_18","east_3","east_7","east_18"];

#endif

// can call in air drop

#ifndef __TT__

GVAR(can_call_drop_ar) = ["alpha_1","charlie_1","echo_1"];

#else

GVAR(can_call_drop_ar) = [];

#endif

Share this post


Link to post
Share on other sites

I have absolutely no idea what that echo stuff under engineer is about. It must be something he added in 2.57 for whatever reason. I don't even keep 2.57 on file anymore so I can't check it myself but here is what should apply to what you want to edit:

// is engineer

#ifndef __TT__

if (!GVAR(Dom2)) then {

GVAR(is_engineer) = if !(__ACEVer) then {

["echo_1","echo_2","echo_3","echo_4"]

} else {

["echo_1","echo_2","echo_3","echo_4"]

};

} else {

GVAR(is_engineer) = if !(__ACEVer) then {

["delta_1","delta_2","delta_3","delta_4","delta_5", "delta_6"]

} else {

["delta_1","delta_2","delta_3","delta_4","delta _5"]

};

};

#else

GVAR(is_engineer) = ["west_9","west_10","east_9","east_10"];

#endif

// is artillery operator

GVAR(can_use_artillery) = ["RESCUE","RESCUE2"];

// can build mash

#ifndef __TT__

GVAR(is_medic) = ["alpha_6","bravo_6","charlie_6","echo_6"];

#else

GVAR(is_medic) = ["west_6","east_6","west_17","east_17"];

#endif

// can build mg nest

#ifndef __TT__

GVAR(can_use_mgnests) = if !(__ACEVer) then {

["alpha_3","alpha_7","charlie_3","charlie_7","bravo _4","echo_3","echo_7"]

} else {

["alpha_3","alpha_7","charlie_7","bravo_4","echo_7"]

};

#else

GVAR(can_use_mgnests) = ["west_3","west_7","west_18","east_3","east_7","eas t_18"];

#endif

// can call in air drop

#ifndef __TT__

GVAR(can_call_drop_ar) = ["alpha_1","charlie_1","echo_1"];

#else

GVAR(can_call_drop_ar) = [];

#endif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×