News • UnrealEd • Files • Mods • FragBU • Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Mods > WoD Mod Pod > Ask a Coder

Reply
 
Thread Tools Display Modes
Old 3rd Feb 2002, 03:49 PM   #1
Rainbow6
Probably Confused!
 
Join Date: Jan. 1st, 2002
Posts: 40
Question TournamentWeapon question

Hello to all, and thanks for reading this.

I have a weapon mesh that is in my mod, and it shoots/reloads just fine, if it weren't for one problem...

When I run up to a wall, my weapon is "cut up" the level geometry! I've tried setting the CollisionRadius and CollisionHeight, but it still gets cut the same way!


Anybody got an idea?
-Rainbow Six
Rainbow6 is offline   Reply With Quote
Old 3rd Feb 2002, 03:59 PM   #2
Smoke39
whatever
 
Smoke39's Avatar
 
Join Date: Jun. 2nd, 2001
Posts: 1,793
Arrow

Lower its PlayerViewOffset X to make the gun not stick out as far. Then it won't stick into the level.
Smoke39 is offline   Reply With Quote
Old 3rd Feb 2002, 04:07 PM   #3
Rainbow6
Probably Confused!
 
Join Date: Jan. 1st, 2002
Posts: 40
Thumbs up OK

Alright. I'll try it. thx.

Won't it place my gun out of view?

-Rainbow Six
Rainbow6 is offline   Reply With Quote
Old 3rd Feb 2002, 06:32 PM   #4
Smoke39
whatever
 
Smoke39's Avatar
 
Join Date: Jun. 2nd, 2001
Posts: 1,793
Arrow

If you keep the X, Y, and Z axes and PlayerViewScale in proportion it'll look the same.
Smoke39 is offline   Reply With Quote
Old 5th Feb 2002, 07:37 PM   #5
Rainbow6
Probably Confused!
 
Join Date: Jan. 1st, 2002
Posts: 40
Angry Not so...

PlayerViewScale only lets you control the overall scale of the mesh. (X, Y, and Z are always equal.) The PlayerViewOffset does change the position of the mesh. That juz dun't werk.

My first-person mesh has a DrawScale of SEVEN! When you see the gun in the first-person view, it looks like the right size, but in reality it has been scaled up to 256x128x128 ! When Unreal draws it, the gun gets cut off by the level geometry before it visually reaches the wall!! (Abstract enough?)

MY SOLUTION: Set the CollisionRadius and CollisionHeight to account for the fact that it's HUGE!

Hey, it's a stab in the misty dark!
-Rainbow Six
Rainbow6 is offline   Reply With Quote
Old 5th Feb 2002, 08:35 PM   #6
Smoke39
whatever
 
Smoke39's Avatar
 
Join Date: Jun. 2nd, 2001
Posts: 1,793
Arrow

That collision stuff doesn't affect the player view mesh. Like I said, lower the X offset to bring it closer to you. Say you cut it in half, then you have to cut the Y and Z values in half to make it appear to be in the same position. Then you have to cut the PlayerViewScale in half to account for it being twice as close to your view, and thus making it appear larger. Did that explain my previous instructions?
Smoke39 is offline   Reply With Quote
Old 6th Feb 2002, 03:58 PM   #7
Postal
I apear to have lost my pin.
 
Postal's Avatar
 
Join Date: Nov. 14th, 1999
Posts: 1,388
I hear you have to change the model setting after you make it, before you export it
__________________

Peace through superior firepower.
Postal is offline   Reply With Quote
Old 11th Feb 2002, 10:44 AM   #8
Rainbow6
Probably Confused!
 
Join Date: Jan. 1st, 2002
Posts: 40
Lightbulb Hmmm... I get it.

OK. I'm kinda getting what Smoke39 said. He's right. My stupid idea didn't work, but when I decreased the DrawScale and repositioned my mesh, it didn't cut up.

Thanks abunch Smoke39 !!

-Rainbow Six

Last edited by Rainbow6; 11th Feb 2002 at 11:41 AM.
Rainbow6 is offline   Reply With Quote
Old 11th Feb 2002, 03:17 PM   #9
Smoke39
whatever
 
Smoke39's Avatar
 
Join Date: Jun. 2nd, 2001
Posts: 1,793
Arrow

\ŻI am Pork Boy, the Breakfast Monkey! I have taken over Smoke's brain, and will now proceed to manipulate him to destroy all that is blue! Waahahahahaaaa!!

*BAM!*

If I catch you knawing on my head again, you stupid monkey, I swear I'm gonna--
No!
Bad monkey!
Bad!
Sit!

*BAM!*
*WHACK!*
*DAMAGE!*
*BOOF!*
*BLARK!*
*INFLICT PAIN ON!*

Yes, now where was I? Oh yes, any time, sir. Always happy to help a complete stranger!
Smoke39 is offline   Reply With Quote
Old 15th Feb 2002, 06:06 AM   #10
EasyRaider
Crazy coder
 
EasyRaider's Avatar
 
Join Date: Sep. 21st, 2001
Location: Norway
Posts: 74
LOL
__________________
Aim for the horizon
but watch your step
EasyRaider is offline   Reply With Quote
Old 15th Feb 2002, 06:13 PM   #11
Smoke39
whatever
 
Smoke39's Avatar
 
Join Date: Jun. 2nd, 2001
Posts: 1,793
Arrow

I fail to see the relevence of large olive loaf at this time.
Smoke39 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 03:06 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer