Jump to content

Happy

Members
  • Content Count

    170
  • Joined

  • Last visited

  • Days Won

    8

Posts posted by Happy


  1. alam mo na ba kung paano mag add ng normal items? Kapag alam mo na iyon madali na gumawa ng costume, papalitan mo lang yong location , dapat bitmask ng costume and ilagay mo.

     

    sundan mo lang dito: http://herc.ws/wiki/Custom_Items

    tapos, kapag may hindi ka maintindihan, reply ka lng dito sa topic mo :)

     

    Kadalasan ginagawa ko, kinokopya ko lng yong isang existing item script, eg. kung lower headgear iyong gagawin mo, eh lower din yong kokopyahin ko, tapos papalitan ko nalang yong mga attributes, tapos kung gagawing costume(at first costume ko yon) gagamitin ko bitmasks ng costume for location attribute:

     

    1024 = Costume Top Headgear2048 = Costume Mid Headgear4096 = Costume Low Headgear8192 = Costume robe/garment

     

    kung plano mo iconvert yong mga official item to costume, try mo iinstall to: http://herc.ws/board/topic/4383-costume-item-plugins/ para hindi mo na kailangan mag duplicate ng official items, pag meron ka niyan, @costumeitem lang or gagamitin mo lng yong npc na provided sa plugin na yan


  2. I wonder if anyone can help create a plugin to do this? I would use it with this plugin http://herc.ws/board/topic/4383-costume-item-plugins/

    which converts any headgear to costume, but then right now if that headgear has an effect, it will work even if its worn as a costume, works the same for official costume too, even without the costume item plugin.

     

    I'd appreciate any help, even if its not plugin, and a source mod. Thanks in advance!


  3. Thank you for sharing this, not only its a good plugin, it'll help me learn HPM too xD I was trying to learn how to edit some pc functions and this was a very good example.

    Btw do you have a git hub this script?

     

    Edit*

    I just installed, and it works great. Just need to know how I can turn the stats off when the costume is equipped, also is it possible to change the generated name to "costume" instead of player name? eg. costume's baphomet horn . Cause player name is kind of scam prone xD


  4. Hi, I 'm not very good at source but you could try this if you like

     

    in map/battle.c find

     

       	 if( wd->flag & BF_SHORT ) {            if( !is_boss(src) ) {                if( sc->data[SC_DEATHBOUND] && skill_id != WS_CARTTERMINATION ) { 

     

    notice the  bold part  if( sc->data[sC_DEATHBOUND] && skill_id != WS_CARTTERMINATION ) {

     

    try adding the skill id of the skill you want to bypass reflect like this

     

     

    if( sc->data[SC_DEATHBOUND] && skill_id != WS_CARTTERMINATION && skill_id != GS_DESPERADO ) { 

     

    I believe that part i asked you to find is the part that tells that CT should by-pass reflect(according to irowiki, that's official).

    Let me know if it works, if it does maybe i'll try helping you with safetywall too, unlike desperado you can probably not do the same thing on safety wall probably something like what's done on deathbound is needed for that or much complex.

     

    So yeah, just test it on a test server first. Implement at your own risk okay xD


  5. Thanks Angelmelody! I'll try that out.

     

     

    In-case someone is trying to do the same thing as me, for the NPC folders I'm going to try editing map.c

    changing

    map->reloadnpc_sub("npc/pre-re/scripts_main.conf");
     
    to
    map->reloadnpc_sub("npc/re/scripts_main.conf");

     

     

     

     

    Edit*

     

     

    https://github.com/H...fig/const.h#L39


     


    change  "pre-re/" to  "re/"


     


    Idk whether it  will cause any risk.

    Seems this alone won't do, i think its because in pre-re the structures are different so simply loading re files won't work well. Gotta turn on some of those re db structures.


  6. Hi guys, Pretty much I want to turn off all renewal stuff except NPC/mobs/instances/items?

    I tried the renewal.h but if i comment out #define RENEWAL it also turns off the npcs/maps/mobs/items etc :(

     

    I would deeply appreciate any help  :unsure:  Thanks in advance! :D

     

    Edit*

    I would also like to keep the 3rd jobs. So yeah kinda like 3ceam but with renewal npcs/items.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.