• View unanswered postsView active topics

  • Problem with enemy drop other items

    Discuss Wolf3D and Wolf3D modding/ports

    Postby Officer-Michael John 07 Feb 2017, 16:50

    I added so fuction what is in The Lost Relic. The problem, that enemy drop chaingun with key. But in code not configured. :oops:

    Code: Select all
            case bossobj:
                GivePoints (500);
                NewState (ob,&s_bossdie1);
                if (gamestate.episode == 0 && mapon == 17)
                {
                if (gamestate.bestweapon < wp_chaingun)
                    PlaceItemType (bo_chaingun,tilex,tiley);
                else if (gamestate.ammo < bo_clip)                     
                    PlaceItemType (bo_clip,tilex,tiley);
                else   
                PlaceItemType (bo_key4,tilex,tiley); 
                }
                else
                {
              PlaceItemType (bo_chaingun,tilex,tiley);
              }
                break;
    Officer-Michael John
    User avatar

     
    Posts: 112

        

    Postby Chris 11 Feb 2017, 05:48

    So the boss only drops a key if you have a chaingun and more than 12 bullets? Very clever! :wink:
    Chris
    User avatar

     
    Posts: 4
    Location: Canada

        

    Postby linuxwolf 11 Feb 2017, 07:01

    Is it an intended feature? *ROFL*
    linuxwolf
    User avatar

     
    Posts: 4757
    Location: Australia

        

    The following user would like to thank linuxwolf for this post
    Tricob1974

    Postby Officer-Michael John 11 Feb 2017, 20:23

    Mario brothers (Mario Maniac and Mega Luigi) found out this routine. I see in The Lost Relic mod.

    E.G:Flamethrower guard drop for 1st flamethrower,2nd fuel and 3rd fuel and holy cross on level 15.
    Officer-Michael John
    User avatar

     
    Posts: 112

        


    Return to General Wolf3D/modding Discussion and tutorials


    Who is online

    Users browsing this forum: No registered users and 1 guest