Model difficulties

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Neuroflare

Brewer - Patriot
Jun 21, 2001
425
0
16
I dunno
wod.beyondunreal.com
When a player spawns with the scram cannon (when using the ball launcher for the model) The weapon appears in the top middle of the screen. But shortly thereafter goes to its normal position. I put the default properties up because the rest of the code for it was bot ai stuff, so the problem must lie in there, i believe.

Also, since there is no pickup model for the ball launcher, I am using the attachment. But it rotates around the grip of the gun rather than and middle of it. How would one shift that point?

Code:
defaultproperties
{
     FireModeClass(0)=Class'nfScramCannon.ScramFire'
     FireModeClass(1)=Class'nfScramCannon.ScramAltFire'
     SelectAnim="Pickup"
     PutDownAnim="PutDown"
     SelectSound=Sound'WeaponSounds.FlakCannon.SwitchToFlakCannon'
     SelectForce="SwitchToFlakCannon"
     AIRating=0.750000
     CurrentRating=0.750000
     EffectOffset=(X=200.000000,Y=32.000000,Z=-25.000000)
     DisplayFOV=60.000000
     Priority=8
     DefaultPriority=8
     InventoryGroup=7
     PickupClass=Class'nfScramCannon.ScramCannonPickup'

     PlayerViewOffset=(X=11.000000)

     BobDamping=2.200000
     AttachmentClass=Class'nfScramCannon.ScramAttachment'
     IconMaterial=Texture'InterfaceContent.HUD.SkinA'
     IconCoords=(X1=322,Y1=100,X2=444,Y2=200)
     ItemName="Scram Cannon"
     LightType=LT_Steady
     LightEffect=LE_NonIncidence
     LightHue=30
     LightSaturation=150
     LightBrightness=150.000000
     LightRadius=4.000000
     Mesh=SkeletalMesh'Weapons.BallLauncher_1st'
     DrawScale=0.400000
     //Mesh=SkeletalMesh'Weapons.Flak_1st'
     UV2Texture=Shader'XGameShaders.WeaponShaders.WeaponEnvShader'
}
 

Attachments

  • spawn.jpg
    spawn.jpg
    53.9 KB · Views: 22
  • postspawn.jpg
    postspawn.jpg
    54.3 KB · Views: 20

Smoke39

whatever
Jun 2, 2001
1,793
0
0
Odd... I sorta doubt these have anything to do with it, but these properties from BallLauncher are left out or different in yours:
Code:
PutDownAnimRate=2.500000
PutDownTime=0.200000
SmallViewOffset=(X=23.000000,Y=6.000000,Z=-6.000000)
CenteredOffsetY=-5.000000
CenteredRoll=5000
CenteredYaw=-300
Also, SelectAnim is wrong. You might try removing it and letting it use the default of it's parent.

I don't know of any simple way of changing the center of the pickup. I always just let it rotate off-center.