Forum Jump :

Author Message


Posts: 2
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name: Moby1997

 
#1 Posted at 2013-11-28 22:52        
     
So I have been playing Superpowers/When Diplomacy Fails for awhile now with friends, and I want to know how to add more vehicles? Like maybe the F-35B to the menu, maybe some modded planes and what not. Is this possible? If so can you explain this? Thank you.

I searched all over Google and could not find a single thing. So here I am.


Author Message


Posts: 685
Rank:


Level: Member

Country: nl
Location: Amsterdam
Occupation: IT nerd
Age: 40
In-game name: -=XTRA=-Larsiano

 
#2 Posted at 2013-11-29 09:33        
     
It seems like the mission your describing has a menu for spawning vehicles? A menu like this is made out of a couple of scripts packed in the mission.pbo file. Extract this file with a de-pbo tool and the result will be that you get a folder with all mission files in it (place this in the documents folder\ other profiles\mp missions). In there you’ll have to look for the file (.sqf file) that holds the list of all available vehicles. Once you find that script simple add your extra stuff (planes choppers etc.) classname to it by duplicating the complete sentence that tells the game all the params and save the file. Then repack the mission from within the editor (save as MP) and 99% chance it will work.

Remember to save the mission under a new name and:
-Change the name in the mission details button in the editor: missionXv1.11 (ingame info)
-save the mission under a new name: missionXv1.11 (actual filename)
-go to documents folder\other profile and copy all files of the old mission to the new folder except the mission.sfm


what a list could look like:

class TransportWeapons
	{
class M1014 {weapon = "M1014";count = 50;};
class M9 {weapon = "M9";count = 50;};
class M9SD {weapon = "M9SD";count = 50;};


Advertisement


Author Message


Posts: 2
Rank:


Level: Member

Country: us
Location:
Occupation:
Age:
In-game name: Moby1997

 
#3 Posted at 2013-11-29 18:59        
     
# -=XTRA=-Larsiano : It seems like the mission your describing has a menu for spawning vehicles? A menu like this is made out of a couple of scripts packed in the mission.pbo file. Extract this file with a de-pbo tool and the result will be that you get a folder with all mission files in it (place this in the documents folder\ other profiles\mp missions). In there you’ll have to look for the file (.sqf file) that holds the list of all available vehicles. Once you find that script simple add your extra stuff (planes choppers etc.) classname to it by duplicating the complete sentence that tells the game all the params and save the file. Then repack the mission from within the editor (save as MP) and 99% chance it will work.

Remember to save the mission under a new name and:
-Change the name in the mission details button in the editor: missionXv1.11 (ingame info)
-save the mission under a new name: missionXv1.11 (actual filename)
-go to documents folder\other profile and copy all files of the old mission to the new folder except the mission.sfm


what a list could look like:

class TransportWeapons
	{
class M1014 {weapon = "M1014";count = 50;};
class M9 {weapon = "M9";count = 50;};
class M9SD {weapon = "M9SD";count = 50;};
I don't know where superpowers/whendiplomacyfails pbo file is..where would I find this?

Also I have no clue what you said. I honestly know nothing about ArmA 2 Scripting, I just want to add a few vehicles. They honestly couldn't make a system for users to do this? People tend to want more when you only add 3 air vehicles.

This post was edited by Moby1997 (2013-11-29 19:36, ago)