Changes between Version 5 and Version 6 of Actors


Ignore:
Timestamp:
Aug 8, 2012, 2:08:30 AM (12 years ago)
Author:
historic_bruno
Comment:

Updated actor XML for multiple textures; updated actor editor screenshot

Legend:

Unmodified
Added
Removed
Modified
  • Actors

    v5 v6  
    11''Actors'' are the graphical representations of objects in the game. They combine meshes, textures, animations and props, and also control some other graphical features (such as whether the objects casts shadows or has transparent textures - see MaterialSystem).
    22
    3 Actor data is stored in XML files, which can be edited by hand, but usually the [wiki:Actor_Editor Actor Editor] is used instead. Actor XML files are located in subdirectories of `art\actors\` for a given mod (see [wiki:Mod_Layout mod layout]).
     3Actor data is stored in XML files, which can be edited by hand, but usually the [wiki:Actor_Editor Actor Editor] is used instead. Actor XML files are located in subdirectories of [source:/ps/trunk/binaries/data/mods/public/art/actors art\actors\] for a given mod (see [wiki:Mod_Layout mod layout]).
    44
    55To test how an actor will look in-game, use Atlas' [wiki:Atlas_Manual_Object_Tab#TheActorViewer actor viewer].
     
    2323For example here is how an actor might appear in actor editor:[[BR]]
    2424
    25 [[Image(actoreditor.png, 50%)]]
     25[[Image(actoreditor.png)]]
    2626
    2727This female citizen has 3 groups: one with a single variant called "Base", a second with variants for model and texture, and a third group for prop variants.
     
    3333== Actor XML format ==
    3434
    35 The following is an example of version 1 of the actor XML (edited for clarity).
     35The following is an example of version 1 of the actor XML (edited for clarity):
    3636
    3737{{{
     
    5555        ...
    5656      </props>
    57       <texture>skeletal/rome_ijv_b.png</texture>
     57      <textures>
     58        <texture file="skeletal/rome_ijv_b.png" name="baseTex"/>
     59      </textures>
    5860    </variant>
    5961  </group>