|
Hyper.nl Unreal Services The forum of Hyper.nl Unreal Services and the semi-offical resource for Winged Unicorn's Unreal mods
|
View previous topic :: View next topic |
Author |
Message |
Bleeder91
Joined: 28 Sep 2006 Posts: 265
|
|
Back to top |
|
|
Shadow
Joined: 31 Mar 2008 Posts: 97 Location: Ukraine
|
Posted: Thu Apr 10, 2008 3:41 pm Post subject: |
|
|
Hmmm..
Only thing I can advice you to check pickup functions of the stuff.Sure if you worked with em before.If there's anything OK...Than I don't know. |
|
Back to top |
|
|
StaticNova
Joined: 05 Nov 2007 Posts: 84
|
Posted: Thu Apr 10, 2008 4:36 pm Post subject: |
|
|
I only Recall this problem with UT3 and UT2k4 when RPG with magic weapons enabled and "coop weapon enabled" or Disabled i don't remember _________________ UPDATEZ z.z
Current Projects:
Stupid3 - like needs work.
Static4 - Need ideas. |
|
Back to top |
|
|
Bleeder91
Joined: 28 Sep 2006 Posts: 265
|
Posted: Thu Apr 10, 2008 4:57 pm Post subject: |
|
|
hmm, i tryed some things, and found 2 things that may causes it.
First:
Code: |
For(I=0;I<10;I++)
if( items[I] != None )
{
inv[I] = Other.FindInventoryType(items[I]);
if( inv[I] == None)
{
inv[I] = Spawn(Items[I],,, Other.Location);
inv[I].bHeldItem = true;
inv[I].GiveTo( Other );
inv[I].Instigator = Other;
Other.AddInventory( inv[I] );
Weapon(inv[I]).GiveAmmo( Other );
Weapon(inv[I]).BecomeItem();
weapon(inv[I]).BringUp();
Weapon(inv[I]).SetSwitchPriority( Other );
Weapon(inv[I]).WeaponSet( Other );
}
}
|
Probably there is something in there that shouldnt belong there, made it in my noob years, thats why, but i cant seem to find it yet.
Second: the weps get replaced during game, through function Tick(float dtime), for some reason i see that as a problem, but i dont know how else i would get the items replaced during gameplay.
The problem appears only with those options, after the piee of codes comes out, and after i summon a stinger, that then gets replaced. _________________ Unreallity - Wrath of the Skaarj is still developing! Check out the new refreshing website!
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|