Short: You should extend the existing classes.
The UTWeapon class has a variable like "AttachmentClass" which has to derive from "UTAttachment". Otherwise casting the object would fail. You always have to extend the given classes in order to "extend"/customize content from UT3.
Code:
MyWeaponClass extends UTWeapon;
Code:
FooDamageType extends UTDamageType;
Code:
BarAttachment extends UTAttachement;
Code:
MyAmmo extends UTAmmoPickupFactory;
Code:
SomeProjetile extends UTProjectile;
...
And the fact that every class definition cannont exist twice, you'll have to find a unique name for everything. That's why UnrealTorunament is often using the UT prefix.

Originally Posted by
UTCollector88
combine all the contents (damage type, ammo, basic logic and 3rd person attributes) into one uc file will it still compile
Probably yes, but it won't work correctly as intended. Stick to the UT examples.

Originally Posted by
UTCollector88
create the necessary files the same as if I used the conventional naming system?
Naming classes has nothing to do with the functional purpose of classes in general. Things are split up into several classes to logically split it and to have an opportunity to use a specific effect several times (the main idea of OOP languages - don't reinvent the wheel).
Bookmarks