setplayertweak

From Arx Libertatis Wiki
Jump to navigation Jump to search

The setplayertweak script command is used to set an alternate mesh or texture to use for the player while equipped for an entity.

Usage

setplayertweak mesh <newmesh>
setplayertweak skin <oldskin> <newskin>

Context: Any Entity

Parameters:

ParameterTypeDescription
newmesh path The replacement mesh, relative to graph/obj3d/interactive/npc/human_base/tweaks
oldskin string The filename (without path or extension) of the texture to replace
newskin path The replacement texture, relative to graph/obj3d/textures

Only the part of the player model corresponding to the equipment slot is modified. The following table shows which selection of the player mesh is modified for for the equipment slots used with the different object types set by the setobjecttype command:

Type Selection
h head
a chest
l leggings