-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathut-utils.txt
136 lines (83 loc) · 2.58 KB
/
ut-utils.txt
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
https://www.gamefaqs.com/pc/191945-unreal-tournament-1999/cheats
https://github.com/Slipyx/UT99/blob/a26a3359704873df5a24d0b241a32ca5fc36a8b7/Botpack/ut_biorifle.uc
https://wiki.beyondunreal.com/Legacy:Writing_And_Using_An_Embedded_Mutator#Putting_It_All_Together
https://wiki.beyondunreal.com/Legacy:CheckReplacement
https://wiki.beyondunreal.com/Legacy:Mutator_(UT)
https://github.com/CacoFFF/LCWeapons-UT99/blob/13beef1d37609675df0c57287df3430a52076957/classes/LCMutator.uc
https://ut99.org/viewtopic.php?f=15&t=6763
set enforcer FireOffset (Y=-10.000000,Z=-4.000000)
set enforcer Rotation (Yaw=0,Pitch=0,Roll=0)
set Botpack.enforcer Rotation (Yaw=0,Pitch=0,Roll=0)
set Botpack.ut_biorifle FireOffset (X=0,Y=0,Z=0)
set Botpack.ut_biorifle PlayerViewOffset (X=100,Y=0,Z=0)
//=============================================================================
// example got from a "WoD Quad-ShotGun."
// http://wayback.archive.org/web/20010906213826/http://planetunreal.com:80/wod/tutorials/upgradables.html
//=============================================================================
https://github.com/Slipyx/UT99/blob/a26a3359704873df5a24d0b241a32ca5fc36a8b7/Botpack/DMMutator.uc
if ( Other.IsA('Weapon') )
{
if ( Other.IsA('TournamentWeapon') )
return true;
log("Found "$Other$" at "$Other.location);
//Assert(false);
if ( Other.IsA('Stinger') )
{
ReplaceWith(Other, "Botpack.PulseGun");
return false;
}
if ( Other.IsA('Rifle') )
{
ReplaceWith( Other, "Botpack.SniperRifle" );
return false;
}
if ( Other.IsA('Razorjack') )
{
ReplaceWith( Other, "Botpack.Ripper" );
return false;
}
if ( Other.IsA('Minigun') )
{
ReplaceWith( Other, "Botpack.Minigun2" );
return false;
}
if ( Other.IsA('AutoMag') )
{
ReplaceWith( Other, "Botpack.Enforcer" );
return false;
}
if ( Other.IsA('Eightball') )
{
ReplaceWith( Other, "Botpack.UT_Eightball" );
return false;
}
if ( Other.IsA('FlakCannon') )
{
ReplaceWith( Other, "Botpack.UT_FlakCannon" );
return false;
}
if ( Other.IsA('ASMD') )
{
ReplaceWith( Other, "Botpack.ShockRifle" );
return false;
}
if ( Other.IsA('GesBioRifle') )
{
ReplaceWith( Other, "Botpack.UT_BioRifle" );
return false;
}
if ( Other.IsA('DispersionPistol') )
{
ReplaceWith( Other, "Botpack.ImpactHammer");
return false;
}
bSuperRelevant = 0;
return true;
}
function bool CheckReplacement(Actor Other, out byte bSuperRelevant)
{
if ( Other.IsA('WarHeadLauncher') )
return false;
LocalPlayer.ClientMessage("tem qq coisa");
return true;
}