Oversized rifle now invisible

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

MandeRek
Sith Master
Sith Master
Posts: 2766
Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:

Re: Oversized rifle

Post by MandeRek »

I think i will The_Emperor, I've been online for an hour, skipped my Dutch homework and I'm feeling tired because we have no beer at home, so nothing keeps me awake! But please post them, I would see the problem
NullCommando
Jedi
Jedi
Posts: 1010
Joined: Sat Dec 01, 2007 12:29 pm
Games I'm Playing :: Destiny
xbox live or psn: NullCommando
Location: Earth

Re: Oversized rifle

Post by NullCommando »

well the .msh.option is one line due to being from scratch since there was none.

.odf:

Code: Select all

[WeaponClass]
ClassParent         = "com_weap_inf_rifle"
GeometryName        = "rep_weap_inf_new_rifle.msh"

[Properties]
GeometryName        = "rep_weap_inf_new_rifle"
GeometryScale       = 0.5
HighResGeometry         = "rep_1st_weap_inf_rifle"
OrdnanceName        = "rep_weap_inf_rifle_ord"
FirePointName       = "hp_fire"

//******************************************************
//***************   SOUND       ****************
//******************************************************

MuzzleFlash         = "small_muzzle_flash"
FlashColor          = "80 80 255 255"     
FlashLength         = 0.025               
FlashColor          = "100 100 255 255"   
FlashLength         = 0.025               
FlashLightColor     = "220 220 255 175"   
FlashLightRadius    = "2.0"               
FlashLightDuration  = "0.25"              
Discharge           = "small_smoke_effect"


FireSound           = "rep_weap_inf_rifle_fire"
ReloadSound         = "com_weap_inf_reload_med"
ChangeModeSound     = "com_weap_inf_equip_med"
FireEmptySound      = "com_weap_inf_ammo_empty"
WeaponChangeSound   = "com_weap_inf_equip_med"
JumpSound           = "com_weap_inf_rifle_mvt_jump"
LandSound           = "com_weap_inf_rifle_mvt_land"
RollSound           = "com_weap_inf_rifle_mvt_roll"
//ProneSound          = "com_weap_inf_rifle_mvt_lie"
SquatSound          = "com_weap_inf_rifle_mvt_squat"
//StandSound          = "com_weap_inf_rifle_mvt_getup"
msh.option
-scale 0.5
MandeRek
Sith Master
Sith Master
Posts: 2766
Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:

Re: Oversized rifle

Post by MandeRek »

Okay, make sure that the option is an OPTION file! So not a .txt called .option! I think this might be the problem. Also make sure, together the option has to be named rep_weap_inf_new_rifle.msh.option (and the file type has to be an option file!!!!)
NullCommando
Jedi
Jedi
Posts: 1010
Joined: Sat Dec 01, 2007 12:29 pm
Games I'm Playing :: Destiny
xbox live or psn: NullCommando
Location: Earth

Re: Oversized rifle

Post by NullCommando »

That really is the most likely problem. I just checked it, I got it into an option file so - fingers crossed -
MandeRek
Sith Master
Sith Master
Posts: 2766
Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:

Re: Oversized rifle

Post by MandeRek »

And??? Now it MUST work
NullCommando
Jedi
Jedi
Posts: 1010
Joined: Sat Dec 01, 2007 12:29 pm
Games I'm Playing :: Destiny
xbox live or psn: NullCommando
Location: Earth

Re: Oversized rifle

Post by NullCommando »

Still invisible...
MandeRek
Sith Master
Sith Master
Posts: 2766
Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:

Re: Oversized rifle

Post by MandeRek »

:x Men you're having a damm frustrating problem here! Are you sure you've selected the right msh? Check the msh name, and call the GeometryNameLowrez or whatever it's called, also call it the msh.
Hidden/Spoiler:
-nocollision -hiresshadow -scale 0.5
Put this in the option. Make sure it's an option file. If it's still invisible try changing in odf first and if still not works in option; 0.5 to 0,5 That might do the job! I'm seeing my sweet warm bed right now, talk to you later and good luck!
NullCommando
Jedi
Jedi
Posts: 1010
Joined: Sat Dec 01, 2007 12:29 pm
Games I'm Playing :: Destiny
xbox live or psn: NullCommando
Location: Earth

Re: Oversized rifle

Post by NullCommando »

The rifle is missing geometry... I'm getting really frustrated with this..

Code: Select all

Message Severity: 3
.\Source\Weapon.cpp(2044)
Weapon "rep_weap_inf_new_rifle" missing geometry "rep_weap_inf_new_rifle"

Message Severity: 3
.\Source\Weapon.cpp(2044)
Weapon "rep_weap_inf_rifle" missing geometry "rep_weap_inf_new_rifle"
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: Oversized rifle now invisible

Post by Caleb1117 »

Just a note, the scale line in the ODF, only controls how big a mesh appears in ZE.
So it's not necessary in this case.
NullCommando
Jedi
Jedi
Posts: 1010
Joined: Sat Dec 01, 2007 12:29 pm
Games I'm Playing :: Destiny
xbox live or psn: NullCommando
Location: Earth

Re: Oversized rifle now invisible

Post by NullCommando »

:cpu: I think I might as well use the default rifles since this is so buggy for me, It won't work, one last attempt then I am done.
MandeRek
Sith Master
Sith Master
Posts: 2766
Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:

Re: Oversized rifle now invisible

Post by MandeRek »

Can you upload the side where the rifle is in? I know for sure i can fix it someway!


@Caleb1117 Thanks for the note, didn't know yet
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Building a railway to Coruscant
Contact:

Re: Oversized rifle now invisible

Post by trainmaster611 »

You shouldn't have to edit the msh.option. The way the rifle came it should work just fine.

Open the ODF and the msh.option in notepad and copy and paste the contents here.
NullCommando
Jedi
Jedi
Posts: 1010
Joined: Sat Dec 01, 2007 12:29 pm
Games I'm Playing :: Destiny
xbox live or psn: NullCommando
Location: Earth

Re: Oversized rifle now invisible

Post by NullCommando »

No need now. I had copied over the map to another and put the fixed rifle in, now it works just fine. Thanks for all your help guys. :)
MandeRek
Sith Master
Sith Master
Posts: 2766
Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:

Re: Oversized rifle now invisible

Post by MandeRek »

Welcome NullCommando, glad i could help
User avatar
phazon_elite
Rebel Colonel
Rebel Colonel
Posts: 597
Joined: Tue Jan 16, 2007 9:10 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: I'm sorry Link, I can't give the location. Come back when you're a little...mmmh...RICHER!
Contact:

Re: Oversized rifle now invisible

Post by phazon_elite »

Wait, you guys know there were two versions, right? The one you must have downloaded was the wrong one. That one doesn't have a shadowvolume, which is why it appears invisible. There is one with everything fixed that I believe was released. You can find it here:

http://files.filefront.com/dc15azip/;76 ... einfo.html

Off Topic: Where I found that link is in a thread of controversy and large proportions...yeah...

- EP-782
Post Reply