We have uploaded a new version of Skyline containing a few new feature requests and fixes some of you needed. The big new addition to this release is the introduction of the new vehicle system. With this system you can emulate any multi wheeled vehicle type with the option for adding drive per wheel(2wd ,4wd,8wd) each vehicle can be set up to act as a arcade racer or a simulation. The system can be used as an action requiring data from an external setup file or can be used dynamically from Lua. There have been many lua commands created to fully open the system up for you to experiment and develop your own vehicles.
Please see the following list for the complete update log:
- New: Material Editor - Editor now remembers it size and position next time you open it.
- New: Material Editor - The material lod distance can now be set from the editor.
- New: Material Editor - Material lod can now UV scale to match to the adv material
- New: Material Editor - you can now turn on/off whether the editor stays on top of other windows
- New: Material Editor - The textures can be quickly hidden/un-hidden by a tool icon
- New: Lua physics bodies can have their collision flag set on creation to enable collision callbacks:
- New: Player Damage action for use on exploding objects.
- New: FPS player can now shoot!
- Fixed: The RMB context menu now doesn't open in play the game mode
- Fixed: debug line colors now work
- Fixed: lua scripts can now be loaded form a project.
- Fixed: lua spawned physics bodies can now trigger the collision event
- Fixed: Lua Spawned rigid bodies can now be set as either dynamic or static. The existing flag was broken.
- New: Camera Speed Multiplier
- New Tech Demo: Non Scripted Monster Truck
- New Tech Demo: Scripted BKC_NeoCharger
- New Tech Demo: Set Entity Material
- (WIP) New Tech Demo: FPS Development_ A1 - Note: This scene when loaded will need loaded again to work properly. We have included this as a couple of you have requested that this be added.
- Lua Commands:
The current version of the vehicle system has yet to have its steering formula added. With out this, turning at high speed will not be correct but you can still have some fun ; )
- PHYSICS LIBRARY
- New: physics.setCollisionEnable_OnStart(bodyID)
- New: physics.setCollisionEnable_OnStay(bodyID)
- New: physics.setCollisionEnable_OnEnd(bodyID)
- VEHICLE LIBRARY
- New: vehicle.createVehicle(string "VehicleName", string "vehicleBody.mesh", float posX, float posY, float posZ, float rotW, float rotX, float rotY, float rotZ);
- New: vehicle.getVehicleID(string "VehicleName");
- New: vehicle.destroy(int vehicleID);
- New: New: vehicle.createPhyicsBody(int vehicleID);
- New: vehicle.setNumOfChassis(int vehicleID, int numChassis);
- New: vehicle.addChassis(int vehicleID, int chassisIndex, float posX, float posY, float posZ, float scaleX, float scaleY, float scaleZ);
- New: vehicle.getNumOfChassis(int vehicleID);
- New: vehicle.getNumOfWheels(int vehicleID);
- New: vehicle.setMaxSpeed_MPH(int vehicleID, float speedMPH);
- New: vehicle.setMaxSpeed_KPH(int vehicleID, float speedKPH);
- New: vehicle.getMaxSpeed_MPH(int vehicleID);
- New: vehicle.getMaxSpeed_KPH(int vehicleID);
- New: vehicle.steerLeft(int vehicleID);
- New: vehicle.steerRight(int vehicleID);
- New: vehicle.accelerate(int vehicleID);
- New: vehicle.decelerate(int vehicleID);
- New: vehicle.handBrake(int vehicleID, float torque);
- New: vehicle.setMotorTorque(int vehicleID, int wheelIndex, float torqueAmt)
- New: vehicle.setBrakeTorque(int vehicleID, int wheelIndex, float torqueAmt)
- New: vehicle.setPosition( int vehicleID, float posX, float posY, float posZ );
- New: vehicle.setOrientation( int vehicleID, float rotW, float rotX, float rotY, float rotZ );
- New: vehicle.setNumberOfWheels(int vehicleID, int numWheels)
- New: vehicle.addWheel(int vehicleID, int wheelIndex, bool driveWheel, bool steerWheel, float posx, float posy, float posz )
- New: vehicle.createWheels(int vehicleID )
- New: vehicle.setWheelMesh(int vehicleID, "meshname.mesh");
- New: vehicle.getWheelMeshName( int vehicleID );
- New: vehicle.setWheelRadius(int vehicleID, int wheelIndex, float radius)
- New: vehicle.getWheelRadius(int vehicleID, int wheelIndex)
- New: vehicle.getWheelGlobalPosition(int vehicleID, int wheelIndex)
- New: vehicle.getWheelLocalPosition(int vehicleID, int wheelIndex)
- New: vehicle.getSpeed_Mph(int vehicleID);
- New: vehicle.getSpeed_Kph(int vehicleID);
- New: vehicle.getVelocity(int vehicleID);
- New: vehicle.setInverseWheelMass(int vehicleID, int wheelIndex, float amt);
- New: vehicle.useAirResistance(int vehicleID, bool true/false);
- New: vehicle.setAirResistance(int vehicleID, float baseValue, float multiplier);
- New: vehicle.useAntiRoll(int vehicleID, bool true/false)
- New: vehicle.setAntiRollAmount(int vehicleID, float antiRollAmt );
- New: vehicle.setTorqueCurveSlot(int vehicleID, int rpm, int torqueValue);
- New: vehicle.setNumberOfGears(int vehicleID, int numGears)
- New: vehicle.setGearRatio(int vehicleID, float gearRatio);
- New: vehicle.setRPM(int vehicleID, int minRpmToGearDown, int maxRpmToGearUp, int minRpm, int maxRpm);
- New: vehicle.setMass(int vehicleID, float mass);
- New: vehicle.setDownforce(int vehicleID, float downforce );
- New: vehicle.setNoWheelsDownforce( int vehicleID, float downforce );
- New: vehicle.setPairDownforce( int vehicleID, float downforce );
- New: vehicle.useWheelParticle(int vehicleID, int WheelIndex, int used 1/0);
- New: vehicle.setWheelParticle(int vehicleID, int WheelIndex, "ParticleName");
- New: vehicle.setWheelParticlePosition(int vehicleID, int WheelIndex, int posX, int posY, int posZ);
- New: vehicle.setWheelParticleEnabled(int vehicleID, int WheelIndex, int enabled 1/0);
- New: vehicle.setCenterOfMass(int vehicleID, float offsetX, float offsetY, float offsetZ );
- New: vehicle.setLatWheelFrictionStiffness( int vehicleID, int wheelIndex, float stiffnessFactor );
- New: vehicle.setLongWheelFrictionStiffness( int vehicleID, int wheelIndex, float stiffnessFactor );
- New: vehicle.setLatWheelFrictionSettings( int vehicleID, int wheelIndex, float asymptoteSlip, float asymptoteValue, float extremumSlip, float extremumValue, float stiffnessFactor);
- New: vehicle.setLongWheelFrictionSettings( int vehicleID, int wheelIndex, float asymptoteSlip, float asymptoteValue, float extremumSlip, float extremumValue, float stiffnessFactor);
- New: vehicle.setSuspensionSettings(int vehicleID, int wheelIndex, float damperAmt, float springAmt, float targetValue, float suspensionTravel);
- New: vehicle.showDebug(int vehicleID, bool true/false);
- ENUM LIBRARY
- New: enum.vehicleSound_TickOver()
- New: enum.vehicleSound_EngineLow()
- New: enum.vehicleSound_EngineHigh()
- New: enum.vehicleSound_Exhaust()
- New: enum.vehicleSound_Turbo()
- New: enum.vehicleSound_GearChange()
- New: enum.vehicleSound_TireSlip()
- New: enum.vehicleSound_Handbrake()
- ENTITY LIBRARY
- New: entity.setMaterialName(objId, "materialName");
- New: entity.setSubMaterialName(objId, subentityIndex, "materialName");
- New: entity.getMaterialName(objId, subentityIndex);
- New: entity.getNumSubEntities()
- PHYSICS LIBRARY
IMPORTANT NOTE: Please ensure you copy your preset thumbnails if you have added your own as the install will over right them and they will be lost forever! Once the new Skyline is installed you can then copy your thumbnails back to their folder. You can find your thumbnails here Data\Thumbnails\Presets.
Downloads:
All Files will need to be downloaded to extract the single installer from all archives.
http://www.chi-ad.com/Skyline/downloads ... x86.7z.001
http://www.chi-ad.com/Skyline/downloads ... x86.7z.002
http://www.chi-ad.com/Skyline/downloads ... x86.7z.003
http://www.chi-ad.com/Skyline/downloads ... x86.7z.004
http://www.chi-ad.com/Skyline/downloads ... x86.7z.005
http://www.chi-ad.com/Skyline/downloads ... x86.7z.006
http://www.chi-ad.com/Skyline/downloads ... x86.7z.007
http://www.chi-ad.com/Skyline/downloads ... x86.7z.008
Note: As usual you may experience some new bugs, please post your findings to the forum complete with an explanation on the process used to make it fail.
Also Note: If a tech demo fails to work correctly please reload the demo and try again
Your Skyline Developer Team
Enjoy!