Unreal Ed Script
- ~][FGS][Nobody~
- Illuminated
- Posts: 5348
- Joined: 26 Oct 2005, 16:59
- Location: Schland!
But it's a BOMB, it goes in all directions. :S
Nobody is perfect...
-----------------------
~¤¥ÐJ¥¤~ said: THERE IS NO CAKE!
-----------------------
ô¿ô¥[GODZ]¥NOCHANC wrote:I can ban any one I want ANY time I want. You have no rights here.
Magus wrote:Maybe one day I will understand your arcane rituals of voting
chin.democ. wrote:You can use light bulbs that emit light, and when shot, do not.
~ô¿ô~][FGS][Nobody~ said: THERE IS NO SPOON!synthetic wrote:and while every person is interesting in their own unique ways, there is some degree of uniqueness that a doctor can help with.
~¤¥ÐJ¥¤~ said: THERE IS NO CAKE!
- SPAZ ROFELZ
- MOMOMONSTERSPAM
- Posts: 1806
- Joined: 24 Jun 2008, 16:21
- Location: Sky
-
- NoNameRANK
- Posts: 1999
- Joined: 18 Jul 2008, 13:27
- Location: The First Dominion of the Unbeheld
- SPAZ ROFELZ
- MOMOMONSTERSPAM
- Posts: 1806
- Joined: 24 Jun 2008, 16:21
- Location: Sky
-
- NoNameRANK
- Posts: 1999
- Joined: 18 Jul 2008, 13:27
- Location: The First Dominion of the Unbeheld
-
- Posts: 3604
- Joined: 04 Jun 2008, 12:21
- Contact:
I have found the code for the bomb.
Here is:
var projectilegenerator gen;
#exec OBJ LOAD FILE=Effects
var float mpBlastRadius;
var float mpProxRadius;
var float mpLAMDamage;
var float mpFuselength;
simulated function Tick(float deltaTime)
{
local float blinkRate;
Super.Tick(deltaTime);
if (bDisabled)
{
Skin = Texture'BlackMaskTex';
return;
}
// flash faster as the time expires
if (fuseLength - time <= 0.75)
blinkRate = 0.1;
else if (fuseLength - time <= fuseLength * 0.5)
blinkRate = 0.3;
else
blinkRate = 0.5;
if ((Level.NetMode == NM_Standalone) || (Role < ROLE_Authority) || (Level.NetMode == NM_ListenServer))
{
if (Abs((fuseLength - time)) % blinkRate > blinkRate * 0.5)
Skin = Texture'BlackMaskTex';
else
Skin = Texture'LAM3rdTex1';
}
}
simulated function PreBeginPlay()
{
Super.PreBeginPlay();
if ( Level.NetMode != NM_Standalone )
{
blastRadius=mpBlastRadius;
proxRadius=mpProxRadius;
Damage=mpLAMDamage;
fuseLength=mpFuselength;
bIgnoresNanoDefense=True;
}
}
simulated function DrawExplosionEffects(vector HitLocation, vector HitNormal)
{
gen = Spawn(class'ProjectileGenerator',,, HitLocation, Rotator(HitNormal));
if (gen != None)
{
gen.checkTime = 0.05;
gen.frequency = 2;
gen.ejectSpeed = 4096.0;
gen.bRandomEject = True;
gen.ProjectileClass = class'DeusEx.DartPoison';
gen.LifeSpan = 1;
}
}
Here is:
var projectilegenerator gen;
#exec OBJ LOAD FILE=Effects
var float mpBlastRadius;
var float mpProxRadius;
var float mpLAMDamage;
var float mpFuselength;
simulated function Tick(float deltaTime)
{
local float blinkRate;
Super.Tick(deltaTime);
if (bDisabled)
{
Skin = Texture'BlackMaskTex';
return;
}
// flash faster as the time expires
if (fuseLength - time <= 0.75)
blinkRate = 0.1;
else if (fuseLength - time <= fuseLength * 0.5)
blinkRate = 0.3;
else
blinkRate = 0.5;
if ((Level.NetMode == NM_Standalone) || (Role < ROLE_Authority) || (Level.NetMode == NM_ListenServer))
{
if (Abs((fuseLength - time)) % blinkRate > blinkRate * 0.5)
Skin = Texture'BlackMaskTex';
else
Skin = Texture'LAM3rdTex1';
}
}
simulated function PreBeginPlay()
{
Super.PreBeginPlay();
if ( Level.NetMode != NM_Standalone )
{
blastRadius=mpBlastRadius;
proxRadius=mpProxRadius;
Damage=mpLAMDamage;
fuseLength=mpFuselength;
bIgnoresNanoDefense=True;
}
}
simulated function DrawExplosionEffects(vector HitLocation, vector HitNormal)
{
gen = Spawn(class'ProjectileGenerator',,, HitLocation, Rotator(HitNormal));
if (gen != None)
{
gen.checkTime = 0.05;
gen.frequency = 2;
gen.ejectSpeed = 4096.0;
gen.bRandomEject = True;
gen.ProjectileClass = class'DeusEx.DartPoison';
gen.LifeSpan = 1;
}
}
Last edited by Kilian on 01 Oct 2009, 11:49, edited 1 time in total.
-
- NoNameRANK
- Posts: 1999
- Joined: 18 Jul 2008, 13:27
- Location: The First Dominion of the Unbeheld
-
- NoNameRANK
- Posts: 1999
- Joined: 18 Jul 2008, 13:27
- Location: The First Dominion of the Unbeheld
Uh, if it was unprotected, i won't mind, but its up to Nobody to decide.. o_O
And from my opinion, this code wont do anything, that Nobody's bomb does.. o_O
And from my opinion, this code wont do anything, that Nobody's bomb does.. o_O
That Resident Evil Mod
————
————
~][FGS][Nobody~ wrote:DONT SEARCH WORDS ON GOOGLE WITHOUT TINKING
~[FGS]SaSQuATcH~ wrote:you+serious=error
chin.democ. wrote:It's just what you're doing with your right hand that worries me....
- ~][FGS][Nobody~
- Illuminated
- Posts: 5348
- Joined: 26 Oct 2005, 16:59
- Location: Schland!
That code looks like the common explosion delay code for the DeusEx LAM. Nothing special or secret.
Nobody is perfect...
-----------------------
~¤¥ÐJ¥¤~ said: THERE IS NO CAKE!
-----------------------
ô¿ô¥[GODZ]¥NOCHANC wrote:I can ban any one I want ANY time I want. You have no rights here.
Magus wrote:Maybe one day I will understand your arcane rituals of voting
chin.democ. wrote:You can use light bulbs that emit light, and when shot, do not.
~ô¿ô~][FGS][Nobody~ said: THERE IS NO SPOON!synthetic wrote:and while every person is interesting in their own unique ways, there is some degree of uniqueness that a doctor can help with.
~¤¥ÐJ¥¤~ said: THERE IS NO CAKE!