| RuneStorm http://www.runestorm.com/forums/ |
|
| How to make/edit code for weapons http://www.runestorm.com/forums/viewtopic.php?f=69&t=74637 |
Page 1 of 1 |
| Author: | SHAD0Wdump [ Tue Jun 03, 2008 5:04 pm ] |
| Post subject: | How to make/edit code for weapons |
As in how do I access coding screens,is there one in Ued or do I really need something like C++,that kind of thing,or is there a program for editing code that works better?(and preferably free) I normally have a writing attitude,able to spend large amounts of time on writing just about anything shy of poetry.(blegh) |
|
| Author: | OCAdam [ Tue Jun 03, 2008 5:12 pm ] |
| Post subject: | Re: How to make/edit code for weapons |
You can get the UDE, which is standing for the Unreal Development Environment. It's free! |
|
| Author: | SHAD0Wdump [ Tue Jun 03, 2008 5:26 pm ] |
| Post subject: | Re: How to make/edit code for weapons |
Thanks! Now all I have to do is figure out how this thingamajiger works and you'll possibly start seeing stuff from me. Either that or I'll sneak off into some cave,alone,making wonders this world has never seen. |
|
| Author: | OCAdam [ Tue Jun 03, 2008 5:28 pm ] |
| Post subject: | Re: How to make/edit code for weapons |
Coding isn't the world's easiest thing ya know! But if you need help, you ask pretty much everyone here, someone's bound to know what to do! |
|
| Author: | Kaboodles [ Tue Jun 03, 2008 5:52 pm ] |
| Post subject: | Re: How to make/edit code for weapons |
First off, download UDE or WOTgreal (They're pretty much identical). I use WOTgreal when I modify things In order to modify the classes properly and get them to show up in your program of choice, I think you have to export all of the classes from the .u files and put them in a folder called "Classes" in yet another folder named after the package you're extracting them from to your UT2004 folder, where UDE or WOTgreal looks. You end up with a very cluttered UT2004 folder, though. There are 2 ways I know of to do this: - You can do it in UnrealEd in the Actor browser, in File -> Export All scripts. I think this would export all of the classes in all of the packages in your ServerPackages or EditPackages, and put them in the appropriate folder. -Or, you can export packages individually, using command prompt. To do this, you: 1. Open command prompt 2. Change your directory to the UT2004\System folder. The command would be cd C:\UT2004\System or wherever your system folder is. 3. Input the command, which is ucc batchexport classname class classtype and then the location of where you want the classes exported to. For example, ucc batchexport BallisticV21.u class uc C:\UT2004\BallisticV21\Classes would export all of the .uc class files into the UT2004\BallisticV21\Classes folder. 4. The classes should show up in your class browser in UDE or WOTgreal after restarting the program or refreshing the class trees. If you want to change the weapons and stuff, you'll want to duplicate and rename the classes in another package and modify them there. Make sure you to change all of the references to the old classes in your new code so that your changes are actually used and bugs aren't caused. To get them to show up in-game, you have to compile your code. First, you need to add the Ballistic packages to your EditPackages list, and then your package(s) afterwards. Then you compile your classes, and assuming everything works, your new thing should show up in the swap or loadout menus. Good luck! Post here if you have more questions, as you undoubtedly will, as this explanation was very half-assed. |
|
| Author: | OCAdam [ Tue Jun 03, 2008 5:56 pm ] |
| Post subject: | Re: How to make/edit code for weapons |
There's a simpler way to decompile to UC you know Kab. You can alterately go and download the StuffSwapper, which also has a program called the StuffImporter 2, and it has a function in the top menus to "Decompile U to UC" This will create the folder for you and do the command prompt for you also. All you do is choose the .U you want thrown back to .UC! |
|
| Author: | Sergeant Kelly [ Tue Jun 03, 2008 6:10 pm ] |
| Post subject: | Re: How to make/edit code for weapons |
Here's an easy way to compile your code if you don't want to use UED or UDE. Simply download or make a batch file that utilizes UT2004's UCC.exe and add your package and the BW packages to the UT2004.ini class list. http://rapidshare.com/files/119911791/F ... e.zip.html <-- Batch File EditPackages=BCoreV21 EditPackages=BallisticV21 EditPackages=BWBPFour EditPackages=BWBPFourB EditPackages=BWBPTwoV21 EditPackages=BWBPOneV21 EditPackages=BWBPThreeV21 EditPackages=BWBPWhateverV242 <-- Additional Ballistic Subclasses EditPackages=[Insert Your Package Here] <-- Your Package Then all you have to do is double-click the batch file and watch it compile. The results can be viewed in a UCC.log. |
|
| Page 1 of 1 | All times are UTC - 6 hours |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|