View Full Version : Requirments for Custom Weapon
02-22-2010, 02:23 PM
Hello I have been searching around Youtube.com and Google.com trying to find a video tutorial or just plain tutorial about the requirements for a custom weapon model in the UDK. I have found several tutorials regarding how to import it and implement it but we are trying to create a sword and put it in our game. I haven't had any luck on this subject so if anyone knows what I would need to do it would be much appreciated to have your aid.
02-22-2010, 04:56 PM
the japanese one you can translate with google translator or something else. :D
the other one is english.
I recommend to just add my blog to favorites. I will upload the suggested list trough my progress in udk. So it helps everyone. :D
Btw. the animation is the same.. just do the animation and use the second link.. what you learned trough that to make it "hit" ^^
02-24-2010, 09:33 PM
Thank you for posting a reply it's much appreciated.
02-28-2010, 09:18 PM
Swords aren't any different than "guns", they're all just models. To get them in-game, assuming you've modeled and imported them into the UDK editor:
- Open any UTWeap_*.uc file, go down to default properties, that is where you define for your weapon what model it will use (skeletal mesh). Look at the Begin Object areas, then look at the names of the files they reference, then go find those files in the UDK editor to confirm that you're looking at the section that defines the weapon model.
- In your CustomGameType .uc file (if you don't understand this, go see Hourences or other similar tutorials where they have you create some sort of GameInfo or CustomGame type), you put a line like the following in the defaultproperties:
DefaultInventory = class'YourGame.YourWeaponName'
where YourGame is the name of the package that contains your weapon file (e.g., MyMod.MeleeWeapon if you were using the MyMod directory off of development/src).
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.