Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Tutorial - How to include the Enforcer weapon


...

Status: Offline
Posts: 4235
Date:
Tutorial - How to include the Enforcer weapon
Permalink  
 


Hello all,

Why this tutorial you may ask ? Simply because that weapon is not available in the standard weapon list. I did this tutorial since the Enforcer is IMHO a must & should be include in every map as well as all the other weapons.

1) Start the Editor, open your map & the generic browser (which should open by default).

2) Now add a weapon in your map. To do so, go in the generic browser, click on the tab Actor Classes & select NavigationPoint \ PickupFactory \ UTPickupFactory \ UTWeaponPickupFactory & close the generic browser.

de1xy6.jpg

3) Go in your map & by doing a right click, in the contextual menu, select Add UTWeaponPickupFactory at the future location of this new your weapon base.

de2nu7.jpg

4) Once the weapon base as being placed, make sure it is selected, in the Editor menus click on View \ Actor Properties or double-click on it, or simply press F4. Now, we want to choose a weapon, so expand the UTWeaponPickupFactory category (which may be already opened) You can now pick a weapon in the list to the right of WeaponPickupClass and choosing one of the weapon. I choose the 'UTWeap_Stinger’ for my example.

de3aq6.jpg

5) When your done, close the Properties, in the Editor menus go in Tools \ Add Pickup Light & after do a full rebuild by clicking the Build All icon. The new weapon base will have AI item number at this point.

de4uz9.jpg

de5rn8.jpg

6) By going in game, as you can see the Stinger is now available. Now, make sure that the Stinger is selected, in the Editor menus click on Edit \ Copy or simply hit CTRL+C on your keyboard.

de6fk9.jpg

de7jg4.jpg

7) Open Notepad (located in Start menu\Programs\Accessories). In the Notepad menus, click on Edit \ Paste or simply hit CTRL+V on your keyboard.

8) Do a search & search for Stinger. You should find a line with that information :

Quote:
...
WeaponPickupClass=Class'UTGame.UTWeap_Stinger'
...
8a) Replace the word Stinger by Enforcer. When it’s done, select all the text, hit CTRL+A & after CTRL+C and close Notepad.

9) Return to Unreal Editor, the Stinger should be already selected, if not, select it, without clicking anywhere else, delete it & hit CTRL+V to paste the Notepad information exactly at the same spot.

10) Click the Build All icon again. Now, you have the Enforcer in your map, yippie !!!

de8yi3.jpg

If you edit the weapon Properties & check UTWeaponPickupFactory \ WeaponPickupClass, the field is set at ‘None’ since the Enforcer is not taking into account in the weapon base list. It's important to leave the field like that.

Additionally, since patch 2.0, the weapon pickup sound (the sound it does when you pickup the weapon) & also the weapon on screen text (the weapon name which is display when the weapon is taken) are working now.

Now, you have no excuse to not include this cool weapon in your map !


-- Edited by stevelois on Thursday 7th of January 2010 04:26:03 PM

__________________

Stevie's corner
A blog dedicated to UE4, UDK, UT99 / 2004 / III / 4.



...ǝp¡s ɹǝɥʇo ǝɥʇ uo

Status: Offline
Posts: 4290
Date:
Permalink  
 

yeah...no excuse... i find this option top notch since i saw it but i was always too lazy to learn yer tuto....no excuses no more....lol...

__________________


AMD RYZEN 7 1800x@ 4.0ghz-MSI X370 PRO CARBON-MSI RTX2070SuperGamingX Trio-Corsair Vengeance DDR4 16GB-SAMSUNG 850Evo-LOGITECH G19-MSI DS300 & HX1200i-COOLERMASTER HAF Stacker915R/935/915F-Custom Loop



...

Status: Offline
Posts: 4235
Date:
Permalink  
 

Damn...

Your not just a monkey, your a laaaaaazy monkey................... the worst species LOL :p

It's about time you read it damn it, I made it months ago !

__________________

Stevie's corner
A blog dedicated to UE4, UDK, UT99 / 2004 / III / 4.

Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.



Create your own FREE Forum
Report Abuse
Powered by ActiveBoard