linolafett wrote: ↑Tue, 19. Dec 17, 17:33
JSDD wrote:
are there special requirements for ship models that can be included to X4 ? multiple mesh LODs for example (how many), or the scene's structure (node types) ? maximum element count per mesh (ushort or uint) ? any recommendations ? we assume that all models need to have a properly designed interior, do the meshes visible from within have to separated from the outer meshes (ship hull) ? and what's the scale of the dimensions (meter or mm) ? how big are the usual docking port dimensions for each class (s m l xl etc) ?
Let's try. Here is some stuff from our asset setup document.
I dont jump into the part count or polycounts, as this is a bit more difficult to quickly write down. Cockpits are seperated from the outer hull to have them fade out quickly.
The cockpits have to reachable by foot when the ship is standing on a planar dock, so have a ramp or ladder reach down to give acces to the cockpit (or a "transporter room" which functuíons as kind of lift- needed for m ships)
Following listed are the scale specs for all ships and their surface elements. These are bounding box sizes, a ship (with all surface elements) is not allowed to be bigger than this defined boundingbox size.
All dimension units are in meters.
With these numbers you can create some blocks in your favourite 3d modeling program and see how many elements you can stick together, before it starts to look cramped
Dimensions per ship class (width / height / length):
xs (ability drones, escape pods) - 2,5 / 2,5 / 2,5 (MAX)
s (fighter/scout ships/fighter drones) - 35 / 25 / 35 (MAX)
m (standart trading/mining ship, corvette, frigate) - 90 / 90 / 150 (MAX)
l (large traders, destroyers) - 600 / 600 / 600 (MAX)
XL (carriers/builderships) - 2000 / 2000 / 2000 (MAX)
Dock dimensions:
S (s hips can dock here) 40 / 30 / 45
M (m ships can dock here) 185 / 115 / 115
A ship can carry a dock of the size below its own category, a m ship can carry a single s dock. A l ship can easily carry multiple s docks but probably only a single m dock.
Docks are always a bit bigger than the ships which can dock there to have some space around the "airlock" for you to walk around.
Maximum weapon amount (this is a UI limit, we dont have more space in the HUD (crosshair element) to display more slots. (s/m ships. Larger ships are set up differently, they can hae more turrets, they are then grouped)
8 forward facing weapons and 8 individual turrets.
So far our most amount of installed weapons is 5 on a paranid medium sized ship. S ships have usually between 1 and 4 slots.
Talking about weapon (surface elements in general) and their slots, of course these elements also have dimensions. This means all elements of the same size are technicially exchangeable, sometimes restricted by gamedesign is think (defined via compatibility tags, so an xml edito can be used to mod that).
Weapons (forward facing pew pew)
s 2x2x6
m 8x8x24
l will be mayor part of a ship,
not exchangeable
"Model ship around weapon"
s/m weapons can gimbal about 10° to left and right or up an down, so keep a visual cone in front of the mount free to avoud bullets intersecting with the ship geometry.
Turrets
s Small ships wont carry turrets
m 16x16x16
l 64x64x64
Engines
s 4x4x8
m 12x12x24
l r=25 x50
xl r=75 x150
Shieldgenerator
s 2x1x4 (2m wide, 1m high, 4m long)
m 8x4x16 (unhittable)
8x8x16 (hittable)
l 32x32x64
xl 96x96x192
turrets
s Small ships wont carry turrets
m 16x16x16
l 64x64x64
fold the turrets when inactive.
max height should be only reached in active state.
max size includes the rotating barrel
(should not poke out of boundingbox).
m ships can only carry m turrets.
l and xl ships can carry l and m sized turrets.
Hope that helps a bit to visualize dimensions and especially relations between these sizes. A fighter is a tiny tiny dot next to a carrier.