Author Message

Sykriss

us
Posts: 11

Location: United States
Occupation:
Age:
V$:
#88544   2016-01-03 08:30          
Hey guys, in need of a bit of assistance with some modding if someone could help me out. I've been trying to convert the stock BMW E36 318is that comes with the BMW Megapack to use the S42 engine instead of the default Einvagen engine. So I went into the src file for the E36 318si and copy-pasted the stock_parts_e array from an E30 that uses the S42. Looks like this:

	public void addStockParts( Descriptor desc )
	{
		// stock 1 stuffs //

				stock_parts_list_E  = new int[22];
	stock_parts_list_E[ 0] = parts.engines.BMW_S42:0x0000004Fr; // block
		stock_parts_list_E[ 1] = parts.engines.BMW_S42:0x0000005Dr; // crank
		stock_parts_list_E[ 2] = parts.engines.BMW_S42:0x0000005Ar; // crank bridge
		stock_parts_list_E[ 3] = parts.engines.BMW_S42:0x00000049r; // Shimutshibu_oil_pan
		stock_parts_list_E[ 4] = parts.engines.BMW_S42:0x0000005Er; // Shimutshibu_149er_connecting_rods
		stock_parts_list_E[ 5] = parts.engines.BMW_S42:0x0000005Cr; // Shimutshibu_94er_LC_pistons
		stock_parts_list_E[ 6] = parts.engines.BMW_S42:0x0000004Ar; // Shimutshibu_alternator
		stock_parts_list_E[ 7] = parts.engines.BMW_S42:0x00000056r; // Baiern_Kraftwerk_2_5_flywheel
		stock_parts_list_E[ 8] = parts.engines.BMW_S42:0x00000A56r; // Baiern_Kraftwerk_clutch
		stock_parts_list_E[ 9] = parts.engines.BMW_S42:0x00000057r; // Shimutshibu_RC_T5600R1_transmission
		stock_parts_list_E[ 10] = parts.engines.BMW_S42:0x0000004Cr; // Shimutshibu_RC_DDSB8C_cylinder_head
		stock_parts_list_E[ 11] = parts.engines.BMW_S42:0x0000005Fr; // Shimutshibu_exhaust_camshaft
		stock_parts_list_E[ 12] = parts.engines.BMW_S42:0x00000060r; // Shimutshibu_intake_camshaft
		stock_parts_list_E[ 13] = parts.engines.BMW_S42:0x0000004Br; // Shimutshibu_camshaft_bearing_bridge
		stock_parts_list_E[ 14] = parts.engines.BMW_S42:0x00000050r; // Shimutshibu_WRC_cylinder_head_cover
		stock_parts_list_E[ 15] = parts.engines.BMW_S42:0x00000051r; // Shimutshibu_camshaft_drive_belt
		stock_parts_list_E[ 16] = parts.engines.BMW_S42:0x00000058r; // Shimutshibu_RC_23W44EX_exhaust_header
		stock_parts_list_E[ 17] = parts.engines.BMW_S42:0x0000004Dr; // Shimutshibu_RC_HIB535T4_intake_manifold
		stock_parts_list_E[ 18] = parts.engines.BMW_S42:0x0000010Br; // Shimutshibu_RC_IR4P4SI_fuel_rail
		stock_parts_list_E[ 19] = parts.engines.BMW_S42:0x00000AFAr; // Shimutshibu_RC_HIB535T4_intake_manifold
		stock_parts_list_E[ 20] = parts.engines.BMW_S42:0x0000004Er; // Shimutshibu_RC_IR4P4SI_fuel_rail
		
		stock_parts_list_E[ 21] = parts:0x000053FFr; // "stock battery" 

Unfortunately, when I go in-game and buy the vehicle from the catalog, the engine is not in the car. However, it can be fitted if I buy all the parts and put it together, it's just not coming with it stock. From the limited available knowledge on the internet about this subject, as far as I know, I do not need to modify anything else to get it to work.. Does anyone know what's going on here?