Forum

> > Off Topic > Unreal Scripting: Umake never ends compiling
Forums overviewOff Topic overviewLog in to reply

English Unreal Scripting: Umake never ends compiling

7 replies
To the start Previous 1 Next To the start

old Unreal Scripting: Umake never ends compiling

J4x
User Off Offline

Quote
Hello guys, I just started to learn unreal scripting, made my first mutator and started to compile it but is never ends...
Here the code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class Modify extends Modify;

Function PostBeginPlay()
{

class.'SingleFire'.default.DamageMax = "100";
class'SingleAmmo'.default.InitialAmount = 160;
class'Single'.default.bKFNeverThrow = false;

}

defaultproperties
{

Groupname="KFHandgunMutator"
FriendlyName="Handgun Mutator"

}

The umake compiler looks like this
Spoiler >


- Thanks for helping

old Re: Unreal Scripting: Umake never ends compiling

J4x
User Off Offline

Quote
Thanks, It helped me a lot.
EDIT: Can someone else help me? I get another problem, each time I try to modify the m14 the mutator modify the handgun
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
class M14EBRBattleRifle extends mutator;

Function PostBeginPlay()
{

class'Single'.default.ItemName = "M14EBRBattleRifle";

class'SinglePickup'.default.Itemname = "M14EBR";

class'SinglePickup'.default.ItemShortName = "M14EBR";

class'SingleFire'.default.DamageMax = 75;

class'SingleAmmo'.default.InitialAmount = 180;

class'SingleAmmo'.default.MaxAmmo = 200;

class'Single'.default.ZoomedDisplayFOV = 30.0;

class'Single'.default.PlayerIronSightFOV = 35.0;

}

defaultproperties
Groupname="KFMutatorM14"
FriendlyName="Mutator M14"


{
edited 1×, last 13.05.12 05:11:36 am

old Re: Unreal Scripting: Umake never ends compiling

J4x
User Off Offline

Quote
I asked there, but moderators have to see your thread so it becomoes valid, i posted it yesterday and still nothing, so thats why asked here... btw i think I've found the solution.
To the start Previous 1 Next To the start
Log in to replyOff Topic overviewForums overview