Trouble-shooting s3o units: Difference between revisions

From Spring
Jump to navigationJump to search
Knorke (talk | contribs)
added: Messed up unit texture
Knorke (talk | contribs)
added: Unit orientation is wrong
Line 28: Line 28:


This will make the model look strange in Upspring but ingame it will actually look normal.
This will make the model look strange in Upspring but ingame it will actually look normal.
=Unit orientation is wrong=
'''Problem''':
Unit drives sidewards or backwards.
'''Solution:'''
In Upspring rotate your model like this:
http://springrts.com/mediawiki/images/thumb/1/1d/UnitInUpspring_4views.jpg/767px-UnitInUpspring_4views.jpg

Revision as of 06:19, 27 April 2011

This page assumes you have a working knowledge of Spring unit creation, and will address some common pitfalls in creating s30 units.

Invisible Unit

Problem: Unit spawns projectiles, engine flare, and other fx, as well as functioning correctly, but the model is invisible at any view distance.

Check:

  • That your s3o has both a radius and height set in Upspring.

Disappearing Unit

Problem: Unit operates correctly, including being visible at low zoom levels, but disappears at higher zoom levels, often leaving a small grey blob. Example: problemga6.jpg

Check:

  • The reduction to grey blob is done by the LOD (Level Of Detail) process in spring. For 3do units, this nicely scales down a full 3d unit to a sprite as you scale out. For s3o, this doesn't work as nicely. There are two things you can do:
    • 1: Make sure your unit has a radius that reflect the model size accurately. The view distance at which LOD kicks in is proportional to unit radius.
    • 2: Make sure your LOD setting in Spring is high enough to actually display the unit correctly.

Messed up unit texture

Problem: Unit looks normal in Upspring but in the game the textures is messed up.

Solution: in Upspring, open this menu: Texture Mapping -> Show UV mapping -> Edit -> Flip UV

This will make the model look strange in Upspring but ingame it will actually look normal.

Unit orientation is wrong

Problem: Unit drives sidewards or backwards.

Solution: In Upspring rotate your model like this: 767px-UnitInUpspring_4views.jpg