Jump to content
Joshmagosh

Editing Rewards and FOB's

Recommended Posts

What does it take to edit side objectives and/or add new ones?

 

Also, how would I got about editing the FOB's?

(Vehicle's, buildings, and other mechanics)

 

Thank you,

 

Share this post


Link to post
Share on other sites

You can just ask in one big thread, you don't have to make new threads for every single issue. 

 

Side mission rewards: \Functions\Vehicle\fn_smhintsuccess.sqf

FOB buildings: on the map itself, keep it within 250 meters of the FOB marker you see in the editor.

FOB vehicles: \Defines\MainAos.hpp  search for FOB

Other FOB mechanics: \Functions\Base\fn_BaseManager.sqf and fn_baseTeleport (in the same folder) to a certain degree

Share this post


Link to post
Share on other sites

Followed this procedure and still nothing happening on our end. Changed thos icons to what you said and it is still not spawning in vehicles when FOB spawns

Share this post


Link to post
Share on other sites

I attached the file to hopefully help. So what I did was wanting to add objects that spawn in when the FOB spawns in. SO what I added to test was a wipeout and a tank at FOB martin. Orignally I added the markers with the term_veh10 and term_jet3. These terms were what was already on the map in the editor for placement for the current FOB. Then I added the two lines in the hopes it would work. Then speaking with you I changed them to aac_jet3 and aac_veh10. Still not working. I guess I am getting something mixed up when trying to get the script to load in the vehicles I want into the FOB.

Share this post


Link to post
Share on other sites

Oh yea, I said I'd test your version.  Well euh, I didn't yet, I've been a tad busy, got exams coming up next week so I've been studying a lot.  And most of my remaining free time has been put into doing stuff for AW.  I'll see if I can fit it in tomorrow. 

Share this post


Link to post
Share on other sites

Right, I've figured it out.  This is the config for FOB martian:

class AAC_Airfield {
		name =  "AAC Airfield";
		nearlocations[]={
			"Melanera_Bay",
			//"Therisa",
			"Katalaki",
			"Katalaki_Penninsula",
			"Faronaki"
		};
		type = "Base";
		respawnPos = "aac_pl_res";
		visMrkr = "FOB_Martian";
		vehicles[] =
		{
			{"B_Heli_Light_01_armed_F", "aac_heli1",60},
			{"B_Heli_Light_01_F", "aac_heli2",60},
			{"I_Heli_Transport_02_F", "aac_heli3",60},
			{"I_Heli_light_03_unarmed_F", "aac_heli4",60},
			{"B_APC_Tracked_01_AA_F", "aac_veh1",60},
			{"B_APC_Wheeled_01_cannon_F", "aac_veh2",60},
			{"B_MRAP_01_F", "aac_veh3",60},
			{"B_MRAP_01_hmg_F", "aac_veh4",60},
			{"B_LSV_01_armed_F", "aac_veh5",60},
			{"B_LSV_01_unarmed_F", "aac_veh6",60},
			{"B_Truck_01_fuel_F", "aac_veh7",60},
			{"B_Plane_CAS_01_dynamicLoadout_F", "aac_jet3",60},
			{"B_MBT_01_TUSK_F", "aac_veh10",60}
		};
	};

We know this from looking at the visMrkr atribute of this class.

This is the config for FOB guardian:

class Terminal {
		name =  "Terminal";
		nearlocations[]={
			"Lakka",
			//"Telos",
			"Athira_Factory",
			"Anthrakia",
			"Kalithea",
			"Rodopoli"
		};
		type = "Base";
		respawnPos = "term_pl_res";
		visMrkr = "FOB_Guardian";
		vehicles[] =
		{	
			{"Random_AA_Jet", "term_jet1",1800},
			{"O_Heli_Light_02_F", "term_heli1",900},
			{"B_Heli_Light_01_F", "term_heli2",120},
			{"O_Heli_Transport_04_covered_black_F", "term_heli3",120},
			{"I_APC_Wheeled_03_cannon_F", "term_veh1",900},
			{"B_MRAP_01_hmg_F", "term_veh2",120},
			{"B_MRAP_01_hmg_F", "term_veh3",120},
			{"B_MRAP_01_F", "term_veh4",60},
			{"B_MRAP_01_F", "term_veh5",60},
			{"B_Truck_01_fuel_F", "term_veh6",120}
		};
	};

And again we know this from looking at the visMrkr attribute.

 

What I cannot show is where markers aac_jet3 and aac_veh10 are located.  But I can tell you that they're located at FOB guardian.  So when FOB guardian spawns that wipeout and slammer won't spawn at guardian.  But when FOB martian spawn they will.

 

To fix this: move

{"B_Plane_CAS_01_dynamicLoadout_F", "aac_jet3",60},
{"B_MBT_01_TUSK_F", "aac_veh10",60}

From the FOB martian config to the FOB guardian config.  Which is located at line 1350 of the mainAOs.hpp file.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Forum Statistics

    9,350
    Total Topics
    60,451
    Total Posts
×
×
  • Create New...