First download a program called WinRAR if you havnt already, it can unzip alot of folder archives and makes modding BF2 so much easier.
As for your question can we verify what exactly it is your asking?
Is it A: I want to add a vehicle that already exists in the mod, but is not on the map
is it B: I want to make and add and entirely NEW vehicle which is not in the mod at this time
or Is it C: I want to take a vehicle from another Mod and add it to the map
Or do any of these explanations help?
Well lets start with Letter A. This one is quite simple, Although you cannot add an entirely new Spawn Serverside, you can edit an existing one. Inside the FH2 Mod folder is a Level Folder, in there should be your custom map, or existing FH2 map which you wish to modify. If it is a new map and is unfinished you may not have to unzip and files, but if the map is finished or if it is an existing map you will see 2 files inside that maps folder. You will see a Client.zip and a Server.zip. For vehicle spawnpoints we want the Server.zip. If you have winRAR which I highly suggest, Open up the Server.zip within the map folder and (If Using WinRAR) Hit Extract and then ok, The file will extract to the levels folder, and a New folder will be created that is called "server" Inside that folder will be one called GameModes, open this up and choose the gameMode you wish to modify. GPM_COOP = COOP GPM_CQ = Conquest SP1 = Singleplayer, and FH2 may have others refering to gold rush and things such as these, but choose the one you want, or you can do them all. Then choose the Map size you want, and finally using NotePad open up "GameplayObjects.con" Inside these folders are files with similar code to this:
rem ********** Object Spawner ********** rem [ObjectSpawnerTemplate: CPNAME_GO_SP16_beach_0_1] ObjectTemplate.create ObjectSpawner CPNAME_GO_SP16_beach_0_1 ObjectTemplate.activeSafe ObjectSpawner CPNAME_GO_SP16_beach_0_1 ObjectTemplate.modifiedByUser nla ObjectTemplate.isNotSaveable 1 ObjectTemplate.hasMobilePhysics 0 ObjectTemplate.setObjectTemplate 1 jep_vodnik ObjectTemplate.setObjectTemplate 2 usjep_hmmwv
This is a standard BF2 Object Spawner, to change the vehicle you want to spawn on the map, just remove the existing vehicle
ObjectTemplate.setObjectTemplate 1 jep_vodnik ObjectTemplate.setObjectTemplate 2 usjep_hmmwv
and locate the name of the vehicle you want and replace it.
ObjectTemplate.setObjectTemplate 1 UH_60 (This isnt an actual name) ObjectTemplate.setObjectTemplate 2 usjep_hmmwv -------------------------------------------------------------------------------
Option B however, I do not believe would be possible, unless you are willing to dedicate hours of time coding a new vehicle, and then distrubuting the proper files for it to your friends.
-------------------------------------------------------------------------------
Option C may be possible, not sure, BF2 mods work different than BF1942 mods, in BF1942 we could highlight a mod path and then every vehicle weapon static and solder in that mod would be available for use, but in BF2 it highlights client and server archives not entire Mod Folders. I believe inorder to properly import a vehicle from an exsiting mod you would need to go ahead and edit the Serverarchives.con and the Clientarchives.con found in the FH2 Mod folder. But then again I believe the FH2 devs already have done this so mayb If you wanted to try adding a Humvee to one of the maps, It may work.
Good Luck, hope this helped, If it what you were asking was different please say so.
EDIT
I forgot to add one thing. After you edit the con file and save it, you will have to go back to the main server folder, select everything, pack it to a new zip file named server.zip and then Overwrite the old one for the mod to work. MD5 Tool queries may be interested in you after that though.
|