Can we add Bloody Ice's extra NPC?

Results 1 to 23 of 23
  1. #1
    Account Upgraded | Title Enabled! Daman2009 is offline
    MemberRank
    Feb 2009 Join Date
    GreenDespairLocation
    343Posts

    Can we add Bloody Ice's extra NPC?

    Can we add Bloody Ice's extra NPC? Or is it limited only to EP3??

    I have been trying to add this using the extra_obj.enc for editing the xmas tree and Chaos Arena entrence but cant seem to get it.

    Has anyone been able to do this or have at least tried??


  2. #2
    Account Upgraded | Title Enabled! maxgo1 is offline
    MemberRank
    Aug 2008 Join Date
    EST , PaldiskiLocation
    311Posts

    Re: Can we add Bloody Ice's extra NPC?

    We can't, All NPC's are writed in world_xx.map files"


    xx - number of map

  3. #3
    Apprentice padriew is offline
    MemberRank
    Mar 2009 Join Date
    Undead GroundLocation
    18Posts

    Re: Can we add Bloody Ice's extra NPC?

    Quote Originally Posted by maxgo1 View Post
    We can't, All NPC's are writed in world_xx.map files"


    xx - number of map
    I've ever edit world09-npc.scp and add item 1214 1215 1216 Upgrade Core/Force Core/Slot Extender (Highest) in shop. And restart cabal. Nothing add in shop.

    How can I correct it?

  4. #4
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Can we add Bloody Ice's extra NPC?

    You can't just add them server side as the client has the data too. You need to edit the shop data in cabal.enc too.

    As far as i know you can add npcs as long as both the client and server have the correct data. I have not tried it myself yet bu i plan to over the next day or so.

  5. #5
    Account Upgraded | Title Enabled! Daman2009 is offline
    MemberRank
    Feb 2009 Join Date
    GreenDespairLocation
    343Posts

    Re: Can we add Bloody Ice's extra NPC?

    Ok.
    I have also noticed that in the client, we have the names of the new NPC's from EP3. Look, from cabal_msg.enc:

    <msg id="npc01-0032" cont="Lady Yekaterina" />
    <msg id="npc01-0033" cont="Bodyguard Hurdor" />
    <msg id="npc01-0034" cont="Bodyguard Hursurf"/>
    Its just how to enable them server side. I have tried adding the NPC into Bloody Ice using the extra_obj.enc but you have to manually choose a EFX or EBM file for the model. Plus the NPC name doesn't appear.
    This should be simple surely?? (even though I cant figure it out lol )!!

  6. #6
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Can we add Bloody Ice's extra NPC?

    This information is scattered all over the enc files as the positions are in one, the pointers to the text in another, the text itself in a third and so on. For just 1 new NPC several areas will need editing.

    Adding the Ep3 NPCs will require similar edits to the ones needed to add the Ep3 items as you will almost certainly find our Jan 2008 cabalmain won't have any references to loading those files. In fact you will probably find the Ep3 NPCs aren't in the 2008 enc files either, we used some newer data when creatign the client patch which is probably where that came from.

  7. #7
    Apprentice padriew is offline
    MemberRank
    Mar 2009 Join Date
    Undead GroundLocation
    18Posts

    thumbs up Re: Can we add Bloody Ice's extra NPC?

    Quote Originally Posted by chumpywumpy View Post
    You can't just add them server side as the client has the data too. You need to edit the shop data in cabal.enc too.

    As far as i know you can add npcs as long as both the client and server have the correct data. I have not tried it myself yet bu i plan to over the next day or so.
    Thanks agian, dear chumpy.
    I tried last night before went to bed. Both in world09-npc.scp and cabal.enc It's OK.
    Ah forgot to try buying item there

    Thank you.

  8. #8
    Account Upgraded | Title Enabled! Daman2009 is offline
    MemberRank
    Feb 2009 Join Date
    GreenDespairLocation
    343Posts

    ! Re: Can we add Bloody Ice's extra NPC?

    Quote Originally Posted by padriew View Post
    Thanks agian, dear chumpy.
    I tried last night before went to bed. Both in world09-npc.scp and cabal.enc It's OK.
    Ah forgot to try buying item there

    Thank you.
    So you have added an NPC sucessfully??

    Ooops!
    Please delete this post! I didnt look back at his other post!
    Last edited by Daman2009; 29-10-09 at 09:21 PM.

  9. #9
    Apprentice padriew is offline
    MemberRank
    Mar 2009 Join Date
    Undead GroundLocation
    18Posts

    sad Re: Can we add Bloody Ice's extra NPC?

    Quote Originally Posted by Daman2009 View Post
    So you have added an NPC sucessfully??

    Ooops!
    Please delete this post! I didnt look back at his other post!
    Sorry If I make you misunderstanding.

    What I tried to tell Chumpy is "I've tried to add item in NPC Shop and I successed".

    I'm just a newbie, really very sorry if I cause you misunderstanding.

  10. #10
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Can we add Bloody Ice's extra NPC?

    Actually i have managed to add objects using extra_obj.enc...

    http://forum.ragezone.com/f451/spawn-gate-in-ds-619209/

    NPCs are a bit more tricky though and whilst it looks possible i have nto yet got it to work. I am probably having the same problems Daman2009 is, some NPCs simply don't show up and those that do i don't seem to be able to get any dialogs for them. I'm still trying though.

  11. #11
    A Gigantic Worm trungnt88 is offline
    MemberRank
    Mar 2009 Join Date
    NevarethLocation
    314Posts

    Re: Can we add Bloody Ice's extra NPC?

    By changing chumpy extra_obj.enc I've added Rune Agent Flasha successfully (only the object, no function-able, no name)

    Tried with Agent Lady but failed :(

    Here's Flasha SS:



    Anybody can give me some explanation about tags and attributes in extra_obj.enc files? Cuz I'm wondering 'bout the value of "pos" and "rotate" attributes.

  12. #12
    .:: Why so Serious ::. schneemann101 is offline
    MemberRank
    Dec 2009 Join Date
    GermanyLocation
    420Posts

    Re: Can we add Bloody Ice's extra NPC?

    I had saw a post i don't know from but he had upload his edit NPC with a manule how to make all of this.
    Use the Search butten =D

  13. #13
    A Gigantic Worm trungnt88 is offline
    MemberRank
    Mar 2009 Join Date
    NevarethLocation
    314Posts

    Re: Can we add Bloody Ice's extra NPC?

    Forum only allowed us to search with keywords longer than 3 letters and ... important keywords for solving this problem is NPC, Map (3 letters only :()

    In fact, I tried to search many times with a lot of keywords :(

  14. #14
    .:: Why so Serious ::. schneemann101 is offline
    MemberRank
    Dec 2009 Join Date
    GermanyLocation
    420Posts

    Re: Can we add Bloody Ice's extra NPC?

    Quote Originally Posted by trungnt88 View Post
    Forum only allowed us to search with keywords longer than 3 letters and ... important keywords for solving this problem is NPC, Map (3 letters only :()

    In fact, I tried to search many times with a lot of keywords :(
    Than is the surch a lot of work !!!

  15. #15
    The Dinosaur chumpywumpy is offline
    MemberRank
    Jun 2008 Join Date
    /f451/Location
    5,127Posts

    Re: Can we add Bloody Ice's extra NPC?

    The forum will block 3 letters and it can't really be helped as fewer than 4 letters will return pretty much the whole forum. Also the database has to work very hard on searches like that which slows the forum down.

    object_enc is reasonably simple but the one example in there doesn't make it too clear. The one bundled with 2.81 is a bit simpler to understand as there are 2 different items in there.

    Because of a forum bug the numberes in here will get replaced with ****, but you can see the idea.

    <extra_stuff id="0" filename="object\object_fx\x-mas\x-mastree05.efx" min="-170.873,-25.3****-244.727" max="215.379,650,172.775"/>
    <extra_entity type="0" pos="2252,-31,3068" rotate="0,0,0,0" scale="1,1,1" disable_cell_radius="2" stuff_id="0"/>
    <!-- Chaos Arena entrance sign -->
    <extra_stuff id="1" filename="object\snow\f_snow_guidace.ebm" min="-170.873,-25.3****-244.727" max="215.379,650,172.775"/>
    <extra_entity type="1" pos="1****0,3022" rotate="0,0.707107,0,0.707107" scale="1,1,1" disable_cell_radius="1" stuff_id="1" name="extra_npc_000" npc_id="31" npc_tag="0" npc_type="7" />

    You must have an extra_stuff entry for each item you want to add so look at the first 2 lines before the chaos arena sign. Important values here are the extra_stuff "id" which is 0 and the object filename, the "min" and "max" don't seem to do anything and every example i have seen in official uses the same values as the ones here.

    Line 2 is the item linked to your "stuff id" and you can see it's stuff id is 0. Both lines are linked and every extra_entity must be linked to an extra_stuff entry which you can see with the CA sign (stuff id 1). Line 1 has the object filename and stuff id, line 2 has the position, scale and rotation.

    The example posted above is a modded copy of what i found in the v22 extra_obj.enc and added the xmas tree to. This is a really bad example but if you start studying official ones you will see that weird rotate (4 entries for rotate??). Here is the extra objects i added to green despair:

    <extra_object world_id="3">
    <extra_stuff id="0" filename="object\object_fx\x-mas\x-mastree05.efx" min="-170.873,-25.3****-244.727" max="215.379,650,172.775"/>
    <extra_entity type="0" pos="20824,0,4240" rotate="0,1,0" scale="1,1,1" disable_cell_radius="2" stuff_id="0"/>
    </extra_object>

    Only 1 item, the tree again but only 3 rotation values. This is normal and the 4 values copy is just a bug in the official files i think. Position values for X and Y are multiplied by 100 for precision so my tree is at x208 y42 with 0 being how high off the floor. Disable_cell_radius stps people walking on that many cells around the item which is useful for adding walls.

    Hope that helps a bit, that is not a great explanation really but i can't be bothered to type anymore

  16. #16
    A Gigantic Worm trungnt88 is offline
    MemberRank
    Mar 2009 Join Date
    NevarethLocation
    314Posts

    Re: Can we add Bloody Ice's extra NPC?

    I'm trying to add Agent Lady with this code:

    Code:
            <extra_stuff    ID="2"    filename="Character\w1agent.ebm"    min="-170.873, -25.3112 -244.727"    max="215.379, 650, 172.775"    />
            <extra_entity    type="0"    pos="2300, 0, 1800"    rotate="0, 180, 0, 0"    scale="1, 1, 1"    disable_cell_radius="1"    stuff_id="2"    name="extra_npc_002"    npc_id="32"    npc_tag="0"    npc_type="7"    />
    And here is the result :



    ---

    Note that :

    With "rotate" attribute, when I passed 3 values, I got crash on start. (Please tell ESTsoft about this proiblem.)

    Here is this :

    Code:
    <cabal>
        <version    index="1"    />
        <extra_object world_id="1">
            <!-- X'Mas Tree -->
            <extra_stuff        id="0" filename="object\object_fx\x-mas\x-mastree05.efx" min="-170.873,-25.3112,-244.727" max="215.379,650,172.775"/>
            <extra_entity  type="0" pos="2252,-31,3068" rotate="0,0,0" scale="1,1,1" disable_cell_radius="2" stuff_id="0"/>
            
            <extra_stuff        id="1" filename="object\snow\f_snow_guidace.ebm" min="-170.873,-25.3112,-244.727" max="215.379,650,172.775"/>
            <extra_entity  type="1" pos="1115,0,3022"  rotate="0.707107,0,0.707107" scale="1,1,1" disable_cell_radius="1" stuff_id="1" name="extra_npc_000" npc_id="31" npc_tag="0" npc_type="7" />
    
        </extra_object>
    
    </cabal>
    But when I added one more zero (0) into "rotate" attribute, everything is ok.

    Like this :

    Code:
    <cabal>
        <version    index="1"    />
        <extra_object world_id="1">
            <!-- X'Mas Tree -->
            <extra_stuff        id="0" filename="object\object_fx\x-mas\x-mastree05.efx" min="-170.873,-25.3112,-244.727" max="215.379,650,172.775"/>
            <extra_entity  type="0" pos="2252,-31,3068" rotate="0,0,0,0" scale="1,1,1" disable_cell_radius="2" stuff_id="0"/>
            
            <extra_stuff        id="1" filename="object\snow\f_snow_guidace.ebm" min="-170.873,-25.3112,-244.727" max="215.379,650,172.775"/>
            <extra_entity  type="1" pos="1115,0,3022" rotate="0.707107,0,0.707107,0" scale="1,1,1" disable_cell_radius="1" stuff_id="1" name="extra_npc_000" npc_id="31" npc_tag="0" npc_type="7" />
    
        </extra_object>
    
    </cabal>
    It means "rotate" with 4 value is not a bug ?
    Last edited by trungnt88; 30-01-10 at 07:32 AM.

  17. #17
    Banned Yamachi is offline
    BannedRank
    Oct 2006 Join Date
    Jolly EnglandLocation
    3,517Posts

    Re: Can we add Bloody Ice's extra NPC?

    v22 uses 3 values for rotate, and also uses different measurements. Change the rotation to "0, 0, 0" and you should see the NPC properly, but facing the opposite direction (if I remember correctly). Just play around with the values. I can't remember if the rotation uses degrees or radians in the v22 client...

    Quote Originally Posted by trungnt88 View Post
    Note that :

    With "rotate" attribute, when I passed 3 values, I got crash on start. (Please tell ESTsoft about this proiblem.)

    Here is this :

    Code:
    <cabal>
        <version    index="1"    />
        <extra_object world_id="1">
            <!-- X'Mas Tree -->
            <extra_stuff        id="0" filename="object\object_fx\x-mas\x-mastree05.efx" min="-170.873,-25.3112,-244.727" max="215.379,650,172.775"/>
            <extra_entity  type="0" pos="2252,-31,3068" rotate="0,0,0" scale="1,1,1" disable_cell_radius="2" stuff_id="0"/>
            
            <extra_stuff        id="1" filename="object\snow\f_snow_guidace.ebm" min="-170.873,-25.3112,-244.727" max="215.379,650,172.775"/>
            <extra_entity  type="1" pos="1115,0,3022"  rotate="0.707107,0,0.707107" scale="1,1,1" disable_cell_radius="1" stuff_id="1" name="extra_npc_000" npc_id="31" npc_tag="0" npc_type="7" />
    
        </extra_object>
    
    </cabal>
    But when I added one more zero (0) into "rotate" attribute, everything is ok.

    Like this :

    Code:
    <cabal>
        <version    index="1"    />
        <extra_object world_id="1">
            <!-- X'Mas Tree -->
            <extra_stuff        id="0" filename="object\object_fx\x-mas\x-mastree05.efx" min="-170.873,-25.3112,-244.727" max="215.379,650,172.775"/>
            <extra_entity  type="0" pos="2252,-31,3068" rotate="0,0,0,0" scale="1,1,1" disable_cell_radius="2" stuff_id="0"/>
            
            <extra_stuff        id="1" filename="object\snow\f_snow_guidace.ebm" min="-170.873,-25.3112,-244.727" max="215.379,650,172.775"/>
            <extra_entity  type="1" pos="1115,0,3022" rotate="0.707107,0,0.707107,0" scale="1,1,1" disable_cell_radius="1" stuff_id="1" name="extra_npc_000" npc_id="31" npc_tag="0" npc_type="7" />
    
        </extra_object>
    
    </cabal>
    It means "rotate" with 4 value is not a bug ?

  18. #18
    Apprentice ZinskY is offline
    MemberRank
    Sep 2007 Join Date
    8Posts

    Re: Can we add Bloody Ice's extra NPC?



    Last edited by ZinskY; 30-01-10 at 05:20 PM.

  19. #19
    A Gigantic Worm trungnt88 is offline
    MemberRank
    Mar 2009 Join Date
    NevarethLocation
    314Posts

    Re: Can we add Bloody Ice's extra NPC?

    Quote Originally Posted by Yamachi View Post
    v22 uses 3 values for rotate, and also uses different measurements. Change the rotation to "0, 0, 0" and you should see the NPC properly, but facing the opposite direction (if I remember correctly). Just play around with the values. I can't remember if the rotation uses degrees or radians in the v22 client...
    With 3 values for "rotate" I got crashes :D

    But when I changed back to 4 value (by adding "0," at the start) object appeared.

    For more details:

    - I put the X'mas tree in BI with rotate="0,0,0,0". It's OK.
    - I put the X'mas tree in BI with rotate="0,0,0". Crashed when open the CabalMain.exe

    Here is SS :

    Last edited by trungnt88; 31-01-10 at 06:52 AM.

  20. #20
    Enthusiast Automatisch is offline
    MemberRank
    May 2008 Join Date
    GermanyLocation
    41Posts

    Re: Can we add Bloody Ice's extra NPC?

    so am i able to add a custom npc with custom items to any position too ?

  21. #21
    Account Upgraded | Title Enabled! Daman2009 is offline
    MemberRank
    Feb 2009 Join Date
    GreenDespairLocation
    343Posts

    Re: Can we add Bloody Ice's extra NPC?

    Quote Originally Posted by Automatisch View Post
    so am i able to add a custom npc with custom items to any position too ?
    We cannot change locations of the NPC's. They are done in the MCL files which we cannot edit...yet!

  22. #22
    Account Upgraded | Title Enabled! MisterMinister is offline
    MemberRank
    May 2009 Join Date
    Pontus FerrumLocation
    250Posts

    Re: Can we add Bloody Ice's extra NPC?

    Thats not Correct exactly..

    I Added Lady Yakaterina to PF..behind Pluma..

    It works perfectly,except one thing..

    The Name Dissapeared..
    But i could Click her,and could Buy Stuff.

    So it is Possible to "Move" them to Other Maps,but its Buggy..
    This Method was made via Extra_Obj.enc
    Same with Yuki.BTW..

    Regards..

  23. #23
    Banned Yamachi is offline
    BannedRank
    Oct 2006 Join Date
    Jolly EnglandLocation
    3,517Posts

    Re: Can we add Bloody Ice's extra NPC?

    Quote Originally Posted by Daman2009 View Post
    We cannot change locations of the NPC's. They are done in the MCL files which we cannot edit...yet!
    He's asking about ADDING an NPC, not modifying an existing one. Yes, you CAN add custom NPC's with custom items at any location.



Advertisement