WeaponSelectTexture=Texture2D'WEP_UI_MP7_TEX.UI_WeaponSelect_MP7' Return to the weapon def and put define the string with the bold text of the image full name Texture2D' ExampleWeapons.IncendiaryMP7_UI_Tex'.In our case - Texture2D'ExampleWeapons.IncendiaryMP7_UI_Tex'.We will have the the full name of the image so that we can put it in the default properties of the weapon class and weapon definition class. This will do exactly as the name implies.Once the image is saved in the Editor, we want to right click it and select Copy Full Name To Clipboard.C:\Users\\Documents\My Games\KillingFloor2\KFGame\Published\BrewedPC\Packages\ Generally, I find it easier to copy this package over to the published folder as well.Once imported, save the package and put it in C:\Users\\Documents\My Games\KillingFloor2\KFGame\Unpublished\BrewedPC\Packages\.This will prevent the engine from streaming them in and reducing quality.Set the LODGroup to TEXTUREGROUP_UI Figure 4.2.Click Import in the Content Browser Figure 4.2.Next we need to open the Editor to import our icon. If you do not want to make one, just use a program like to turn the black into alpha on the example given here: Figure 4.1 If we want to be able to tell the weapon apart from the base one, we are going to need an icon. InstantHitDamage(ALTFIRE_FIREMODE)=16 //20ĪssociatedPerkClasses(0)=class'KFPerk_Swat'ĪssociatedPerkClasses(1)=class'KFPerk_Firebug' InstantHitDamageTypes(ALTFIRE_FIREMODE)=class'KFDT_Fire_MP7'įireInterval(ALTFIRE_FIREMODE)=+.063 // 950 RPM WeaponProjectiles(ALTFIRE_FIREMODE)=class'KFProj_Bullet_AssaultRifle' WeaponFireTypes(ALTFIRE_FIREMODE)=EWFT_InstantHit InstantHitDamage(DEFAULT_FIREMODE)=16 //20įireModeIconPaths(ALTFIRE_FIREMODE)=Texture2D'ui_firemodes_tex.UI_FireModeSelect_BulletSingle'įiringStatesArray(ALTFIRE_FIREMODE)=WeaponSingleFiring InstantHitDamageTypes(DEFAULT_FIREMODE)=class'KFDT_Fire_MP7'įireInterval(DEFAULT_FIREMODE)=+.063 // 950 RPM WeaponProjectiles(DEFAULT_FIREMODE)=class'KFProj_Bullet_AssaultRifle' WeaponFireTypes(DEFAULT_FIREMODE)=EWFT_InstantHit WeaponSelectTexture=Texture2D'ExampleWeapons.IncendiaryMP7_UI_Tex'įireModeIconPaths(DEFAULT_FIREMODE)=Texture2D'ui_firemodes_tex.UI_FireModeSelect_BulletAuto'įiringStatesArray(DEFAULT_FIREMODE)=WeaponFiring Class KFWeap_SMG_IncendiaryMP7 extends KFWeap_SMG_MP7
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |