Glow SFX bone/part linking problem...

Results 1 to 1 of 1
  1. #1
    Member cffazot is offline
    MemberRank
    Mar 2012 Join Date
    53Posts

    Glow SFX bone/part linking problem...

    ----

    EDIT:
    Fixed it myself. It was in fact a small thing I've missed in the source.
    Close it pls.

    Spoiler:



    ----
    I didn't really know how to title this, but here's what's wrong:

    I just finished making a glow shop of my own (buying and changing enchant glow color/animation), and it works just fine. The only problem I have is when I'm trying to re-use an existing SFX (a skill bullet for example, or a flashing orb or something) as a character glow, it just causes bunch of problems in-game, such as:

    - It doesn't link to a bone/part properly like XI_GEN_ITEM_SETITEM03 or XI_SETIEM_EFFECTHAND does (it all just appears beneath the player's feet)
    - When an item is unequipped/swapped with another +0 equipment, the SFX does not disappear (It doesn't update or something, it just stays there until I re-log)

    I'm pretty certain there's nothing wrong with my glowshop source as this also occurs with the original CreateAbilityOption_SetItemSFX function, when i, for example, change this:
    Code:
    	switch( nAbilityOption )
    	{
    	case 3: dwSfx = XI_GEN_ITEM_SETITEM03; break;
    	case 4: dwSfx = XI_GEN_ITEM_SETITEM04; break;
    	case 5: dwSfx = XI_GEN_ITEM_SETITEM05; break;
    	case 6: dwSfx = XI_GEN_ITEM_SETITEM06; break;
    	case 7: dwSfx = XI_GEN_ITEM_SETITEM07; break;
    	case 8: dwSfx = XI_GEN_ITEM_SETITEM08; break;
    	case 9: dwSfx = XI_GEN_ITEM_SETITEM09; break;
    	case 10: dwSfx = XI_GEN_ITEM_SETITEM10; break;
    	}
    To this:
    Code:
    	switch( nAbilityOption )
    	{
    	case 3: dwSfx = XI_GEN_ITEM_SETITEM03; break;
    	case 4: dwSfx = XI_GEN_ITEM_SETITEM04; break;
    	case 5: dwSfx = XI_GEN_ITEM_SETITEM05; break;
    	case 6: dwSfx = XI_GEN_ITEM_SETITEM06; break;
    	case 7: dwSfx = XI_GEN_ITEM_SETITEM07; break;
    	case 8: dwSfx = XI_GEN_ITEM_SETITEM08; break;
    	case 9: dwSfx = XI_GEN_ITEM_SETITEM09; break;
    	case 10: dwSfx = XI_SKILL_BARUNA_WEA_DEATHRUNE; break;
    	}
    I believe that the problem is the actual SFX file, not the source. But perhaps that's just me.

    Any help, please?
    Last edited by cffazot; 22-04-12 at 01:05 AM. Reason: FIXED




Advertisement