Adding Armor

Results 1 to 9 of 9
  1. #1
    Valued Member Exodus is offline
    MemberRank
    Jan 2010 Join Date
    NetherlandsLocation
    107Posts

    Adding Armor

    This has been bugging me for a while, it seems I just can't figure out how to add new armor... Here's what I did:
    I took the military rank 9 Arcane Robe, which has this folder - 19品法袍上衣, looked inside it and there's just some skin files and the texture inside, so I copied the folder and named it to 20品法袍上衣 (placed it in the same place as the original one), did a little bit of .dds editting, made a new item in elements and kept the same .ecm that the original robe uses, since there isn't much in there except for some texture of what looks like part of a shirt or something, changed the surface from 19品法袍上衣.dds to 20品法袍上衣.dds since I'm guessing that it has to point to the folder where the textures are stored, andddd... nothing! It doesn't show up at all. Does anyone know what I'm doing wrong? Thanks


  2. #2
    Black Magic Development das7002 is offline
    MemberRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: Adding Armor

    Quote Originally Posted by Exodus View Post
    Does anyone know what I'm doing wrong? Thanks
    Yes you did

    Quote Originally Posted by Exodus View Post
    kept the same .ecm that the original robe uses

  3. #3
    Valued Member Exodus is offline
    MemberRank
    Jan 2010 Join Date
    NetherlandsLocation
    107Posts

    Re: Adding Armor

    Alright, so what do I do? I don't understand what it's for lol, since like I said, the texture for the .ecm file is very unclear and looks like part of a shirt with no resemblance to the real robe.

  4. #4
    Black Magic Development das7002 is offline
    MemberRank
    Apr 2010 Join Date
    EarthLocation
    2,188Posts

    Re: Adding Armor

    Quote Originally Posted by Exodus View Post
    Alright, so what do I do? I don't understand what it's for lol, since like I said, the texture for the .ecm file is very unclear and looks like part of a shirt with no resemblance to the real robe.
    Tells the client where to find all the information regarding the model
    Spoiler:

    Code:
    MOXTVersion: 32
    SkinModelPath: Models\Weapons\人物\刀剑\15品单刀\15品单刀.SMD
    OrgColor: ffffffff
    SrcBlend: 5
    DestBlend: 6
    OuterNum: 8
    Float: 1.000000
    Float: 1.000000
    Float: 1.000000
    Float: 1.000000
    Float: 1.000000
    Float: 1.000000
    Float: 1.000000
    Float: 1.000000
    NewScale: 0
    BoneNum: 0
    
    DefSpeed: 1.000000
    ChannelCount: 0
    ChannelCount: 16
    ChannelMask: -1
    ChannelMask: -1
    ChannelMask: -1
    ChannelMask: -1
    ChannelMask: -1
    ChannelMask: -1
    ChannelMask: -1
    ChannelMask: -1
    ChannelMask: -1
    ChannelMask: -1
    ChannelMask: -1
    ChannelMask: -1
    ChannelMask: -1
    ChannelMask: -1
    ChannelMask: -1
    ChannelMask: -1
    CoGfxNum: 6
    ComActCount: 4
    EventType: 100
    StartTime: 0
    TimeSpan: -1
    Once: 0
    FxFilePath: 人物\通用\武器\武器效果\绕气.gfx
    HookName: CC_weapon
    HookOffset: 0.819125, -0.019792, -0.008791
    HookYaw: -1.530727
    HookPitch: -2.967060
    HookRot: 0.000000
    BindParent: 1
    FadeOut: 1
    UseModelAlpha: 1
    GfxScale: 0.900000
    GfxAlpha: 0.700000
    GfxSpeed: 1.000000
    GfxOuterPath: 0
    GfxParamCount: 0
    EventType: 100
    StartTime: 0
    TimeSpan: -1
    Once: 0
    FxFilePath: 人物\通用\武器\武器效果\闪.gfx
    HookName: CC_weapon
    HookOffset: -0.178026, -0.060000, 0.061673
    HookYaw: 0.000000
    HookPitch: 0.000000
    HookRot: 0.000000
    BindParent: 1
    FadeOut: 1
    UseModelAlpha: 1
    GfxScale: 0.700000
    GfxAlpha: 1.000000
    GfxSpeed: 1.000000
    GfxOuterPath: 0
    GfxParamCount: 0
    EventType: 100
    StartTime: 0
    TimeSpan: -1
    Once: 0
    FxFilePath: 人物\通用\武器\武器效果\聚光芒1.gfx
    HookName: HH_base
    HookOffset: -0.598505, -0.039994, 0.000000
    HookYaw: 0.000000
    HookPitch: 0.000000
    HookRot: 0.000000
    BindParent: 1
    FadeOut: 1
    UseModelAlpha: 1
    GfxScale: 0.200000
    GfxAlpha: 1.000000
    GfxSpeed: 1.000000
    GfxOuterPath: 0
    GfxParamCount: 0
    EventType: 100
    StartTime: 0
    TimeSpan: -1
    Once: 0
    FxFilePath: 人物\通用\武器\武器效果\闪.gfx
    HookName: CC_weapon
    HookOffset: -0.178026, -0.060000, -0.061673
    HookYaw: 0.000000
    HookPitch: 0.000000
    HookRot: 0.000000
    BindParent: 1
    FadeOut: 1
    UseModelAlpha: 1
    GfxScale: 0.700000
    GfxAlpha: 1.000000
    GfxSpeed: 1.000000
    GfxOuterPath: 0
    GfxParamCount: 0
    EventType: 100
    StartTime: 0
    TimeSpan: -1
    Once: 0
    FxFilePath: 人物\通用\武器\武器效果\紫色剑光长.gfx
    HookName: HH_base
    HookOffset: -0.364903, -0.002337, -0.018460
    HookYaw: 0.000000
    HookPitch: 0.000000
    HookRot: 1.658063
    BindParent: 1
    FadeOut: 1
    UseModelAlpha: 1
    GfxScale: 0.400000
    GfxAlpha: 1.000000
    GfxSpeed: 1.000000
    GfxOuterPath: 0
    GfxParamCount: 0
    EventType: 100
    StartTime: 0
    TimeSpan: -1
    Once: 0
    FxFilePath: 人物\通用\武器\武器效果\紫色剑光长.gfx
    HookName: HH_base
    HookOffset: -0.406812, 0.001302, 0.018460
    HookYaw: 0.000000
    HookPitch: 0.000000
    HookRot: 1.658063
    BindParent: 1
    FadeOut: 1
    UseModelAlpha: 1
    GfxScale: 0.400000
    GfxAlpha: 1.000000
    GfxSpeed: 1.000000
    GfxOuterPath: 0
    GfxParamCount: 0
    CombineActName: 刀光
    LoopCount: 1
    RankCount: 0
    EventChannel: 0
    BaseActCount: 0
    EventCount: 2
    EventType: 101
    StartTime: 0
    TimeSpan: -1
    Once: 1
    FxFilePath: Item\WeaponAttack\HitSwordBig.wav
    HookName: 
    HookOffset: 0.000000, 0.000000, 0.000000
    HookYaw: 0.000000
    HookPitch: 0.000000
    HookRot: 0.000000
    BindParent: 1
    FadeOut: 1
    UseModelAlpha: 0
    SoundVer: 1
    Force2D: 0
    IsLoop: 0
    Volume: 100
    MinDist: 6.000000
    MaxDist: 25.000000
    EventType: 100
    StartTime: 0
    TimeSpan: -1
    Once: 0
    FxFilePath: 武器轨迹\剑光蓝.gfx
    HookName: 
    HookOffset: 0.000000, 0.000000, 0.000000
    HookYaw: 0.000000
    HookPitch: 0.000000
    HookRot: 0.000000
    BindParent: 1
    FadeOut: 1
    UseModelAlpha: 0
    GfxScale: 1.000000
    GfxAlpha: 1.000000
    GfxSpeed: 1.000000
    GfxOuterPath: 0
    GfxParamCount: 3
    ParamEleName: Unnamed3
    ParamId: 100
    ParamDataType: 1
    ParamDataIsCmd: 0
    ParamDataHook: HH_tip
    ParamEleName: Unnamed3
    ParamId: 101
    ParamDataType: 1
    ParamDataIsCmd: 0
    ParamDataHook: HH_base
    ParamEleName: Unnamed3
    ParamId: 102
    ParamDataType: 2
    ParamDataIsCmd: 0
    ParamDataHook: CC_weapon
    CombineActName: 掉落保护
    LoopCount: 1
    RankCount: 0
    EventChannel: 0
    BaseActCount: 0
    EventCount: 1
    EventType: 100
    StartTime: 0
    TimeSpan: -1
    Once: 0
    FxFilePath: 程序联入\物品掉落.gfx
    HookName: 
    HookOffset: 0.000000, 0.200000, 0.000000
    HookYaw: 0.000000
    HookPitch: 0.000000
    HookRot: 0.000000
    BindParent: 1
    FadeOut: 1
    UseModelAlpha: 0
    GfxScale: 1.000000
    GfxAlpha: 1.000000
    GfxSpeed: 1.000000
    GfxOuterPath: 0
    GfxParamCount: 0
    CombineActName: 掉落保护_空中
    LoopCount: 1
    RankCount: 0
    EventChannel: 0
    BaseActCount: 0
    EventCount: 1
    EventType: 100
    StartTime: 0
    TimeSpan: -1
    Once: 0
    FxFilePath: 程序联入\空中物品掉落.gfx
    HookName: 
    HookOffset: 0.000000, 0.000000, 0.000000
    HookYaw: 0.000000
    HookPitch: 0.000000
    HookRot: 0.000000
    BindParent: 1
    FadeOut: 1
    UseModelAlpha: 0
    GfxScale: 1.000000
    GfxAlpha: 1.000000
    GfxSpeed: 1.000000
    GfxOuterPath: 0
    GfxParamCount: 0
    CombineActName: 掉落保护_水中
    LoopCount: 1
    RankCount: 0
    EventChannel: 0
    BaseActCount: 0
    EventCount: 1
    EventType: 100
    StartTime: 0
    TimeSpan: -1
    Once: 0
    FxFilePath: 程序联入\水中物品掉落.gfx
    HookName: 
    HookOffset: 0.000000, 0.000000, 0.000000
    HookYaw: 0.000000
    HookPitch: 0.000000
    HookRot: 0.000000
    BindParent: 1
    FadeOut: 1
    UseModelAlpha: 0
    GfxSca


    As you can see it has paths to specific places, the texture filename itself is stored in the ski file though (you can either fix that with the blender python script OR hexedit fix it) and if you copy the directory containing a model for something to a different location you have to update all of the paths in the ecm to point to the correct location or they don't work, eg are invisible or if it was a copy just shows the old one
    Last edited by das7002; 03-12-10 at 05:06 PM.

  5. #5
    Valued Member Exodus is offline
    MemberRank
    Jan 2010 Join Date
    NetherlandsLocation
    107Posts

    Re: Adding Armor

    Thanks for clearing that up, I'll give it a try in the morning.

  6. #6
    Just Eistiger. Eistiger is offline
    MemberRank
    Jul 2008 Join Date
    GermanyLocation
    552Posts

    Re: Adding Armor

    Hey, im not sure if i got it right... But for me it seems like u having error with adding new armor.
    Well... models\players\装备 include 2 folder. Female and Male.
    U need to create a folder in both of them.
    For example u call them:

    19品重甲上衣

    Inside are .ski files and the textures.

    They are called:

    妖兽19品重甲上衣一级
    妖兽19品重甲上衣三级
    妖兽19品重甲上衣二级

    ...

    So now on how to add them to use for ingame...
    Well the elements.data (Equipments List) contains under the Name a Line where u add the Model.
    You dont add the Path. You just add the Name of the Folder :)
    For example (basic stupid example):

    1.ID : 99999
    2.Large Classification: 99999
    3.Small Classification: 99998
    4.Name: Stupid Example
    5.Foldername: 19品重甲上衣

    Im sorry if i understand your post wrong
    And im happy if i didnt ;)

  7. #7
    Nerd-IO Romulan is offline
    MemberRank
    Feb 2009 Join Date
    BelgiumLocation
    3,333Posts

    Re: Adding Armor

    Its not the foldername Eisi Its the filename of SKI file... "19品重甲上衣.SKI"

  8. #8
    Just Eistiger. Eistiger is offline
    MemberRank
    Jul 2008 Join Date
    GermanyLocation
    552Posts

    Re: Adding Armor

    No its the folder name :)
    Because u see it in different folders.
    Compare them :)
    Because many of the folders has more then 2 ski files with same start name but other end name :) But maybe im wrong. If im wrong im sorry :(

  9. #9
    Valued Member Exodus is offline
    MemberRank
    Jan 2010 Join Date
    NetherlandsLocation
    107Posts

    Re: Adding Armor

    Hey Eistiger, you may be right but I believe I've already done that (well except for making 2 folders for male/female since I'm only testing on a male char and I don't have the patience to wait 50 hours till models.pck is done repacking again ) Here's a picture of what it looks like in sELedit so it'll be a little more clearer:
    Spoiler:


    Should be working right? I'm guessing that there's something wrong with one of the files (the skins or .ecm)

    @Romulan: Wow, that might be it actually since I just found out that I forgot to change the names of the .ski files from 19... to 20...
    I'll check it out.

    EDIT: Yep that was it! Thanks Romulan!
    Last edited by Exodus; 04-12-10 at 08:15 AM.



Advertisement