A few bugging bugs..

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

A few bugging bugs..

Post by 501st_commander »

First bug:
Hidden/Spoiler:
Image
Notice the blaster rifle. The barrel was red, now its a camo-like orange. The TGA doesn't look like that though. Is there a way to fix that?

Second Bug:
Hidden/Spoiler:
ImageImage
It was an AT-TE prop. It was working fine at first, except the texture was, somehow, using the LAAT's. I changed it to the rep_walk_atte.msh and its doing that.. here is the odf if it helps:
Hidden/Spoiler:
[GameObjectClass]

ClassLabel = "destructablebuilding"
GeometryName = "rep_prop_atte.msh"


[Properties]
GeometryName = "rep_prop_atte"
DestroyedGeometryName = "fel1_bldg_destroyed_walker"

MaxHealth = "850"


FoleyFXGroup = "metal_foley"
thanks for any help
User avatar
AceMastermind
Gametoast Staff
Gametoast Staff
Posts: 3285
Joined: Mon Aug 21, 2006 6:23 am
Contact:

Re: a few bugging bugs..

Post by AceMastermind »

Your first "bug" looks like a conflict with texture names, or having more than 1 texture with the same name.
For the second "bug" try changing the ClassLabel to "armedbuilding" or any classlabel that supports bones.
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: A few bugging bugs..

Post by 501st_commander »

#2 sovled
thanks Ace!

#1 not solved
I forgot i downloaded a new model. So i checked the msh to see what tga's its using (i dont know why). It uses barrel.jpg and shaft.jpg. But the textures are tga. Could that be why? do i change the tga's to jpg? or change the jpg in the msh file to tga?
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

Re: A few bugging bugs..

Post by Fiodis »

Change the .jpg in the mesh file to .tga (but be sure to use a hex editor, not something like, say Notepad).
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: A few bugging bugs..

Post by 501st_commander »

still doesn't work..
here is a copy of the tga ref. part:
Hidden/Spoiler:
HEDR\Í MSH2LÍ SINFX NAME dc15a_3 FRAM d ŸÂïABBOX, €?¥X€¼hùÒ<Lì°>9z‡=¦g#> Ü]?H9b?CAMR@ NAME Camera DATA( æìÐ? óB?J8Ì=·Wî½R¾i»p Æ>¿lŲ)¨o?ÍÌÌ= GMATLp MATDp NAME shaft_tga30 DATA4 €?ÍÌL?ÍÌL? €?ÍÌL>ÍÌL>ÍÌL> €? €? AATRB TX0D shaft.tga MATDt NAME barrel_tga30 DATA4 €?ÍÌL?ÍÌL? €?ÍÌL>ÍÌL>ÍÌL> €? €? AATRB TX0D barrel.tga MATDp NAME case_tga30 DATA4 €?ÍÌL?ÍÌL? €?ÍÌL>ÍÌL>ÍÌL> €? €? AATRB TX0D case.tga MODL\ MTYP MNDX NAME dummyroot TRAN( €? €? €? € € € €? MODLl MTYP MNDX NAME hp_fire PRNT dummyroot TRAN( €? €? €? € € € €?f
:±Ý›=A ™?MODLðâ MTYP MNDX NAME dc15 PRNT dummyroot TRAN( €? €? €? € € € €? GEOM|â BBOX, n·"¾Ãw׺¿Ze¼¸¸|?
Edit:
In the MSH viewer the rifle looks fine..
Post Reply