• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Code What program do i use to edit and make unrealscripts?

Go into editor, export scripts or use UCC to unpackage a specific file. Open the .uc file and change your values. Make a folder in your Killing Floor dictionary, the folder's name will be your new .u file's name. In that new folder, make another folder called classes. Place your new .uc file in the classes folder. Compile your folder using UCC or UCMake and your new .u file will be in your game's system folder.
 
Upvote 0
weapon damages are all hidden in the editor and can be found via ...\Killingfloor\kfmod
and for example the bullpup's damages are actually not in the weapon or the projectiles them selves. it in the fireing scripts. BullpupFire.uc, BullpupSemiFire.uc
the damages for the zombies and the health of the zombies can be found the same way.


zombie scripts are formed in this method... we'll use the gorefast as an example.
Code:
-KFMonster - this is the very base info and such for all killingfloor beasts

      -ZombieGorefastBase- this holds the damages, health and such base
       properties of the gorefast

              -ZombieGorefast- this one hol the more specific details on how the
               gorfast acts, attacks, etc.

                        -the other child classes are for debugging and should be 
                        ignored unless you want to make your own version of the 
                        gorefast

when making level specific changes to the weapons/monsters it's best to make a child class of the actor. as it should all the properties of the parent classes will be brought down the the child so you may modify em as you wish instead of modifing the parent and screwing over your game. :)

if your editing via notepad then please make sure you have something like this
at the very first line of your script.
Code:
class ZombieFalidellBase extends KFMonster;
if you want it placeable add placeable on the next line so it'll look like this
Code:
class ZombieFalidellBase extends KFMonster
placeable;

it's a very common mistake people make when editing via notepad or something like that. and without the extents line your script will have no parent and thus will have no properties of the parent you wanted to base your actor off of and simply won't work.

also you can place all scriptes and even mutators into Mylevel and they'll work just dandy :)
refer to this :) http://wiki.beyondunreal.com/Legacy:Embedding_Code
 
Last edited:
Upvote 0