Hi all, have been trying to subclass a couple of the NW3 weapons for playing over a lan connection (as I have done in the past with the standard weapons) but keep getting an error message when I attempt to compile the package with umake.
Heres what I’m doing-
Open editor
Select actor browser/file/open package and open NWVulcanVIII.u
Right click Vulcan within the actor browser and select new then name as-
parent – Vulcan
package - my package
name - my Vulcan
click ok and in the class,mypackage.myvulcan window and click export all scripts
open the vulcan.uc file with notepad++portable and copy the default properties then open the myvulcan.uc file and paste the data changing only the pickup ammo count then saving the file.
Now when I drag the mypackage folder to umake I get the following message-
Superclass Vulcan of class MyVulcan not found.
The compiler wasn't able to find the specified superclass Vulcan of your class.
If it's not a typo make sure the package containing the superclass is listed in your projects dependencies.
What am I missing here?
Can't seem to subclass NW3 weapons
-
- Masterful
- Posts: 542
- Joined: Tue Jan 22, 2013 5:23 pm
- Personal rank: Nullified!
- Location: (X) Unable To Locate....
Re: Can't seem to subclass NW3 weapons
NWVulcanVIII.u is dependent on NWCoreVIII.u
Open your UT.ini and search for something called EditPackages.
Then add these lines:
Then it should compile properly.
Open your UT.ini and search for something called EditPackages.
Then add these lines:
Code: Select all
EditPackages=NWCoreVIII
EditPackages=NWVulcanVIII
- sektor2111
- Godlike
- Posts: 6410
- Joined: Sun May 09, 2010 6:15 pm
- Location: On the roof.
Re: Can't seem to subclass NW3 weapons
If I'm looking well you were saying something about UMAKE.
Inspect "dependencies" at "options" button when your mod seems ready to compile. You need to load all "parent" classes else compiling will not work.
Inspect "dependencies" at "options" button when your mod seems ready to compile. You need to load all "parent" classes else compiling will not work.
[attachment=0]ModCompiling.JPG[/attachment]
then[attachment=1]Dependencies.JPG[/attachment]
Browse/Load all NWIII classes according to source-code. This is child of that, and that is child of the rest. All these packages parent-child have to be loaded.- Attachments
-
- ModCompiling.JPG (21.15 KiB) Viewed 768 times
-
- Dependencies.JPG (27.09 KiB) Viewed 768 times
-
- Novice
- Posts: 6
- Joined: Mon Nov 23, 2015 2:14 am
Re: Can't seem to subclass NW3 weapons
Thanks sektor, that's awesome. Figured it would be something pretty simple. Thanks for taking the time to explain it to me.