Knuckles Life Icon won't load...

Discussion in 'Discussion and Q&A Archive' started by c1owd, Mar 15, 2010.

Thread Status:
Not open for further replies.
  1. c1owd

    c1owd Previously 'CarrascoZX0' Member

    Joined:
    Dec 13, 2008
    Messages:
    364
    Yea well, title says it all...


    You see, I put it so that when you play Knuckles then he loads his own icons, monitors, signpost, etc. Anyway everything loads properly when I press start with Knuckles on the title screen... Except, his life icon...


    But, when I go to the level select and go to any level with Knuckles... Once again, everything load properly... EVEN his LIFE ICON!!! :p


    Anyway, I'm really confused right now... I've tried to fix this many times but I just can't do it... For example, I tried fiddling with the LoadPLC: and LoadPLC2:.


    And I still couldn't get it load when you play with Knuckles (without Level Select of course =P).


    So, I need help guys... If anyone has a clue on how to fix this, please help me. I'm really clueless right now...


    Thanks
     
    Last edited by a moderator: Mar 15, 2010
  2. MarkeyJester

    MarkeyJester ♡ ! Member

    Joined:
    Jun 27, 2009
    Messages:
    2,867
    The hud/extra life patterns are loaded at the titlescreen, which means if you are to select a different character that uses different hud art after the titlescreen data has loaded, then it will not change because it does not get reloaded again. The best way to go about this is to move to PLC load for the hud from the titlescreen startup to the level startup, however this can be tricky as when the PLCs are busy with art already being loaded, you don't wanna go interfering with it. to fix for your use, the best way would be...


    Title_ClrObjRam2:


    On that routine you'll notice:


    moveq #0,d0


    bsr.w LoadPLC2


    Cut them two commands from there (Removing them), and then goto


    Level_TtlCard:


    Paste those two commands right above this command


    jsr Hud_Base


    It's the perfect place for the that specific art to be loaded.
     
  3. c1owd

    c1owd Previously 'CarrascoZX0' Member

    Joined:
    Dec 13, 2008
    Messages:
    364
    Again, thanks so much Markey! The icon loads properly now... But:


    [​IMG][​IMG]


    And, don't say I did anything wrong dude. I did everything you told me here and on MSN. =P lol!
     
  4. Animemaster

    Animemaster Lets get to work! Member

    Joined:
    Mar 20, 2009
    Messages:
    1,229
    Location:
    UK
    Whats up with the monitors? Also I have this problem with the lampost, I tried comparing artloadcues in loadplc and loadplc2 but it doesn't work.
     
    Last edited by a moderator: Mar 15, 2010
  5. c1owd

    c1owd Previously 'CarrascoZX0' Member

    Joined:
    Dec 13, 2008
    Messages:
    364
    What do you mean? There the Debug monitors... You know? Monitors that enable debug mode, obviously. =P


    Or is it the art? =/


    Sorry, getting off topic here... ^^'
     
    Last edited by a moderator: Mar 15, 2010
  6. Animemaster

    Animemaster Lets get to work! Member

    Joined:
    Mar 20, 2009
    Messages:
    1,229
    Location:
    UK
    Ok... I was refering to the red numbers that you get in tile errors, like in sonmaped... didn't know it was a debug mointor, I thought it was the goggles monitor that had debug.
     
    Last edited by a moderator: Mar 15, 2010
  7. MarkeyJester

    MarkeyJester ♡ ! Member

    Joined:
    Jun 27, 2009
    Messages:
    2,867
    *Sigh*


    Simply change..



    moveq #0,d0
    bsr.w LoadPLC2


    jsr Hud_Base



    ..from that, to this..



    moveq #$00,d0
    bsr.w LoadPLC2


    Level_LiveHud:


    move.b #$C,($FFFFF62A).w ; set VBlank routines to run


    bsr.w DelayProgram ; run VBlank


    bsr.w RunPLC_RAM ; decompress and dump Art


    tst.l ($FFFFF680).w ; are there any items in the pattern load cue?


    bne.s Level_LiveHud ; if so, branch to loop


    jsr Hud_Base ; load the uncompressed patterns over the hud art in VRam



    ..happy now smartarse? =P (I commented this because most people will just copy/paste it without bothering to understand what it does).
     
  8. Animemaster

    Animemaster Lets get to work! Member

    Joined:
    Mar 20, 2009
    Messages:
    1,229
    Location:
    UK
    Thats wasn't for me was it.
     
  9. c1owd

    c1owd Previously 'CarrascoZX0' Member

    Joined:
    Dec 13, 2008
    Messages:
    364
    Son of a bitch, I forgot about the Vblank!


    That's what I was missing when I tried to fix it.


    My bad... :p


    But anyway, thank you very much MarkeyJester.


    Now, for this point system thingy on SSRG. I have no idea how this questions point system works or how to give points and I see no reason to do so.


    I mean what's the point? It's not like you win a chaos emerald for getting 50 points or some shit like that. lol!


    But still, if you want the points then tell me how to give points or tell Qjimbo or something...


    But anyway thanks. I hoped now you fixed Manic's life icon on S1BroTro... :p
     
    Last edited by a moderator: Mar 15, 2010
  10. Qjimbo

    Qjimbo Well-Known Member Member

    Joined:
    Feb 27, 2008
    Messages:
    850
    Location:
    Vancouver, BC
    Whats the point in points? You have a point.


    *drums*


    But in all seriousness the points system is a nice way of knowing who contributes a lot, however it's not possible (yet) to use IPB to edit and add points to a non-question topic. Perhaps that is something I will work on soon (alongside giving/receiving points in the Basic Q&A thread).
     
  11. Dark Lips

    Dark Lips Well-Known Member Member

    Joined:
    Nov 14, 2008
    Messages:
    293
    Location:
    Wolverhampton UK
    while we are on the subject of vblank... are there any rules to how and when it should be called/used?
     
  12. MarkeyJester

    MarkeyJester ♡ ! Member

    Joined:
    Jun 27, 2009
    Messages:
    2,867
    I think a discussion about VBlank should be left for another topic, because it's one of those "Long time to explain" topics me thinks.
     
Thread Status:
Not open for further replies.