need help

Discussions about Coding and Scripting
MZK Jaimin P
Posts: 2
Joined: Sun Jan 16, 2022 11:12 pm

need help

Post by MZK Jaimin P » Sun Jan 16, 2022 11:24 pm

stumpped on this issue while coding a weapon same issue appears in 3rd person view
texissue.jpg
You do not have the required permissions to view the files attached to this post.

User avatar
EvilGrins
Godlike
Posts: 8817
Joined: Thu Jun 30, 2011 8:12 pm
Personal rank: God of Fudge
Location: Palo Alto, CA

Re: need help

Post by EvilGrins » Mon Jan 17, 2022 1:47 am

I'm no coder, but I am curious.

What's the weapon supposed to do?
http://unreal-games.livejournal.com/
Image
medor wrote:Replace Skaarj with EvilGrins :mrgreen:
Smilies · viewtopic.php?f=8&t=13758

MZK Jaimin P
Posts: 2
Joined: Sun Jan 16, 2022 11:12 pm

Re: need help

Post by MZK Jaimin P » Mon Jan 17, 2022 2:46 am

well those large triangle things you see there in the pic aren't suppose to be there

1337GameDev
Skilled
Posts: 196
Joined: Thu Apr 16, 2020 3:23 pm
Personal rank: GameDev

Re: need help

Post by 1337GameDev » Tue Jan 18, 2022 6:54 am

I encountered this too.

It's likely your model, or your import.

Can you show information on your model, or it's source file (and what program you used to make it) as well as paste your import directive code here?

You can also preview your model in another program, or the unreal editor mesh browser and see if it happens there too.

I used this code for meshes exported as d3d format:

Code: Select all

#exec MESH IMPORT MESH=Skull ANIVFILE=MODELS\Item\Item_a.3D DATAFILE=MODELS\Item\Item_d.3D X=0 Y=0 Z=0 LODSTYLE=12
#exec MESHMAP SCALE MESHMAP=Item X=0.04 Y=0.04 Z=0.08

#exec MESH LODPARAMS MESH=Item STRENGTH=0.0

#exec MESH ORIGIN MESH=Item X=0 Y=0 Z=0

#exec TEXTURE IMPORT NAME=SKIN_Item FILE=Textures\Item\Item.bmp GROUP="Skins" FLAGS=2
#exec MESHMAP SETTEXTURE MESHMAP=Item NUM=1 TEXTURE=SKIN_Item