(Tutorial) Adding double chaingun (my version)

View previous topic View next topic Go down

(Tutorial) Adding double chaingun (my version)

Post by Officer-M. John (Admin) on Tue Sep 19, 2017 5:19 pm

You played with Project:Weltuntergang mod from Kuki? If yes then you saw double chaingun and for 1st chaingun and 2nd double chaingun you got? Now I show,that how to add with my version.

Adding new weapon:http://wolf3dfanboys.usersboard.com/t61-tutorial-adding-new-ammo-and-use-new-weapon-for-wolf4sdl

But in Attack Info you need add (WL_AGENT.CPP):

Code:

{ {6,0,1},{6,1,2},{6,4,3},{6,1,2},{6,4,3},{6,-1,4} }, // wp_dchaingun

WL_AGENT.CPP:

Code:

        case    bo_chaingun:
            if (gamestate.bestweapon < wp_chaingun)    
           {
            SD_PlaySound (GETGATLINGSND);                        
            facetimes = 38;                        
         GiveWeapon (wp_chaingun);
        
            if(viewsize != 21)
                StatusDrawFace (GOTGATLINGPIC);
            facecount = 0;
         }
         else
         {
            SD_PlaySound (GETGATLINGSND);                        
            facetimes = 38;                        
         GiveWeapon (wp_dchaingun);
                          
            if(viewsize != 21)
                StatusDrawFace (GOTGATLINGPIC);
            facecount = 0;
    }
            break;
avatar
Officer-M. John (Admin)
Admin

Posts : 328
Join date : 2015-10-02
Age : 19

View user profile http://wolf3dfanboys.usersboard.com

Back to top Go down

Re: (Tutorial) Adding double chaingun (my version)

Post by Ferir987 on Sat Sep 23, 2017 3:34 pm

Officer-M. John (Admin) wrote:You played with Project:Weltuntergang mod from Kuki? If yes then you saw double chaingun and for 1st chaingun and 2nd double chaingun you got? Now I show,that how to add with my version.

Adding new weapon:http://wolf3dfanboys.usersboard.com/t61-tutorial-adding-new-ammo-and-use-new-weapon-for-wolf4sdl

But in Attack Info you need add (WL_AGENT.CPP):

Code:

{ {6,0,1},{6,1,2},{6,4,3},{6,1,2},{6,4,3},{6,-1,4} }, // wp_dchaingun

WL_AGENT.CPP:

Code:

        case    bo_chaingun:
            if (gamestate.bestweapon < wp_chaingun)    
           {
            SD_PlaySound (GETGATLINGSND);                        
            facetimes = 38;                        
         GiveWeapon (wp_chaingun);
        
            if(viewsize != 21)
                StatusDrawFace (GOTGATLINGPIC);
            facecount = 0;
         }
         else
         {
            SD_PlaySound (GETGATLINGSND);                        
            facetimes = 38;                        
         GiveWeapon (wp_dchaingun);
                          
            if(viewsize != 21)
                StatusDrawFace (GOTGATLINGPIC);
            facecount = 0;
    }
            break;

Im happy to see you working very hard...
avatar
Ferir987
Cool mod maker
Cool mod maker

Posts : 211
Join date : 2016-04-15
Age : 19
Location : Hungary,Heves Gyöngyös country

View user profile https://jhoni196.blogspot.hu/

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum