Register
Topics without answer
Topic Replies Last Post
Who's Online
9 user(s) are online (2 user(s) are browsing User Profile)

Members: 0
Guests: 9

more...
[WPC] Wolf Pack Clan Forum Index
   Killing floor
     Unreal Tournament 4 Weapons convert for KF [help]
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
john_eddy07
Posted on: 2011/5/4 15:15
[WPC] Wolf
Joined: 2011/4/10
From: Makati, Philippines
Posts: 136
Unreal Tournament 4 Weapons convert for KF [help]
Ok I need some help on how to port weapons from UT4 to killing floor use. I saw a server that has MRS138 and AVRiL from UT4. It is very much possible to port it. Now how? Any suggestions? programs? Ideas? I will share and upload to the Killing Floor Community the weapons that I can port with credits from the modders who made them from UT4. Please help
Hemi
Posted on: 2011/5/5 7:02
Wise Wolf
Joined: 2010/2/4
From: The Netherlands
Posts: 4501
Re: Unreal Tournament 4 Weapons convert for KF [help]
oh my..I dont really know were to begin....

if your releasing the package, and gotten that far. Make folders with all the stuff in it :

Textures
System
StaticMeshes
Animations

zip it and yer done.

If you mean you want to compile the package, that needs a bit more explenation


----------------

Hemi
Posted on: 2011/5/5 7:58
Wise Wolf
Joined: 2010/2/4
From: The Netherlands
Posts: 4501
Re: Unreal Tournament 4 Weapons convert for KF [help]
Ok lets talk basics then :


1] Install the Killing Floor SDK. This will add lots of files including the folder KFMod, which can be very handy at times.

2] Make a dir on your e.g. desktop with the name of your gun.

3] Make 3 folders in that folder

Media
Release
Source

In Media youll put all the 3ds max files and other workfiles. In release youll copy the working files for the clients, and in source we will do the coding.

4] Install 3ds max

5] Install Unreal Actor X for 3ds Max

6] Install an import program/script in 3ds max to import your unreal gun. Like : http://www.gildor.org/projects/unactorx With this program you can import psa/psk's

7] Extract the psa / psk's from your unreal gun (no idea how to do that, I either start from scratch or use one of my modding resources to extract the files from the engine)

8] Right, now open the 9mm : C:\Program Files (x86)\Steam\steamapps\common\killingfloor\Rigs\Weapons\Dual_9mm in 3ds max.

7] Replace the 9mm with your gun and start creating all the animations. Save them in your folder called "media"

8] Export the standard version of the gun with the hands as a psk with Actor X

9] Now export all the individual animations in 1 psa with Actor X. Use the sdk to see the references to the animations and the names. Dont forget to click "all textured" since the guns dont work with bones.

10] After creating the psa and psk we enter the domain of the SDK. Import the animations(psa) and mesh (psk) and start creating a animations package. Its really hardcore stuff so I suggest tutorials tutorials tutorials tutorials

11] The coding is actually the easy part. Just make sure you have the folder "Classes" in your "Source" folder with all the .uc files.

Create a .bat file within your source folder with the following :

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

@echo off
set PkgName=MutNameOfGun
set KFPath=C:\Program Files (x86)\Steam\steamapps\common\killingfloor\

:: Remove any existing scripts from the package directory
del "%KFPath%%PkgName%\*.uc" /S /Q

:: Remove compiled package file (.u)
if exist "%KFPath%System\%PkgName%.u" del "%KFPath%System\%PkgName%.u" /Q

:: Copy scripts to package directory
XCOPY "Classes\*.uc" "%KFPath%%PkgName%\Classes" /D /E /C /R /I /K /Y

:: Compile
"%KFPath%System\UCC.exe" make
if errorlevel 1 goto FailedCompile

:: Delete steam_appid file (file causes networking problems)
if exist "%KFPath%System\steam_appid.txt" del "%KFPath%System\steam_appid.txt" /Q

:: Compile complete, exit batch file
ECHO 
exit

:: Compile failed, let user see error before exiting
:FailedCompile
pause

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Make sure you have a .uc file with the mutator in the "Classes" folder with the following code :

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

class MutNameOfGun extends Mutator;

function ModifyPlayer(Pawn Player)
{
Super.ModifyPlayer(Player);
Player.GiveWeapon("MutNameOfGun.NameOfGun);
}

defaultproperties
{
GroupName="KF-NameOfGun"
bAddToServerPackages=True
FriendlyName="NameOfGun Mutator"
Description="Adds the NameOfGun."
}

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Compile and correct the errors youll prob get.

This is the short version...In reality it takes allot of time if you never done this before. But once you did it, youll be pooping guns before you know it. lol

Hope this help!


----------------

john_eddy07
Posted on: 2011/5/5 11:09
[WPC] Wolf
Joined: 2011/4/10
From: Makati, Philippines
Posts: 136
Re: Unreal Tournament 4 Weapons convert for KF [help]
OK thanks for the help mate. I've already started with the converting of weapons. I'll update you in this thread when I have a problem. If this works I'll release the first beta and it would be the MRS138 shotgun exclusive for wolf pack members :D
john_eddy07
Posted on: 2011/5/5 11:37
[WPC] Wolf
Joined: 2011/4/10
From: Makati, Philippines
Posts: 136
Re: Unreal Tournament 4 Weapons convert for KF [help]
Can you suggest another program than 3DS Max? Its like 5Gb and it would take me a week to download it xD
Hemi
Posted on: 2011/5/5 11:44
Wise Wolf
Joined: 2010/2/4
From: The Netherlands
Posts: 4501
Re: Unreal Tournament 4 Weapons convert for KF [help]
I can...but the 3ds max files in the folder "Rigs" are really handy. Blender is appearantly also a program thats used allot, though I dont know if you can open the rig files with that. That and Blender doesnt give you enough flexibility in my opinion.


----------------

john_eddy07
Posted on: 2011/5/5 12:55
[WPC] Wolf
Joined: 2011/4/10
From: Makati, Philippines
Posts: 136
Re: Unreal Tournament 4 Weapons convert for KF [help]
Ok I'm downloading blender now to see if it works. Anymore programs that can be as an alternative for 3DS Max?
Hemi
Posted on: 2011/5/5 20:05
Wise Wolf
Joined: 2010/2/4
From: The Netherlands
Posts: 4501
Re: Unreal Tournament 4 Weapons convert for KF [help]
Rhino is one too...but tbh...I wouldnt thouch these programs with a stick. 3DS max is an industry standard.


----------------

john_eddy07
Posted on: 2011/5/5 21:43
[WPC] Wolf
Joined: 2011/4/10
From: Makati, Philippines
Posts: 136
Re: Unreal Tournament 4 Weapons convert for KF [help]
I cant understand a thing about Blender program, I'll try rhino and see if I can look for any unreal actor x there on google. I really have no idea on how to get the PSK and PSA files of the unreal weapon I have right now. I'm trying my best all day and night to get the PSK and PSA. I'll let you know If I get pass through PSK and PSA stage xD
john_eddy07
Posted on: 2011/5/5 22:40
[WPC] Wolf
Joined: 2011/4/10
From: Makati, Philippines
Posts: 136
Re: Unreal Tournament 4 Weapons convert for KF [help]
Oh yeah I almost forgot to tell you, the files that I downloaded are already in utx, uax, u, ucl, ukx, usx files. There's no INT, PSX or PSA to be found.
(1) 2 3 »
Threaded | Newest First Previous Topic | Next Topic |

Register To Post
 
[WPC] Discussions
Forum Topic Replies Views Last Post
[PUBLIC] The Trashcan Paste your face!    [1][2][3]..................[85] 842 155435 2013/5/25 11:27 Whisky
[PUBLIC] Games Xbox One Reveal    [1][2][3][4] 37 781 2013/5/25 10:01 Hemi
EVE EVE Online, TV + Comics 1 42 2013/5/25 3:04 theblade009
EVE The battle for 1-SMEB 1 43 2013/5/25 3:03 theblade009
[PUBLIC] General Chit Chat What if doom was made today 1 43 2013/5/25 2:01 Buzz
[PUBLIC] Games Dungeons & Dragons: Neverwinter    [1][2][3] 28 1949 2013/5/24 13:10 Morj
[PUBLIC] General Chit Chat FartRage 4 109 2013/5/24 1:05 InfernalSlayer
[PUBLIC] Music Now Playing    [1][2][3]...............[9] 80 14985 2013/5/23 17:08 Cherry
[PUBLIC] General Chit Chat Final Fantasy Versus XIII + RED 3 235 2013/5/22 19:33 Ninjacx
[PUBLIC] Games Steam Trading Cards    [1][2] 10 623 2013/5/22 18:11 Alpha_Cephei
[PUBLIC] Website Polls    [1][2][3] 28 6327 2013/5/20 15:15 Cherry
[PUBLIC] Applications & Recruitment My Application    [1][2] 14 756 2013/5/20 4:13 MatriarchKiri
Killing floor Killing Floor Update - 14/05/2013 9 480 2013/5/18 14:24 Hemi
PlanetSide 2 Planetside 2 fun stuff 0 122 2013/5/18 1:17 Xenomorph
[PUBLIC] Games anyone up for gears2&3? or army of two 40th day? 1 207 2013/5/16 19:57 Ninjacx
[PUBLIC] Games TeamSpeak - NO MIC REQUIRED    [1][2][3] 20 11925 2013/5/16 19:10 Cherry
[PUBLIC] Games RIFT: Free To Play 1 236 2013/5/15 17:36 Hicks
[PUBLIC] Technical Questions trying to run black ops 2 on my pc, but says error 3 265 2013/5/14 8:39 Hemi
[PUBLIC] Games You thought Disney was bad? :P 8 583 2013/5/13 23:30 Vengeance
Minecraft [OFFICIAL] Minecraft Server Info Thread    [1][2] 16 6913 2013/5/13 0:26 Whisky