View Issue Details

IDProjectCategoryView StatusLast Update
0001666The Dark ModScript/Defpublic26.03.2010 07:38
ReporterSpringheel Assigned Togreebo  
PrioritynormalSeveritynormalReproducibilityalways
Status closedResolutionfixed 
Summary0001666: "offsetHeadModel" No longer works
Descriptionthe "offsetHeadModel" spawnarg no longer works to position the heads of AI.

Just a guess, but it might have something to do with the change from attaching a head "model" to a head "entity". The spawnarge worked when we were using the models.
TagsNo tags attached.

Activities

Mortem Desino

Mortem Desino

12.03.2009 00:59

reporter   ~0002362

In order to change the position of the head, use the name of the head as a spawnarg, and then set a relative origin. For example:

atdm:ai_head_commoner04 = 1 0 3
Springheel

Springheel

12.03.2009 23:22

administrator   ~0002365

Does this have to be done for every single head entity? It would be much more convenient to have a single value that applies to all heads.
Mortem Desino

Mortem Desino

21.03.2009 02:16

reporter   ~0002385

The default is always "0 0 0" IIRC, but in certain AI ents, it looks much better after tweaking by hand.

Suppose atdm_ai_thief has spawnarg "def_head atdm:ai_head_commoner04"
By default (0 0 0), the head sinks too far down and backward in the body so...
you set atdm_ai_thief to use the spawnarg "atdm:ai_head_commoner04 = 1 0 3"

The default actually looks good for AIs like the builder guard and citywatch. It's just nice to have for tweaking if ever neccessary.
Springheel

Springheel

21.03.2009 14:14

administrator   ~0002386

Well yes, it's nice for tweaking, but it isn't as nice as what we used to have. There used to be two working ways to offset heads. One worked on individual heads, and one was a offset on the AI that affected all heads.

The latter is the one that no longer works. So for a model like the commoner, where ALL the heads are slightly too low, I would have to add an offset for every single head (and there are around thirty already). It would be a lot nicer if I could just add one line that affected all heads equally, which is what the "offsetHeadModel" spawnarg used to do.
greebo

greebo

22.03.2009 14:06

administrator   ~0002387

Fixed in latest SVN. The "offsetHeadModel" value now always gets added.

Issue History

Date Modified Username Field Change
26.02.2009 17:08 Springheel New Issue
12.03.2009 00:59 Mortem Desino Note Added: 0002362
12.03.2009 23:22 Springheel Note Added: 0002365
21.03.2009 02:16 Mortem Desino Note Added: 0002385
21.03.2009 14:14 Springheel Note Added: 0002386
22.03.2009 14:04 greebo Status new => assigned
22.03.2009 14:04 greebo Assigned To => greebo
22.03.2009 14:06 greebo Note Added: 0002387
22.03.2009 14:06 greebo Status assigned => resolved
22.03.2009 14:06 greebo Resolution open => fixed
26.03.2010 07:38 greebo Status resolved => closed