Aller au contenu

Photo

Changing appearance


  • Veuillez vous connecter pour répondre
9 réponses à ce sujet

#1
PJ156

PJ156
  • Members
  • 2 983 messages
I want to effect the change from human to doppelganger by script. I am using ArtEChokes model out of pains pack.

Where do I find the descriptor for changing the appearance? Is it the first column of the 2da?

void main()
{
object oPC = GetPCSpeaker();
object oTarget;
oTarget = GetObjectByTag("2013_cs_reb_dop");
SetCreatureAppearanceType(oTarget, APPEARANCE_TYPE_**);
}

Second best would be to despawn the human and spawn in a doppelganger but that would less smooth?

Thanks in advance for your help.

Cheers,

Peter

#2
M. Rieder

M. Rieder
  • Members
  • 2 530 messages
Yes. It is the number row for the doppleganger appearance in the .2da.

#3
kevL

kevL
  • Members
  • 4 061 messages
try just using the row # ( Appearance.2da ) as an int, like

SetCreatureAppearanceType(oTarget, 1302); //DoppelgangerBG


#4
kevL

kevL
  • Members
  • 4 061 messages
Matt ... the ninja ...

#5
M. Rieder

M. Rieder
  • Members
  • 2 530 messages
I just looked at the 2da and I believe the line number is 1302.

#6
M. Rieder

M. Rieder
  • Members
  • 2 530 messages
Aha... you ninja'd me right back!

#7
PJ156

PJ156
  • Members
  • 2 983 messages
Thanks guys I will try that.

PJ

#8
painofdungeoneternal

painofdungeoneternal
  • Members
  • 1 799 messages
You can also use the constants defined in my CSL system

Appearance Constants

It's a separate file which i update when i update the monster pack - which connects the two. Note that it only has the actually viable appearance constants unlike what you get in the official version, which tends to be quite confusing.

#9
PJ156

PJ156
  • Members
  • 2 983 messages
Thanks Pain' that's an incredibly useful resource.

PJ

#10
Shallina

Shallina
  • Members
  • 1 011 messages
Edit the 2da needed and inspire yourself from the werewolf of the OC.