From: Daniel K. <d.k...@we...> - 2008-11-15 12:54:33
|
Dear all, I added some further (optional) attributes to the vehicle type definition. These are - with default values given: - "emissionClass" which will be used to distinguished between different vehicle classes for emissions computation (SVE_PASSENGER) - "guiWidth" which will be used to determine the width of the vehicle when being painted (2m) - "guiOffset" to determine how much of the vehicle length shall be treaten as jam distance between vehicles (2.5m) - "guiShape" to determine how the vehicle shall be rendered (SVS_PASSENGER) The functionality behind these attributes is not yet implemented, nonetheless I want to inform you (especially you, Michael), because "guiOffset" it slightly differs to what we decided recently, and because I know that having an "emissionClass" definition within the vehicle type is interesting for others. Michael, I decided to use "guiOffset", because having a "guiLength" would require to define it each time for vehicles of different lengths. For "guiOffset", its standard value may be kept for all vehicle types - unless we have further information. The complete vehicle types are now stored on loading/saving the network state. sincerely, Daniel _____________________________________________________________________ Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! http://smartsurfer.web.de/?mc=100071&distributionid=000000000066 |