3rd person weapon mesh placment

  • 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.

Call me Erdrik

Arch Mage
Nov 24, 1999
334
0
0
43
Spring Hill, FL, USA
www.geocities.com
ya know how UT places the 3rd person weapon meshes on the little triangle in the player model? where is the code for that?

I want to have multiple 'little triangles' so I can have different models hanging off of the player...

ie: got a sword type weapon hanging off his back...

THankee in advance :)
 

Call me Erdrik

Arch Mage
Nov 24, 1999
334
0
0
43
Spring Hill, FL, USA
www.geocities.com
Another Question
hee hee chew on this : Im having a problem with some of my code:
~~~~
var(HullStat) class<SR_MiscHull> MiscHull[1];
var int i;

for(i=1;i<10;i++)
if ( MiscHull != None)
{
if (Damage>=1) MiscHull.DealDmg(Damage*0.3);
Damage-=(Damage * 0.3);
}

Damage is Declared in the Parent Class.
~~~~
Do you Know Why it gives me a Type MissMatch Error in the First If line?

Update:
fixed :)
needed for(i=1;i<10;i++) to be
for(i=1;i<ArrayCount(MiscHull);i++)
and the array to be more than 1.

But Now:
if (Damage>=1) MiscHull.DealDmg(Damage*0.3);
gives an "Unrecognized member 'DealDmg' in class 'Class'" error??

Update:
fixed :)
var actor Piece;
if (MiscHull != None)
{
if (Damage>=1) SR_MiscHull(Piece).DealDmg(Damage*0.3);
Damage-=(Damage * 0.3);
}
needed SR_MiscHull(Piece)...
 
Last edited:

EvilDrWong

Every line of code elevates you
Jun 16, 2001
932
0
0
40
Inside the machine
Visit site
Originally posted by Call me Erdrik
ya know how UT places the 3rd person weapon meshes on the little triangle in the player model? where is the code for that?

I want to have multiple 'little triangles' so I can have different models hanging off of the player...

ie: got a sword type weapon hanging off his back...

THankee in advance :)

i dinnae think you can. i do believe thats some native stuff for which noone is allowed to mess with else they die. sorry, but i wont tell you anymore, since im at risk just letting people know that much...
 

Kangus

Zombie on your pwn!
Jan 29, 2001
978
0
16
Illinois, USA
www.planetunreal.com
Re: Re: 3rd person weapon mesh placment

Originally posted by EvilDrWong


i dinnae think you can. i do believe thats some native stuff for which noone is allowed to mess with else they die. sorry, but i wont tell you anymore, since im at risk just letting people know that much...
The infiltration guys did it! not sure how though....
 

Smoke39

whatever
Jun 2, 2001
1,793
0
0
You could make an object that just follows the player around. That'd sorta work...
 

Call me Erdrik

Arch Mage
Nov 24, 1999
334
0
0
43
Spring Hill, FL, USA
www.geocities.com
Update:
fixed
var(HullStat) class<SR_MiscHull> MiscHull;
var actor Piece;
if (MiscHull != None)
{
if (Damage>=1) SR_MiscHull(Piece).DealDmg(Damage*0.3);
Damage-=(Damage * 0.3);
}
needed SR_MiscHull(Piece)...

this allows me to call the functions of SR_Hull but does it call the function from the var(HullStat) class<SR_MiscHull> MiscHull; ??

I was thinking about this last nite and Im not sure....