Now goto line 444 and add the following MOD flag, we will use this later to determine the means of death and print a relevant message. WP_GRAPPLING_HOOK, WP_FLAME_THROWER, WP_NUM_WEAPONS } weapon_t We will use this flag to indentify with the weapon and it’s state. open bg_public.h and add the following code after line 247. ADDING WEAPON AND AMMO DEFINITIONSįirst we are going to add a new flag for the flame thrower and the means of death (MOD). This is a very large tutorial and requires a number of additions to the cgame,ui and game code, so get yourself a coke and start reading… 1. For this tutorial I will be using the flame thrower from the solidground v2.0 mod. In this Tutorial I will explain how to add a new weapon with new models,shaders,skins and logic into Q3A.
0 Comments
Leave a Reply. |