Page 1 of 1

Deus Ex Jetpack

PostPosted: Mon Feb 27, 12 9:07 pm
by evilfish
I've been messing around with the bowen mods bean script to make a duke nukem style jetpack only problem is when i drop it out of my inventory a couple seconds later it vanishes!
Is there a setting in unrealed anyone knows of that controls how long items stay in the game world?

PostPosted: Mon Feb 27, 12 9:26 pm
by Kalman11
In Weapon class, there are some lines:
[spoiler]function BecomePickup()
{
Super.BecomePickup();
SetDisplayProperties(Default.Style, Default.Texture, Default.bUnlit, Default.bMeshEnviromap );
if (Level.NetMode != NM_Standalone)
if (bTossedOut)
Lifespan = 5.0;
}[/spoiler]
I think you have to change the Lifespan
I hope I didn't write silly things :oops:
DJ please fix me, if I did something wrong

PostPosted: Tue Feb 28, 12 2:23 am
by Allan
Well if you want to change/remove the lifespan limit, you may want to try:

[spoiler]
Code: Select all
function BecomePickup()
{
   Super(Inventory).BecomePickup();
   SetDisplayProperties(Default.Style, Default.Texture, Default.bUnlit, Default.bMeshEnviromap );
}
[/spoiler]

PostPosted: Tue Feb 28, 12 2:09 pm
by evilfish
Thanks guys works a treat :D Just needs sound effects and then im ready to take to the skys lol