I need help at changing weapons.
Moderator: Moderators
- Vuler
- Private
- Posts: 37
- Joined: Fri Dec 31, 2010 2:49 pm
- Projects :: SWBF2 Sides update
- xbox live or psn: No gamertag set
- Location: Poland
I need help at changing weapons.
Hello everyone. I'd like to thank people who helped me solving some modding problems. However, I'm having another trouble now. I'm trying to use OOM9's DC-15 Blaster Carbine and I have some problems with it (I'm not a great modder). Well, I've edited the rifle's ODF File (I'll soon write what it looks like now) but there's no rifle at all. The Troopers just hold their hands in air. They still can shoot. Another thing which I'd like to do is to remove its icon, so even if I won't have 1.2/1.3 Patch installed, the icon will not float in middle of the screen. Thanks to anyone who could help.
-
[Padawan]Helkaan
- Sith

- Posts: 1444
- Joined: Mon Aug 16, 2010 3:01 pm
- Projects :: Dunno. Maybe making something
Re: I need help at changing weapons.
Could you post the ODF, please?
Also about the icon, just change the ODF and the icon TGA, you don't need to have the patch for it.
Also about the icon, just change the ODF and the icon TGA, you don't need to have the patch for it.
- Vuler
- Private
- Posts: 37
- Joined: Fri Dec 31, 2010 2:49 pm
- Projects :: SWBF2 Sides update
- xbox live or psn: No gamertag set
- Location: Poland
Re: I need help at changing weapons.
Thanks for help! Here's the ODF:
Hidden/Spoiler:
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: I need help at changing weapons.
you know "rep_1st_weap_inf_pistol_bump" is the name of the rifles texture. you need to enter the name of the rifles model. in battlefront textures are .tga-files and models are .msh-files.
- Vuler
- Private
- Posts: 37
- Joined: Fri Dec 31, 2010 2:49 pm
- Projects :: SWBF2 Sides update
- xbox live or psn: No gamertag set
- Location: Poland
Re: I need help at changing weapons.
Allright, thanks! 
EDIT: Okay, I know I sound really stupid but I still have some problems. Here are my 2 ODFs which I have tested so far:
Could you tell me where goes the msh. file and where should I put name of the TGA file? And can somebody give me more exact information about removing the icon (it takes me long time to learn something about modding)?
EDIT: Okay, I know I sound really stupid but I still have some problems. Here are my 2 ODFs which I have tested so far:
Hidden/Spoiler:
Hidden/Spoiler:
-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: I need help at changing weapons.
You don't need to put a ".msh" in GeometryName and HighResGeometry. You don't need to define a TGA name in the ODF; the MSH you define will already take care of that. Any MSH and TGA files you are using should go in your side's msh folder. A quick way to remove the floating weapon icon is add the following line to your ODF under [Properties]:
Code: Select all
HUDTag = "none"- Vuler
- Private
- Posts: 37
- Joined: Fri Dec 31, 2010 2:49 pm
- Projects :: SWBF2 Sides update
- xbox live or psn: No gamertag set
- Location: Poland
Re: I need help at changing weapons.
Thank you for your help! It should help me a lot!
Offtopic: I'm glad that you've helped me and I'll add you to my friends list.
EDIT: Well, there's still no effect.
My current ODF:
(There's still the .msh part because I just copied the name and the stock ODF's also include it.)
The files are still in the sides/rep/msh folder. Unfortunately, it still doesn't work. Any clue on what could be wrong?
Offtopic: I'm glad that you've helped me and I'll add you to my friends list.
EDIT: Well, there's still no effect.
My current ODF:
Code: Select all
[WeaponClass]
ClassParent = "com_weap_inf_rifle"
GeometryName = "rep_1st_weap_inf_pistol_bump"
[Properties]
GeometryName = "rep_weap_inf_dc15carbine.msh"
HighResGeometry = "rep_weap_inf_dc15carbine.msh"
OrdnanceName = "rep_weap_inf_rifle_ord"
FirePointName = "hp_fire"
HUDTag = "none"The files are still in the sides/rep/msh folder. Unfortunately, it still doesn't work. Any clue on what could be wrong?
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: I need help at changing weapons.
Vuler wrote: EDIT: Well, there's still no effect.
My current ODF:Code: Select all
[WeaponClass] ClassParent = "com_weap_inf_rifle" GeometryName = "rep_1st_weap_inf_pistol_bump" [Properties] GeometryName = "rep_weap_inf_dc15carbine.msh" HighResGeometry = "rep_weap_inf_dc15carbine.msh" (There's still the .msh part because I just copied the name and the stock ODF's also include it.) The files are still in the sides/rep/msh folder. Unfortunately, it still doesn't work. Any clue on what could be wrong?[/quote] The stock weapons include .msh only in the geo name in the [weaponclass] section, the geo name there is the one that will show up in Zero Editor, not ingame. The geo names in [Properties] must [i]not[/i] have it.
- Vuler
- Private
- Posts: 37
- Joined: Fri Dec 31, 2010 2:49 pm
- Projects :: SWBF2 Sides update
- xbox live or psn: No gamertag set
- Location: Poland
Re: I need help at changing weapons.
Okay, I still can't use this Carbine. I had to mess something up. I'll make more attemps and I'll update this topic after when I'll get it to work/still won't be able to get it to work.
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: I need help at changing weapons.
Vuler wrote:Okay, I still can't use this Carbine. I had to mess something up. I'll make more attempts and I'll update this topic after when I'll get it to work/still won't be able to get it to work.
Stay Strong, and keep working in it. Modding is tough at first, but it gets alot easier as you get more experience.
- Vuler
- Private
- Posts: 37
- Joined: Fri Dec 31, 2010 2:49 pm
- Projects :: SWBF2 Sides update
- xbox live or psn: No gamertag set
- Location: Poland
Re: I need help at changing weapons.
Thanks, that's exactly what I think. I believe I'll be able to figure out how to use it. The only weapon which I was putting into the game before this DC-15 was Rekubot's DH-17 (for Rebels) and I see that Rep's Weapons' ODFs are different.Stay Strong, and keep working in it. Modding is tough at first, but it gets alot easier as you get more experience.
-
kinetosimpetus
- Imperial Systems Expert

- Posts: 2381
- Joined: Wed Mar 25, 2009 4:15 pm
- Projects :: A secret project
Re: I need help at changing weapons.
They might be arranged differently, but they work exactly the same.
- Vuler
- Private
- Posts: 37
- Joined: Fri Dec 31, 2010 2:49 pm
- Projects :: SWBF2 Sides update
- xbox live or psn: No gamertag set
- Location: Poland
Re: I need help at changing weapons.
Yes, their arrangement is what I meant. Odd thing, I tested DH-17 and it worked perfectly, but Dc-15 still doesn't work. I'll look at their ODFs once again.kinetosimpetus wrote:They might be arranged differently, but they work exactly the same.
EDIT: Okay, I've checked the files. They look almost the same (except for those arrangement differences and names of the files). It gets a bit frustrating, but I'll keep trying.
EDIT 2: I'm still not able to use the rifle, but well, I realised that I should just go on without it. This topic can be closed, since my questions have been answered.
- asleeponduty
- Private First Class
- Posts: 77
- Joined: Tue Jul 22, 2008 3:05 pm
- xbox live or psn: No gamertag set
- Location: Illinois
Re: I need help at changing weapons.
Code: Select all
[WeaponClass]
ClassParent = "com_weap_inf_rifle"
GeometryName = "rep_1st_weap_inf_pistol_bump" <- This should not be rep_1st_weap_inf_pistol_bump!!!!!!!!!!!!!!!
It should be rep_weap_inf_dc15carbine !
[Properties]
GeometryName = "rep_weap_inf_dc15carbine.msh"
HighResGeometry = "rep_weap_inf_dc15carbine.msh"
OrdnanceName = "rep_weap_inf_rifle_ord"
FirePointName = "hp_fire"
HUDTag = "none"-
AQT
- Gametoast Staff

- Posts: 4910
- Joined: Sat Nov 03, 2007 4:55 pm
- Location: SoCal, USA
Re: I need help at changing weapons.
That should not matter as Kinetosemptus already stated a few posts above:
The stock weapons include .msh only in the geo name in the [weaponclass] section, the geo name there is the one that will show up in Zero Editor, not ingame.
The geo names in [Properties] must not have it.
-
THEWULFMAN
- Space Ranger
- Posts: 5557
- Joined: Tue Aug 17, 2010 3:30 pm
- Projects :: Evolved 2
- Location: Columbus, Ohio
- Contact:
Re: I need help at changing weapons.
If you tested the dh17 and it works, I would suggest you tell us more about the model. Where did you download it? I dont think I ever used OOM9's carbine weapon model. Maybe the version you havee is messed up. Why dont you quickly upload the model and its texture. 
- Vuler
- Private
- Posts: 37
- Joined: Fri Dec 31, 2010 2:49 pm
- Projects :: SWBF2 Sides update
- xbox live or psn: No gamertag set
- Location: Poland
Re: I need help at changing weapons.
Ah, sorry for late response. I thought this topic is already closed. I've got DC-15 from "Various Clone Trooper Weapons Pack". There's link to it in Assets Links Thread. Just search for "DC-15A, DC-15s Carbine, DC-17 Pistol, WESTAR-M5, Underhand Chaingun" in Weapon assets section. I don't think there's something wrong with the weapon, though, especially because I tried using new Pistol for the Republic and the effect was the same. I even tried to do the same thing but with stock blaster pistol msh. I probably have messed ODF file.
-
CressAlbane
- Master Bounty Hunter

- Posts: 1519
- Joined: Fri Dec 18, 2009 8:02 am
- Projects :: CTF Arenas
- Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı
Re: I need help at changing weapons.
Try this if you don't already have it:
Code: Select all
[WeaponClass]
ClassParent = "com_weap_inf_rifle"
GeometryName = "rep_1st_weap_inf_pistol_bump"
[Properties]
GeometryName = "rep_weap_inf_dc15carbine"
HighResGeometry = "rep_weap_inf_dc15carbine"
OrdnanceName = "rep_weap_inf_rifle_ord"
FirePointName = "hp_fire"
HUDTag = "none"
- Dakota
- Field Commander

- Posts: 991
- Joined: Mon Dec 06, 2010 8:21 pm
- Projects :: making random weapon assets
- xbox live or psn: PS3 beats xbox
- Location: at a computer desk floating around in space
Re: I need help at changing weapons.
Code: Select all
[WeaponClass]
ClassParent = "com_weap_inf_rifle"
GeometryName = "rep_1st_weap_inf_pistol_bump"
[Properties]
GeometryName = "rep_weap_inf_dc15carbine.msh"
HighResGeometry = "rep_weap_inf_dc15carbine.msh"
OrdnanceName = "rep_weap_inf_rifle_ord"
FirePointName = "hp_fire"
HUDTag = "none"- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: I need help at changing weapons.
You are indeed correct, the GeometryName should be the same, in this case rep_weap_inf_dc15carbine in fact it should look like this:
Hidden/Spoiler:
