Sign in to follow this  
smithyxxx

Custom vehicle (mod vehicle apperance) - SOLVED

2 posts in this topic

Hi

How would i go about editing a vehicles appearance , in wasteland i would edit vehiclecreation.sqf and spawnstoreobject.sqf with the following code

( mod used ivory cars )

switch (true) do
            {
                case (_object isKindOf "ivory_rs4"): 
                {
                    [_object, ["Blue","Glossy"], "White", 1.0, 1.0] call ivory_fnc_initVehicle;
                    [_object, "ARMA 3"] call ivory_fnc_setLicense;
                    _object animate["spoiler",1]; 
                };

};


switch (true) do
            {
                case (_vehicle isKindOf "ivory_rs4"): 
                {
                    [_vehicle , ["Blue","Glossy"], "White", 1.0, 1.0] call ivory_fnc_initVehicle;
                    [_vehicle , "ARMA 3"] call ivory_fnc_setLicense;
                    _vehicle  animate["spoiler",1]; 
                };

};

 

Now i have looked through the exile_server code files but cannot pinpoint exactly which file/files i should edit and weather the above code could be used in the same format , any help would be greatly appreciated  

best regards 

smithy

ps sorry if i have posted this in the incorrect section 

Edited by smithyxxx

Share this post


Link to post
Share on other sites

For anyone interested i found that editing 

ExileServer_object_vehicle_database_load.sqf

ExileServer_system_trading_network_purchaseVehicleRequest.sqf

With the following 

switch (true) do
			{	
				//audi rs4
				case (_vehicleObject isKindOf "ivory_rs4"): 
				{
					[_vehicleObject, ["Blue","Glossy"], "White", 1.0, 1.0] call ivory_fnc_initVehicle;
					[_vehicleObject, "EXILE"] call ivory_fnc_setLicense;
					_vehicleObject animate["spoiler",1]; 
				};
           };

And adding the above files to custom overrides did the trick

Edited by smithyxxx
  • Like 1

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.