View previous topic :: View next topic |
Author |
Message |
9svn6
Joined: 30 Jun 2007 Posts: 12 Location: Brockport, NY
|
Posted: Sat Jun 30, 2007 7:01 am Post subject: Amplifier not working correctly? |
|
|
Ok I tried this on Anarchy's Forum and couldn't get it fixed so I'm going to try here. Basically I'm compiling a server package for my items and I need an everlasting amplifier and I can't seem to get it to work correctly. It wont work unless I pickup the gun first and also doesn't work after map changes. I'm doing everything in script default properties so I'm not sure about code.
What I have is:
class nAmp expands Amplifier;
defaultproperties
{
PickupMessage="You got the Energy Amplifier"
Charge=99999
ItemName="Amplifier"
}
Thank You,
9vn6 |
|
Back to top |
|
|
9svn6
Joined: 30 Jun 2007 Posts: 12 Location: Brockport, NY
|
Posted: Sun Jul 01, 2007 1:05 am Post subject: |
|
|
Anyone got a clue? |
|
Back to top |
|
|
Neo_b
Joined: 01 Jun 2007 Posts: 25
|
Posted: Sun Jul 01, 2007 12:49 pm Post subject: |
|
|
I think it works only for UT and higher versions. If you want to change its properties, change it normally. It should work then. Just change default properties by clicking right click at the object. _________________ Neo_b - http://neo_b.go.pl |
|
Back to top |
|
|
ShadowHunter Guest
|
Posted: Sun Jul 01, 2007 4:00 pm Post subject: |
|
|
Whell, usually when I trying to make everlastiong item, I using this Function:
var float LastRecharge;
var() float CSpeed; //Charging speed
simulated function Tick(float DeltaTime)
{
if ( Level.TimeSeconds - LastRecharge < CSpeed)
return;
LastRecharge = Level.TimeSeconds;
if ( Charge < 999999999 )
Charge += 999999999;
if ( Charge > 999999999 )
Charge = 999999999;
}
But...This thing not works in all situations. |
|
Back to top |
|
|
9svn6
Joined: 30 Jun 2007 Posts: 12 Location: Brockport, NY
|
Posted: Sun Jul 01, 2007 8:56 pm Post subject: |
|
|
oh I got it to work last night thanks for the help anyways tho. |
|
Back to top |
|
|
|