Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "citybus_engine_ce": {
- "information":{
- "authors":"phoob",
- "name":"Customizable Gavril TCM 8.9L Diesel Engine",
- "value":16500,
- },
- "slotType" : "citybus_engine",
- "slots": [
- ["type", "default", "description"]
- //engine
- ["citybus_transmission","citybus_transmission_4A", "Transmission"],
- ["citybus_radiator","citybus_radiator", "Radiator"],
- ["citybus_turbo","citybus_turbo_280", "Turbocharger", {"coreSlot":true}],
- ["citybus_engine_ecu","citybus_engine_ecu", "Engine Management",{"coreSlot":true}],
- //exhaust and intake are linked from body section because they mount to body
- ["n2o_system","", "Nitrous Oxide System"],
- ["citybus_engine_internals","citybus_engine_internals", "Engine Long Block",{"coreSlot":true}],
- ],
- "variables": [
- ["name", "type", "unit", "category", "default", "min", "max", "title", "description"]
- ["$rpm1", "range", "RPM", "Engine", 300, 250, 900, "RPM Torque Postion 1", "This is defines where the 1st torque variable will be 'set'"{"stepDis":50}]
- ["$rpm2", "range", "RPM", "Engine", 600, 500, 1800, "RPM Torque Position 2", "This is defines where the 2nd torque variable will be 'set'"{"stepDis":50}]
- ["$rpm3", "range", "RPM", "Engine", 900, 750, 2700, "RPM Torque Position 3", "This is defines where the 3rd torque variable will be 'set'"{"stepDis":50}]
- ["$rpm4", "range", "RPM", "Engine", 1200, 1000, 3600, "RPM Torque Position 4", "This is defines where the 4th torque variable will be 'set'"{"stepDis":50}]
- ["$rpm5", "range", "RPM", "Engine", 1500, 1250, 4500, "RPM Torque Position 5", "This is defines where the 5th torque variable will be 'set'"{"stepDis":50}]
- ["$rpm6", "range", "RPM", "Engine", 1800, 1500, 5400, "RPM Torque Position 6", "This is defines where the 6th torque variable will be 'set'"{"stepDis":50}]
- ["$rpm7", "range", "RPM", "Engine", 2100, 1750, 7500, "RPM Torque Position 7", "This is defines where the 7th torque variable will be 'set'"{"stepDis":50}]
- ["$rpm8", "range", "RPM", "Engine", 2400, 2000, 9600, "RPM Torque Position 8", "This is defines where the 8th torque variable will be 'set'"{"stepDis":50}]
- ["$rpm9", "range", "RPM", "Engine", 2700, 2250, 11000, "RPM Torque Position 9", "This is defines where the 9th torque variable will be 'set'"{"stepDis":50}]
- ["$rpma", "range", "RPM", "Engine", 3000, 2500, 12000, "RPM Torque Position 10", "This is defines where the 10th torque variable will be 'set'"{"stepDis":50}]
- ["$torque0", "range", "Nm", "Engine", 0, 0, 1500, "Torque 0 RPM", "Amount of torque at 0 RPM"{"stepDis":0.25}]
- ["$torque1", "range", "Nm", "Engine", 400, 0, 1500, "Torque Value 1", "Amount of torque at the RPM defined in RPM Torque Position 1"{"stepDis":0.25}]
- ["$torque2", "range", "Nm", "Engine", 575, 0, 1500, "Torque Value 2", "Amount of torque at the RPM defined in RPM Torque Position 2"{"stepDis":0.25}]
- ["$torque3", "range", "Nm", "Engine", 675, 0, 1500, "Torque Value 3", "Amount of torque at the RPM defined in RPM Torque Position 3"{"stepDis":0.25}]
- ["$torque4", "range", "Nm", "Engine", 725, 0, 1500, "Torque Value 4", "Amount of torque at the RPM defined in RPM Torque Position 4"{"stepDis":0.25}]
- ["$torque5", "range", "Nm", "Engine", 750, 0, 1500, "Torque Value 5", "Amount of torque at the RPM defined in RPM Torque Position 5"{"stepDis":0.25}]
- ["$torque6", "range", "Nm", "Engine", 745, 0, 1500, "Torque Value 6", "Amount of torque at the RPM defined in RPM Torque Position 6"{"stepDis":0.25}]
- ["$torque7", "range", "Nm", "Engine", 735, 0, 1500, "Torque Value 7", "Amount of torque at the RPM defined in RPM Torque Position 7"{"stepDis":0.25}]
- ["$torque8", "range", "Nm", "Engine", 715, 0, 1500, "Torque Value 8", "Amount of torque at the RPM defined in RPM Torque Position 8"{"stepDis":0.25}]
- ["$torque9", "range", "Nm", "Engine", 635, 0, 1500, "Torque Value 9", "Amount of torque at the RPM defined in RPM Torque Position 9"{"stepDis":0.25}]
- ["$torquea", "range", "Nm", "Engine", 550, 0, 1500, "Torque Value 10", "Amount of torque at the RPM defined in RPM Torque Position 10"{"stepDis":0.25}]
- ["$idle", "range", "RPM", "Engine", 700, 0, 2000, "Idle RPM", "RPM at which the engine idles. (The throttle isn't pressed)"{"stepDis":25}]
- ["$max", "range", "RPM", "Engine", 5800, 2250, 12000, "Max RPM", "Maximum RPM the engine can handle. Change RPM Torque Positons accordingly"{"stepDis":50}]
- ["$aparticulates", "range", " ", "Engine", 0.052, 0, 1.0, "Particulates", "Amount of emission (particles) the engine produces (0.50+ = Black smoke) "{"stepDis":0.01}]
- ["$burnefficiency", "range", " ", "Engine", 0.33, 0, 1, "Efficiency", "How effective the engine is. Higher value = improved fuel economy and less heat"{"stepDis":0.01}]
- ["$shiftdown", "range", "RPM", "Engine", 3000, 1000, 6000, "Shift down RPM", "When the engine will shift down, only affects Arcade shifting"{"stepDis":50}]
- ["$shiftup", "range", "RPM", "Engine", 5800, 2750, 9000, "Shift up RPM", "When the engine will shift up, only affects Arcade shifting"{"stepDis":50}]
- ["$aweight", "range", "*8 kg", "Engine", 31, 20, 70, "Engine Weight", "The engine has eight nodes so for realistic engine weight, take this value *8"{"stepDis":25}]
- ["$arpmrough", "range", "", "Engine", 75, 10, 1000, "RPM Roughness", "This is a test"{"stepDis":0.1}]
- ],
- "powertrain" : [
- ["type", "name", "inputName", "inputIndex"],
- ["combustionEngine", "mainEngine", "dummy", 0],
- ],
- "mainEngine":{
- "torque":[
- ["rpm", "torque"]
- [0, "$torque0"],
- ["$rpm1", "$torque1"],
- ["$rpm2", "$torque2"],
- ["$rpm3", "$torque3"],
- ["$rpm4", "$torque4"],
- ["$rpm5", "$torque5"],
- ["$rpm6", "$torque6"],
- ["$rpm7", "$torque7"],
- ["$rpm8", "$torque8"],
- ["$rpm9", "$torque9"],
- ["$rpma", "$torquea"],
- ],
- "idleRPM":"$idle",
- "maxRPM":"$max",
- "inertia":3,
- "friction":30,
- "idleRPMRoughness":"$arpmrough",
- "revLimiterType":"soft"
- "dynamicFriction":0.3
- "burnEfficiency":"$burnefficiency",
- "torqueReactionNodes:":["en4l","en3l","en1r"]
- "particulates":"$aparticulates",
- "energyStorage": "mainTank",
- "requiredEnergyType":"diesel",
- //cooling and oil system
- "thermalsEnabled":true
- "engineBlockMaterial":"iron"
- "oilVolume":25
- //engine durability
- "maxTorqueRating": 50000,
- "maxOverTorqueDamage": 50000,
- "cylinderWallTemperatureDamageThreshold":160
- "headGasketDamageThreshold":1500000
- "pistonRingDamageThreshold":1500000
- "connectingRodDamageThreshold":1500000
- //node beam interface
- "waterDamage": {"[engineGroup]:":["intake"]}
- "radiator": {"[engineGroup]:":["radiator"]}
- "engineBlock": {"[engineGroup]:":["engine_block"]}
- "breakTriggerBeam":"engine",
- "uiName":"Engine",
- "soundConfig": "soundConfig",
- },
- "soundConfig": {
- "sampleName": "I6D", //"L6",
- "mainGain": -3,
- "maxLoadMix": 0.8,
- "minLoadMix": 0.1,
- "onLoadGain":1,
- "offLoadGain":0.76,
- //"eqLowGain": 0,
- //"eqLowFreq": 50,
- //"eqLowWidth": 0,
- //"eqHighGain": 0,
- //"eqHighFreq": 4000,
- //"eqHighWidth": 0.1,
- //"lowCutFreq": 60,
- //"eqFundamentalGain": 0,
- },
- "vehicleController": {
- //**highShiftDown can be overwritten by automatic transmissions**
- "highShiftDownRPM":"$shiftup",
- //**highShiftUp can be overwritten by intake modifications**
- "highShiftUpRPM":"$shiftdown"
- },
- "flexbodies": [
- ["mesh", "[group]:", "nonFlexMaterials"],
- ["citybus_engine", ["citybus_engine_R","citybus_engine_L"]],
- ["citybus_compressor", ["citybus_frame"]],
- {"deformGroup":"pipes_break", "deformMaterialBase":"citybus", "deformMaterialDamaged":"invis"},
- ["citybus_pipes", ["citybus_frame_upper","citybus_engine_L","citybus_engine_piping"]],
- ["citybus_compressorbelt", ["citybus_frame","citybus_engine_R","citybus_engine_L"]],
- {"deformGroup":"", "deformMaterialBase":"", "deformMaterialDamaged":""},
- ],
- "nodes": [
- ["id", "posX", "posY", "posZ"],
- {"selfCollision":true}
- {"collision":true}
- //--ENGINE CUBE--
- {"nodeWeight":125},
- {"frictionCoef":0.5},
- {"nodeMaterial":"|NM_METAL"},
- {"group":"citybus_engine_L"},
- {"engineGroup":"engine_block"}
- ["en1l", 0.24, 6.03, 0.44,{"chemEnergy":1000,"burnRate":0.39,"flashPoint":700,"specHeat": 0.1,"selfIgnitionCoef":false,"smokePoint":600,"baseTemp":"thermals","conductionRadius":0.21}],
- ["en2l", 0.24, 5.2, 0.36,{"chemEnergy":1000,"burnRate":0.39,"flashPoint":700,"specHeat": 0.1,"selfIgnitionCoef":false,"smokePoint":600,"baseTemp":"thermals","conductionRadius":0.21}],
- ["en3l", 0.24, 5.95, 1.42,{"chemEnergy":1000,"burnRate":0.39,"flashPoint":700,"specHeat": 0.1,"selfIgnitionCoef":false,"smokePoint":600,"baseTemp":"thermals","conductionRadius":0.21}],
- ["en4l", 0.24, 5.12, 1.35,{"isExhaust":"mainEngine","chemEnergy":1000,"burnRate":0.39,"flashPoint":700,"specHeat": 0.1,"selfIgnitionCoef":false,"smokePoint":600,"baseTemp":"thermals","conductionRadius":0.21}],
- {"group":"citybus_engine_R"},
- ["en1r", -0.24, 6.03, 0.44],
- {"engineGroup":["engine_block","exhaust_manifold"]},
- ["en2r", -0.24, 5.2, 0.36],
- {"engineGroup":"engine_block"},
- ["en3r", -0.24, 5.95, 1.42],
- ["en4r", -0.24, 5.12, 1.35],
- {"group":"citybus_engine_piping"},
- {"nodeWeight":2.5},
- ["in0", -0.78, 5.55, 1.46, {"engineGroup":"intake"}],
- ["ex0", 1.06, 6.02, 1.35],
- ["ex6", 1.06, 6.02, 1.75],
- {"engineGroup":""}
- {"selfCollision":true}
- {"collision":true}
- {"group":""},
- ],
- "beams": [
- ["id1:", "id2:"],
- //--ENGINE CUBE--
- {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
- {"beamSpring":20001000,"beamDamp":5000},
- {"beamDeform":250000,"beamStrength":"FLT_MAX"},
- ["en1r","en1l"],
- ["en1r","en2r"],
- ["en1r","en2l"],
- ["en1r","en3r"],
- ["en1r","en3l"],
- ["en1r","en4r"],
- ["en1r","en4l"],
- ["en1l","en2r"],
- ["en1l","en2l"],
- ["en1l","en3r"],
- ["en1l","en3l"],
- ["en1l","en4r"],
- ["en1l","en4l"],
- ["en2r","en2l"],
- ["en2r","en3r"],
- ["en2r","en3l"],
- ["en2r","en4r"],
- ["en2r","en4l"],
- ["en2l","en3r"],
- ["en2l","en3l"],
- ["en2l","en4r"],
- ["en2l","en4l"],
- ["en3r","en3l"],
- ["en3r","en4r"],
- ["en3r","en4l"],
- ["en3l","en4r"],
- ["en3l","en4l"{"isExhaust":"mainEngine"}],
- ["en4r","en4l"],
- //engine mounts
- {"beamSpring":4001000,"beamDamp":2500},
- {"beamDeform":50000,"beamStrength":295000},
- {"deformGroup":"pipes_break","deformationTriggerRatio":0.1},
- ["en1l", "fm18l",{"name":"engine","disableMeshBreaking":true,"disableTriangleBreaking":true}],
- ["en1r", "fm18r",{"name":"engine","disableMeshBreaking":true,"disableTriangleBreaking":true}],
- ["en3r", "fm18r"],
- ["en3l", "fm18l"],
- ["en1r", "fm18l"],
- ["en1l", "fm18r"],
- ["en2l", "fs16l"],
- ["en2r", "fs16r"],
- ["en2l", "fm16l"],
- ["en2r", "fm16r"],
- ["en4l", "fm16l"],
- ["en4r", "fm16l"],
- {"deformGroup":""},
- //engine piping
- {"beamSpring":51000,"beamDamp":500},
- {"beamDeform":2000,"beamStrength":5000},
- ["ex0", "ex6"{"isExhaust":"mainEngine"}],
- ["ex0", "en3l"{"isExhaust":"mainEngine"}],
- ["ex0", "en4l"],
- ["ex6", "en3l"],
- ["ex0", "en1l"],
- ["ex6", "en4l"],
- {"beamDeform":2000,"beamStrength":10000},
- ["en3r", "in0"],
- ["en4r", "in0"],
- ["en1r", "in0"],
- ["en2r", "in0"],
- //limiters
- {"beamType":"|SUPPORT", "beamLongBound":5},
- {"beamSpring":10001000,"beamDamp":250},
- {"beamDeform":150000,"beamStrength":850000},
- {"beamPrecompression":0.8},
- ["en4l", "sm18r"],
- ["en4r", "sm18l"],
- ["en2l", "fm18r"],
- ["en2r", "fm18l"],
- ["en1l", "fm18ll"],
- ["en1r", "fm18rr"],
- ["en2r", "fm16rr"],
- ["en2l", "fm16ll"],
- ["sp16l", "en2r"],
- ["sp16r", "en2l"],
- ["sp18l", "en1r"],
- ["sp18r", "en1l"],
- {"beamPrecompression":1},
- {"beamPrecompression":1, "beamType":"|NORMAL", "beamLongBound":1, "beamShortBound":1},
- ],
- "triangles": [
- ["id1:","id2:","id3:"],
- {"dragCoef":5},
- {"groundModel":"metal"},
- {"optional":true},
- ["en1r", "tra2r", "en4r"],
- ["en4r", "en3r", "en1r"],
- ["en1r", "en1l", "tra2l"],
- ["tra2l", "tra2r", "en1r"],
- ["en3l", "en1l", "en1r"],
- ["en1r", "en3r", "en3l"],
- ["en4r", "tra2r", "tra2l"],
- ["tra2l", "en4l", "en4r"],
- ["en3r", "en4r", "en4l"],
- ["en4l", "en3l", "en3r"],
- ["tra2l", "en1l", "en3l"],
- ["en3l", "en4l", "tra2l"],
- ["tra2l", "en1l","en4l"],
- ["en3l", "en4l", "en1l"],
- {"optional":false},
- {"triangleType":"NONCOLLIDABLE"},
- ["ex6", "ex0", "en3l"],
- ["en3r", "in0", "en4r"],
- {"triangleType":"NORMALTYPE"},
- {"group":""},
- ],
- },
- "citybus_turbo_CE": {
- "information":{
- "authors":"phoob",
- "name":"Custom Turbocharger",
- "value":6500,
- }
- "slotType" : "citybus_turbo",
- "flexbodies": [
- ["mesh", "[group]:"],
- ],
- "variables": [
- ["name", "type", "unit", "category", "default", "min", "max", "title", "description"]
- ["$wastegateStart", "range", "psi", "Turbocharger", 50, 1, 200, "Wastegate Start", "Pressure at which the wastegate begins to open"{"stepDis":0.5}]
- ["$wastegateLimit", "range", "psi", "Turbocharger", 55, 1, 220, "Wastegate Limit", "Pressure at which the wastegate is fully opened"{"stepDis":0.5}]
- ["$exhaustpower", "range", " ", "Turbocharger", 18000, 2000, 100000, "Exhaust Power", "Arround 5000 to 12000 per psi of max boost is recommended, How quickly the turbo spools"{"stepDis":500}]
- ],
- "turbocharger": {
- "volumePer10kRPM":0.2
- "pitchPer10kRPM": 0.2,
- "wastegateStart":"$wastegateStart",
- "wastegateLimit":"$wastegateLimit",
- "maxExhaustPower":"$exhaustpower",
- "backPressureCoef": 0.00005,
- "bovEnabled":false,
- "bovSoundVolumeCoef": 0.0
- "frictionCoef": 12,
- "inertia":15,
- "damageThresholdTemperature": 750,
- "turboLoopName": "event:>Vehicle>Forced_Induction>Turbo_04",
- "pressurePSI":[
- //turbineRPM, pressure(PSI)
- [0, 1],
- [30000, 80],
- [60000, 160],
- [90000, 250],
- [150000, 280],
- [200000, 280],
- [250000, 280],
- [300000, 300],
- ],
- "engineDef":[
- //engineRPM, efficiency, exhaustFactor
- [0, 0.0, 0.0],
- ["$rpm1", 0.1, 0.1],
- ["$rpm2", 0.2, 0.2],
- ["$rpm3", 1.0, 0.75],
- ["$rpm4", 1.0, 0.75],
- ["$rpm5", 1.0, 0.75],
- ["$rpm6", 1.0, 0.80],
- ["$rpm7", 1.0, 0.85],
- ["$rpm8", 1.0, 0.90],
- ["$rpm9", 1.0, 0.95],
- ["$rpma", 1.0, 1.0],
- ],
- },
- "mainEngine": {
- //turbocharger name
- "turbocharger":"turbocharger",
- },
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement