News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Coding

Thread Tools Display Modes
Old 12th Jul 2004, 03:03 AM   #1
Toilet Car Xpert
D2k_203's Avatar
Join Date: Jul. 11th, 2004
Location: Californa
Posts: 16
New Statics help.

OK, well I am making a simple mutator that fixes 2 things i want to be changed... lol the 199 health limit to 200 and the 150 shield limit to 200 as well. So far I have this code in the .uc file right now...

class NewStats extends Mutator;

var int StartingHealth, MaximumHealth, SuperMaxHealth;

function ModifyPlayer(Pawn Other)
local xPawn x; //x is a variable
x = xPawn(Other);
if (x != None)
x.Health = StartingHealth;
x.HealthMax = MaximumHealth
x.SuperHealthMax = SuperMaxHealth

FriendlyName="New Stats"
Description="I have fixed a few things here... This mutator Basically fixes the 199 HP cap to 200 and the 150 armor count to 200. lol"
If you see anything wrong here please do tell! I am not entirely sure what the classes for modifying the max shield amount is called... Yes I know there are 2 caps... one at 50 and the other at 150. it would help me greatly if someone can clarify these 2 classes to me!

also. since I am relatively a noobie in coding, can anyone clarify how to add a GUI or a button that allows these changes to be modified in the mutator config menu?

[edit] Nevermind... I have found out the GUI issue on my own... lol However, the name of the "shield" class is still a mystery. I have looked all over too . I am still unable to find the two clases for the shield caps.

Last edited by D2k_203; 12th Jul 2004 at 09:33 PM.
D2k_203 is offline   Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 12:47 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2015, vBulletin Solutions, Inc.

Copyright ©1998 - 2015, BeyondUnreal
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer