:( To Whomever,
I got to unzip the *.u file (kchar.u) and have them in separate folders (u file)\classes\*.uc and can edit them with notepad. How can I recompile them back to *.u file? I tried using UCC make but it gives me and error!
http://wiki.beyondunreal.com/Legacy:Compiling_With_UCC
You could also mention what error you got.
:-[ To MiA Raj,
This is the plan. I want to compile the kfchar folder with the classes subfolder back to kfchar.u file! I just want to change a few things with the kfsiren.uc in it. Then I want to "compile" kfchar folder to kfchar.u and paste it back to KFMod20\System folder!
(http://img856.imageshack.us/img856/8977/kfucfilescompile.jpg) (http://img856.imageshack.us/i/kfucfilescompile.jpg/)
If you wanna get complicated, use Wotgreal viewer script extractor. Then rebuild from there.
But simply, if you're customizing a KF version use the KF editor:
Open the ActorClasses siren, right click defaultProperties. Siren info is all there, change what you want.
Next click 'view' (top of the ActorClasses) 'showPackages.' A second window appears at the bottom showing all packages used. Scroll down to KFChar, tick box. Next (again from top of ActorClasses browers open 'File' > 'SaveSelectedPackages.'
Important: ~QUIT the Editor~
Finally - using Explorer or whatever directory viewer - ppen your UT \system folder, (not KF \system) and you'll find a new siren.u. Copy that to your KF \system.
Next time you load KF, siren will be changed. Lot simpler than fycking about with rebuilds :)
:-[ To Snipe34,
Guess what!?! I have WOT greal. But I don't know how to compile a decompiled kfchar.u file. As I said earlier, I was able to unzip the file and have the package in separate folders. I want to make minor changes to the zombies and zip them up again and place them in the System folder!
As the picture below shows, when I open the kfchar.u file, I get an encrypted jumble of kfchar file!
(http://img857.imageshack.us/img857/3971/kfucfilescompile1.jpg) (http://img857.imageshack.us/i/kfucfilescompile1.jpg/)
Quote from: poompoom500 on March 11, 2011, 02:58
:-[ To Snipe34,
Guess what!?! I have WOT greal. But I don't know how to compile a decompiled kfchar.u file. As I said earlier, I was able to unzip the file and have the package in separate folders. I want to make minor changes to the zombies and zip them up again and place them in the System folder!
Yep. So re-read my instructions. Sorry not siren.u = new KFChar.u will be created.
:-[ To Snipe34,
I can't find the ActorClasses Siren!
(http://img859.imageshack.us/img859/3237/kfucfilescompile2.jpg) (http://img859.imageshack.us/i/kfucfilescompile2.jpg/)
pawn > monster > Skaarj > KFMonster > Siren etc etc.
Pawns include players/monsters/vehicles like a chessboard pawns are the participating players.
Have fun!
:-[ To Snipe34,
Quotepawn > monster > Skaarj > KFMonster > Siren etc etc.
Got it! Thank you.
(http://img857.imageshack.us/img857/8158/kfkfcharfile.jpg) (http://img857.imageshack.us/i/kfkfcharfile.jpg/)
P.S.
I have one more question. I have to go back to the recompile problem. I manage to unzip (decompile) the kfchar.u file into a kfchar folder with classes subfolder where I can access and change zombie settings. Any way for me to recompile and compress the kfchar\classes folder so I can copy/paste it to the System directory!?!?
(http://img846.imageshack.us/img846/6646/kfucfilescompile3.jpg) (http://img846.imageshack.us/i/kfucfilescompile3.jpg/)
Quote from: poompoom500 on March 11, 2011, 13:01
:-[ To Snipe34,
P.S.
I have one more question. I have to go back to the recompile problem. I manage to unzip (decompile) the kfchar.u file into a kfchar folder with classes subfolder where I can access and change zombie settings. Any way for me to recompile and compress the kfchar\classes folder so I can copy/paste it to the System directory!?!?
My recompile knowledge is limited to 1 .uc compile at a time.
But you don't need to recompile if you're only making minor changes zombies options. I mean, you're not changing any code. All you're doing is changing monster parameters. EG you're changing siren scream: 800 to some other number.
Changing / rewriting code is entirely different. Recompile is only necessary if you rewrite code.
So, to change monster parameters:
Open the ActorClasses siren, right click defaultProperties. Siren info is all there, change what you want.
[DO NOT double click and open the code which has the blue screen backing - because you are not changing the code - you are only changing monster parameters]
Next click 'view' (top of the ActorClasses) 'showPackages.' A second window appears at the bottom showing all packages used. Scroll down to KFChar, tick the box. Next (again from top of ActorClasses browers open 'File' > 'SaveSelectedPackages.'
Important: ~QUIT the Editor~
Finally - using Explorer or whatever directory viewer - ppen your UT \system folder, (not KF \system) and you'll find a new KFChar.u. Copy that to your KF \system.
Give it another try :)