Glowshop

Results 1 to 6 of 6
  1. #1
    Sorcerer Supreme KING5 is offline
    Member +Rank
    Oct 2008 Join Date
    Behind You !Location
    479Posts

    Glowshop

    Does anyone know how to make a glow shop?

    There are some servers that have this nice little feature, you can click on an npc and select "Glow Shop", and then you can pick what color you want to glow.

    If anyone can help me to understand how to make it, I would apreciate it so much. Thanx.


  2. #2
    [R8]ℓσℓ32 caja is offline
    Grand MasterRank
    Oct 2008 Join Date
    Here!Location
    1,502Posts

    Re: Glowshop

    Its not very difficult. I made something similar editting the glow parts at mover.cpp
    Posted via Mobile Device

  3. #3
    Unity Developer SirTwistedStorm is offline
    Grand MasterRank
    Oct 2008 Join Date
    TexasLocation
    597Posts

    Re: Glowshop

    Quote Originally Posted by caja View Post
    Its not very difficult. I made something similar editting the glow parts at mover.cpp
    Posted via Mobile Device
    Can you say where in mover.cpp to start looking? I've thought of editing the hair color shop to create a glow shop but I haven't found what Glow is called is the src due to the lack of free time IRL.

    EDIT: this maybe?
    Code:
    void CMover::CreateAbilityOption_SetItemSFX( int nAbilityOption )
    Last edited by SirTwistedStorm; 26-10-11 at 04:22 AM.

  4. #4
    Elite Member denenom is offline
    Member +Rank
    Nov 2010 Join Date
    NO!Location
    115Posts

    Re: Glowshop

    This would be really cool to have. Any more hints, anyone?

  5. #5
    [R8]ℓσℓ32 caja is offline
    Grand MasterRank
    Oct 2008 Join Date
    Here!Location
    1,502Posts

    Re: Glowshop

    You can update it into a database, with playerid and numberglow.

    Code:
    sprintf(szQuery,"glow @pPlayerID='%d',@nNumberglow=%d",uidPlayer, nNumberglow);
    then with a switch, select the color. example:

    Code:
    switch(ntype)
    case xxxx:
    if nNumberglow == 1;
    SFX = COLOR;
    break;

  6. #6
    Newbie ankoukiller is offline
    MemberRank
    Oct 2011 Join Date
    19Posts

    Re: Glowshop

    Where i see mover.cpp?



Advertisement