Act 3/4 Boss Help...

Discussion in 'Discussion and Q&A Archive' started by c1owd, Mar 6, 2009.

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

    c1owd Previously 'CarrascoZX0' Member

    Joined:
    Dec 13, 2008
    Messages:
    364
    I added a Forgotten Isle Act 4 but the problem is that the boss is in Act 4 and I want it for Act 3... So, my question is... How can I make the boss show up on Act 3 and not Act 4. Also look:


    Ending of Act 3...


    [​IMG]


    [​IMG]


    [​IMG]


    And look at my Boss! xD


    [​IMG]


    Please, help me fix this too...
     
    Last edited by a moderator: Mar 6, 2009
  2. Hanoch

    Hanoch Well-Known Member Member

    Joined:
    Aug 3, 2008
    Messages:
    312
    Location:
    Israel
    I think you mean that you want a boss for act 4 instead of 3 dont you? Look at Resize_Ghz3Boss bopy that to Resize_ghz4 and rename it. Now you'll have to edit the boss code (obj3d) So you can edit the x and y positions (the x postition is stored at $30(ax) for the bosses and the y position is at $38(ax). And to make the screen lock, you will see in the resize_ghz4boss routine:



    Code:
    addq.b  #$2,($FFFFF742).w

    That line adds 1 to the routine counter of resize_ghz4 now because the routine doesn't handle routine counters, you will have to add one yourself.
     
  3. c1owd

    c1owd Previously 'CarrascoZX0' Member

    Joined:
    Dec 13, 2008
    Messages:
    364
    No... I wanted the Boss for Act 3 xD... Please, How can I do it so the Boss appears on Act 3? and not on Act 4...
     
    Last edited by a moderator: Mar 6, 2009
  4. c1owd

    c1owd Previously 'CarrascoZX0' Member

    Joined:
    Dec 13, 2008
    Messages:
    364
    Wait I fixed it! Well someone helped me... Anyway please Trash...
     
  5. Qjimbo

    Qjimbo Well-Known Member Member

    Joined:
    Feb 27, 2008
    Messages:
    850
    Location:
    Vancouver, BC
    Perhaps you could enlighten us as to how you fixed it?
     
  6. EMK-20218

    EMK-20218 The Fuss Maker Exiled

    Joined:
    Aug 8, 2008
    Messages:
    1,067
    Location:
    Jardim Capelinha, São Paulo
    He don't needs a resize_ghz4... if yes, he certainly will got branch adress. Then is just simply...


    (Carrasco, i've said it for you days ago in MSN, but you have not seen the attention eh?)


    Man... you can just use the resize_ghz2 (or that act 1 one) changing the pointer index from it to point for the act 3 and adding another putting resize_ghz3 to point for the act 4... just adding the value at the resize's pointer index renaming it. It's very easy... So easy, that I don't need to give you steps on how to make it. I think i've explained as simple as possible.
     
  7. c1owd

    c1owd Previously 'CarrascoZX0' Member

    Joined:
    Dec 13, 2008
    Messages:
    364
    Uh... I fixed it already... I did this already... I figured it out... Just someone helped me with the camera problems... Thats it... But thanks anyway...
     
    Last edited by a moderator: Mar 7, 2009
  8. Hanoch

    Hanoch Well-Known Member Member

    Joined:
    Aug 3, 2008
    Messages:
    312
    Location:
    Israel
    Camera problems are easy. First of all there is a line in resize_ghz3 that checks for the flag in Ram address($FFFFF700) that is the camera x position. Enable debug mode and go to the game in act 3. Look at the HUD and you will see numbers and if you move they will change. If I remember correctly, the first line is sonic's x position and y position and the second line is the camera x and y positions. There are 8 digits in each line. 4 for the x position and 4 for the y position. Just check the camera x position you need and change the line in resize_ghz3 to check for the boss. Now, you will still need to edit the boss code because he has special checks for the x and y positions. Just change these checks to the positions you need and your boss will load perfectly. If not, contact me in the MSN and I will help you.
     
Thread Status:
Not open for further replies.