Example #1
0
    public override void SetPart(MSBBB.Part bpart)
    {
        var part = (MSBBB.Part.MapPiece)bpart;

        setBasePart(part);
        GParamConfig = gameObject.AddComponent <MSBBBGParamConfig>();
        GParamConfig.setStruct(part.Gparam);
    }
Example #2
0
    public override void SetPart(MSBBB.Part bpart)
    {
        var part = (MSBBB.Part.Object)bpart;

        setBasePart(part);
        GParamConfig = gameObject.AddComponent <MSBBBGParamConfig>();
        GParamConfig.setStruct(part.Gparam);
        CollisionName = part.CollisionName;
        UnkT04        = part.UnkT04;
        UnkT06        = part.UnkT06;
        UnkT02a       = part.UnkT02a;
        UnkT02b       = part.UnkT02b;
        UnkT03a       = part.UnkT03a;
        UnkT03b       = part.UnkT03b;
        UnkT05a       = part.UnkT05a;
        UnkT05b       = part.UnkT05b;
    }
Example #3
0
    public override void SetPart(MSBBB.Part bpart)
    {
        var part = (MSBBB.Part.Collision)bpart;

        setBasePart(part);
        GParamConfig = gameObject.AddComponent <MSBBBGParamConfig>();
        GParamConfig.setStruct(part.Gparam);
        UnkStruct4 = gameObject.AddComponent <MSBBBUnkStruct4>();
        UnkStruct4.setStruct(part.Unk4);
        HitFilterID          = part.HitFilterID;
        SoundSpaceType       = part.SoundSpaceType;
        EnvLightMapSpotIndex = part.EnvLightMapSpotIndex;
        ReflectPlaneHeight   = part.ReflectPlaneHeight;
        MapNameID            = part.MapNameID;
        UnkT08b = part.UnkT08b;
        DisableBonfireEntityID = part.DisableBonfireEntityID;
        PlayRegionID           = part.PlayRegionID;
        LockCamID1             = part.LockCamID1;
        LockCamID2             = part.LockCamID2;
        UnkHitName             = part.UnkHitName;
        UnkT14 = part.UnkT14;
    }
Example #4
0
    public override void SetPart(MSBBB.Part bpart)
    {
        var part = (MSBBB.Part.Enemy)bpart;

        setBasePart(part);
        GParamConfig = gameObject.AddComponent <MSBBBGParamConfig>();
        GParamConfig.setStruct(part.Gparam);
        CollisionName = part.CollisionName;
        ThinkParamID  = part.ThinkParamID;
        NPCParamID    = part.NPCParamID;
        TalkID        = part.TalkID;
        CharaInitID   = part.CharaInitID;
        UnkT07        = part.UnkT07;
        UnkT08        = part.UnkT08;
        UnkT09        = part.UnkT09;
        UnkT10        = part.UnkT10;
        UnkT11        = part.UnkT11;
        UnkT12        = part.UnkT12;
        UnkT13        = part.UnkT13;
        UnkT14        = part.UnkT14;
        UnkT15        = part.UnkT15;
    }