Ok so since i don't own a 3d cad software and since i can't get anything done with texturing. I have decided to try something that should be easy. I decided to create a new unmarked SUV using the same model and body as the civil prefab of the tech suv.
I created a new project and then found the model in the vehicle prefab list. I added it to my map and then changed several properties. I changed it to a uservehicle and added the command array from the police car. I added a silly little red rotating alarm light to the top. Attached it using the link to "lights". Then saved the prefab as police_suv.
I then went in search of the many files I have found are needed to add vehicles to this game.
I went and change the properties on the
\data\em5\content\prefab\spawnpoint\ I added the "SUV" to the file under the police portion of the spawnpoint.
I also added "SUV" in the exit point for the ground vehicles
I changed the order_info file
I change the unit_info file
they now should have the "SUV" added to the file
===================================================the order info file ======================================================================================================
"Format":
{
"Type": "em5_order_info",
"Version": "1"
},
"OrderInfo":
{
// police suv
"SUV":
{
"Prefab": "em5/prefab/vehicle/police_suv",
"AvatarIcon": "police_stw",
"SelectionIcon": "unit_suv",
"MiniMapIconType": "PoliceVehicle",
"LocalizedName": "ID_NAME_SUV",
"UnitTags": "Police Vehicle Road STW",
"OrderDepartment": "PoliceDepartment",
"OrderCost": "10",
"OrderSpeed": "10",
"UnlockCost": "0",
"NumberAvailable": "5",
"PersonnelSpace": "5",
"StartPersonnel":
{
"Policeman" : "2"
},
"PassengerSpace": "2",
"HelpPages":
[
"TUTORIAL_HELPTEXT_BACK_TO_HQ_STW",
"TUTORIAL_HELPTEXT_EXIT_STW"
]
}
}
}=================================================================================================================================================================
If im correct this line here
"LocalizedName": "ID_NAME_SUV",
determines the shortened name of the vehicle for other files. In my case it's SUV
"SelectionIcon": "unit_suv"
this is a small .dds file that is used to select the vehicle in the dropdown list. For me its a simple text message saying "TEST" This does not even show up as of now
I also changed the file for the unit_pool "startup"
This file is where the vehicles for each mission and the amount of vehicles available are set.
I added "SUv" to the freeplay munich mission and then attempted to load the mod and the game.
The results nothing at all. I don't even see the choice to use the vehicle on the drop down selection menu.
I'm not sure what I'm doing wrong if anyone wants to chime in feel free. I'm very frustrated and lost.
I understand now what files have to be used to get a vehicle into the game but i have yet to have any success.
William516
Bill
Delaware, USA