PDA

View Full Version : The idiot here is having another Mutator Probelm ...



legacy-Grooter
07-19-2003, 08:09 PM
Okay hello again, and thanks for the help on that last thread I made, but the problem with this one, is that I can't get the mutator to appear in the game! I was just testing to see if I could make more than likely the easiest mutator ever, and I did an EXACT copy of the MutQuadJump.uc and pasted it in UT2003 > SixJump > Classes > SixJump.uc

After that, I made the SixJump.int in the System folder, and it complies everything great with 0 errors but it still doesn't show up in the game! Here's the SixJump.uc



//================================================== ===========================
// SixJump - Allows you to jump six times!
//================================================== ===========================
class SixJump extends Mutator;

function ModifyPlayer(Pawn Other)
{
local xPawn x;
x = xPawn(Other);

if(x != None)
{
// Increase the number of times a player can jump in mid air
x.MaxMultiJump = 5;

// Also increase a bit the amount they jump each time
x.MultiJumpBoost = 65;
}

Super.ModifyPlayer(Other);
}

defaultproperties
{
GroupName="Jumping"
FriendlyName="SixJump"
Description="When double & quad jump just isn't enough!"
}


And then here's the SixJump.int



Object=(Class=Class,MetaClass=Engine.Mutator,Name= SixJump.SixJump,Description="When double & quad jump just isn't enough!")


If you can help me get this mutator to show up in the UT2003 mutators list, I'd very much so appreciate it. Thanks again!

legacy-ccherub
07-19-2003, 09:44 PM
in your int...you have SixJump as your package name "and" your class....you should name them different

I am a dummy as well...but i think that is it.


---C

Mysterial
07-19-2003, 10:04 PM
No, it's perfectly valid to have a class name the same as the package name.

It would be a good idea to look in your UT2003.log and look for errors - it will probably tell you what's wrong.

legacy-Grooter
07-19-2003, 11:31 PM
Nope, not a single error at all. It has to be on my part. Anything else I can do?

legacy-yoDon
07-20-2003, 12:15 AM
Try putting the line

[Public]

at the start of your .int file. I'm not sure if it will help, but it might. (Also, Does the mutator show up in the list of available mutators? Were you able to select it?)

-Don

legacy-Grooter
07-20-2003, 12:24 AM
Thanks, will do.

No it's not showing up, that's the whole problem ;).

legacy-Grooter
07-20-2003, 12:29 AM
Well it worked, and you can now jump 6 consecutive times before hitting the ground with my mutator installed! Thanks everyone! It feels good when you finally make your first mutator, doesn't it?

legacy-Vir@s
07-20-2003, 07:40 AM
Originally posted by Grooter
Well it worked, and you can now jump 6 consecutive times before hitting the ground with my mutator installed! Thanks everyone! It feels good when you finally make your first mutator, doesn't it?

Yeah yeah, the first time - oh that is so good - but it gets even better with the time :p ;)

legacy-Doc_EDo
07-20-2003, 09:19 AM
Originally posted by Grooter
Well it worked, and you can now jump 6 consecutive times before hitting the ground with my mutator installed! Thanks everyone! It feels good when you finally make your first mutator, doesn't it?
First one is sweet. :up: :)

legacy-Apocalypse>ION<
07-20-2003, 09:58 AM
Can I ask what the fix for this was. I'm having a similar problem with my mutator.

Basically, everything works OK. The only problem I have is that in the list of Mutators all that comes up (for my mutator) is the word "Mutator".

Adding this to a game and playing does indeed replace the Rl and all RL ammo with my new RL and RL ammo.

But like I said, all it says is Mutator. It doesn't give the proper name and it doesn't give a description either. Below is my INT file, but it doesn't work. I honestly can't see where I'm going wrong?? As I understand it the "name" section of the INT file should be in the format of "foldername.mutatorfile". Well the folder is called HSD and the mutator file is called MutHSDRocketLauncher. /me is confused?
[Public]
Object=(Class=Class,MetaClass=Engine.Mutator,Name= HSD.MutHSDRocketLauncher,Description="Replaces the Rocket Launcher with the HSDRocketLauncher.")

Thanks in advance for any comments or help.

legacy-yoDon
07-20-2003, 11:15 AM
I sure don't see anything wrong in your INT, and it sounds like you're saying that the Mutator is loading when you click on the checkbox, so almost everything must be working. As I read your note, the only thing that isn't working is the description of the mutator.

I'm grasping at straws here, but I've never put a "." in the description of a mutator. The world is full of poorly written parsers, so maybe putting a period in a Mutator description breaks something. It's just a guess.

-Don

legacy-Mychaeel
07-20-2003, 11:46 AM
Have you specified a default for the FriendlyName property in your mutator class?

legacy-Apocalypse>ION<
07-20-2003, 03:55 PM
No I hadn't :(

But no that I have it works, thanks again :)