PDA

View Full Version : Scripting Problems with Custom Weapon



Lunazure
11-09-2009, 07:51 AM
Hey guys. So I successfully ported my UT3 mod over the UDK over the weekend. However, I'm having some weird issues with my custom weapon that I think are script-related.

First, my WeaponFire animation no longer plays -- but the WeaponIdle, WeaponPutDown, and WeaponEquip animations seem to be fine. Any idea what might cause this when porting over to UDK?

Second, The sockets aren't functioning properly. When I fire my weapon, the projectile is originating a few units to the left of the gun's barrel and I can't figure out why.

Finally, the projectile my gun fires is having collision issues. It's a ball that bounces off surfaces -- and that works just fine -- but when it comes to a rest, it sinks halfway into the floor.

Any ideas on where to look in my code in order to pinpoint these problems would be greatly appreciated. I'll gladly post code snippets if needed. :)

Lunazure
11-10-2009, 08:37 PM
A little bump just in case someone missed this. I've been wracking my brain over this one, and I can't seem to find the right parameters to tweak in the script. Still having all 3 of the above issues.

Solid Snake
11-10-2009, 09:06 PM
Perhaps if you can post the entire script classes it would help?

ZeJudge
04-20-2010, 05:34 PM
Im having trouble with the sockets too. :( When my weapon fires, its only firing from the right of the screen instead of the left where the socket is set on the joint.

DJMidknight
04-20-2010, 10:06 PM
ok Im a newb but did either of you check the animset in the editor perhaps something is not lined up?

ZeJudge
04-21-2010, 05:20 AM
Everything in the animset looks fine, perfect even.