nbrown8568 Posted May 2, 2016 Report Share Posted May 2, 2016 Can I create a new Pcmd Command? I want to create PcmdCallTransportVan. I want to create a LACallTransportVan.script, based on LACallPatrolCar.script. How do I go about it? Norm, Quote Link to comment Share on other sites More sharing options...
mr matt5432123 Posted May 3, 2016 Report Share Posted May 3, 2016 On 5/2/2016 at 2:03 PM, nbrown8568 said: Can I create a new Pcmd Command? I want to create PcmdCallTransportVan. I want to create a LACallTransportVan.script, based on LACallPatrolCar.script. How do I go about it? Norm, You can copy and paste the patrol car script, name it what you want, then in the script near the top there is going to be what looks something like const char VO_SPAWN_POLICE02R[] = "spawn_police2r"; const char OBJ_OFFICER_M[] = "mod:Prototypes/Persons/03 LA Police/lapd_officer_m.e4p"; const char OBJ_OFFICER_LASD[] = "mod:Prototypes/Persons/03 LA Police/lasd_officer.e4p"; const char OBJ_OFFICER_CHP[] = "mod:Prototypes/Persons/03 LA Police/chp_officer.e4p"; const char OBJ_TRAFFIC_OFFICER_LASD[] = "mod:Prototypes/Persons/03 LA Police/lasd_traffic_officer.e4p"; const char OBJ_TRAFFIC_OFFICER_CHP[] = "mod:Prototypes/Persons/03 LA Police/chp_traffic_officer.e4p"; const char OBJ_BATTALION_CHIEF[] = "mod:Prototypes/Persons/02 LA Fire Department/battalion_chief.e4p"; const char OBJ_EMS_CAPTAIN[] = "mod:Prototypes/Persons/01 LA Ambulance/ems_paramedic_captain.e4p"; const char PROTO_CV_LAPD[] = "mod:Prototypes/Vehicles/03 LA Police/cv_lapd.e4p"; const char PROTO_CV_CHP[] = "mod:Prototypes/Vehicles/03 LA Police/cv_chp.e4p"; const char PROTO_CV_LASD[] = "mod:Prototypes/Vehicles/03 LA Police/cv_lasd.e4p"; const char PROTO_CHARGER_LAPD[] = "mod:Prototypes/Vehicles/03 LA Police/dodge_charger_lapd.e4p"; const char UNNAMED[] = "Unnamed"; const char OBJ_OFFICER_ATF[] = "mod:Prototypes/Persons/03 LA Police/atf_agent.e4p"; const char OBJ_OFFICER_BP[] = "mod:Prototypes/Persons/03 LA Police/bp_officer.e4p"; const char PROTO_BPAT_DC[] = "mod:Prototypes/Vehicles/03 LA Police/bpat_dodge_charger.e4p"; const char PROTO_ATF_CV[] = "mod:Prototypes/Vehicles/03 LA Police/ATF_cv.e4p"; object PcmdCallPatrolCar : CommandScript now these are file paths to the vehicle prototypes, all you must do is change the following ones: const char PROTO_CV_LAPD[] = "mod:Prototypes/Vehicles/03 LA Police/cv_lapd.e4p"; const char PROTO_CV_CHP[] = "mod:Prototypes/Vehicles/03 LA Police/cv_chp.e4p"; const char PROTO_CV_LASD[] = "mod:Prototypes/Vehicles/03 LA Police/cv_lasd.e4p"; const char PROTO_CHARGER_LAPD[] = "mod:Prototypes/Vehicles/03 LA Police/dodge_charger_lapd.e4p"; Change them to the path of the transport van. I hope this works for you as my scripting knowledge is very limited, but yeah, I think that should work. Quote Link to comment Share on other sites More sharing options...
itchboy Posted May 3, 2016 Report Share Posted May 3, 2016 Besides the above replacement of the character variables, you also have to play with the various list variables and conditions within the script in order to accomodate the fucntionality of whatever vehicle you are doing. Quote Link to comment Share on other sites More sharing options...
nbrown8568 Posted May 6, 2016 Author Report Share Posted May 6, 2016 Thanks I'm gonna try it. Norm, Quote Link to comment Share on other sites More sharing options...