Occluder Debug
Incoming Packet Constants
This commit is contained in:
1 parent
e0019f7672
commit
e5072ee11a
18 files changed
+12533
-12092
No files matched your search
@@ -11,10 +11,10 @@ public class NPCEntity extends PathingEntity {
|
||||
|
||||
public Model getSequencedModel() {
|
||||
if ((super.primarySeqID >= 0) && (super.primarySeqDelay == 0)) {
|
||||
int primaryTransformID = SeqType.instances[super.primarySeqID].transformIndices[super.primarySeqFrame];
|
||||
int primaryTransformID = SeqType.instances[super.primarySeqID].transformIDs[super.primarySeqFrame];
|
||||
int secondaryTransformID = -1;
|
||||
if ((super.secondarySeqID >= 0) && (super.secondarySeqID != super.seqStandID)) {
|
||||
secondaryTransformID = SeqType.instances[super.secondarySeqID].transformIndices[super.secondarySeqFrame];
|
||||
secondaryTransformID = SeqType.instances[super.secondarySeqID].transformIDs[super.secondarySeqFrame];
|
||||
}
|
||||
return type.getSequencedModel(secondaryTransformID, primaryTransformID, SeqType.instances[super.primarySeqID].mask);
|
||||
}
|
||||
@@ -22,7 +22,7 @@ public class NPCEntity extends PathingEntity {
|
||||
int transformID = -1;
|
||||
|
||||
if (super.secondarySeqID >= 0) {
|
||||
transformID = SeqType.instances[super.secondarySeqID].transformIndices[super.secondarySeqFrame];
|
||||
transformID = SeqType.instances[super.secondarySeqID].transformIDs[super.secondarySeqFrame];
|
||||
}
|
||||
|
||||
return type.getSequencedModel(-1, transformID, null);
|
||||
@@ -47,7 +47,7 @@ public class NPCEntity extends PathingEntity {
|
||||
Model model0 = spotanim.getModel();
|
||||
|
||||
if (model0 != null) {
|
||||
int transformID = spotanim.seq.transformIndices[super.spotanimFrame];
|
||||
int transformID = spotanim.seq.transformIDs[super.spotanimFrame];
|
||||
|
||||
// create a copy of the model
|
||||
Model model1 = new Model(true, SeqTransform.isNull(transformID), false, model0);
|
||||
|
||||
Reference in new issue
Block a user