Page 1 of 2

I need help at changing weapons.

Posted: Sat Mar 19, 2011 6:06 am
by Vuler
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.

Re: I need help at changing weapons.

Posted: Sat Mar 19, 2011 6:11 am
by [Padawan]Helkaan
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.

Re: I need help at changing weapons.

Posted: Sat Mar 19, 2011 6:20 am
by Vuler
Thanks for help! Here's the ODF:
Hidden/Spoiler:
[WeaponClass]
ClassParent = "com_weap_inf_rifle"
GeometryName = "rep_weap_inf_dc15carbine.msh"

[Properties]
GeometryName = "rep_1st_weap_inf_pistol_bump"
HighResGeometry = "rep_1st_weap_inf_pistol_bump"
OrdnanceName = "rep_weap_inf_rifle_ord"
FirePointName = "hp_fire"

Re: I need help at changing weapons.

Posted: Sat Mar 19, 2011 6:34 am
by DarthD.U.C.K.
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.

Re: I need help at changing weapons.

Posted: Sat Mar 19, 2011 6:54 am
by Vuler
Allright, thanks! :D
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:
[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"
Hidden/Spoiler:
[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"
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)?

Re: I need help at changing weapons.

Posted: Sat Mar 19, 2011 3:36 pm
by AQT
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"

Re: I need help at changing weapons.

Posted: Sun Mar 20, 2011 4:14 am
by Vuler
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:

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"
(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?

Re: I need help at changing weapons.

Posted: Sun Mar 20, 2011 10:08 am
by kinetosimpetus
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.

Re: I need help at changing weapons.

Posted: Sun Mar 20, 2011 12:51 pm
by Vuler
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.

Re: I need help at changing weapons.

Posted: Sun Mar 20, 2011 12:54 pm
by THEWULFMAN
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.

Re: I need help at changing weapons.

Posted: Sun Mar 20, 2011 12:59 pm
by Vuler
Stay Strong, and keep working in it. Modding is tough at first, but it gets alot easier as you get more experience.
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. :D

Re: I need help at changing weapons.

Posted: Sun Mar 20, 2011 1:51 pm
by kinetosimpetus
They might be arranged differently, but they work exactly the same.

Re: I need help at changing weapons.

Posted: Sun Mar 20, 2011 3:36 pm
by Vuler
kinetosimpetus wrote:They might be arranged differently, but they work exactly the same.
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.
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. 8)
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.

Re: I need help at changing weapons.

Posted: Wed Mar 23, 2011 7:38 pm
by asleeponduty

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"
Theres youre problem.

Re: I need help at changing weapons.

Posted: Wed Mar 23, 2011 7:45 pm
by AQT
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.

Re: I need help at changing weapons.

Posted: Wed Mar 23, 2011 9:31 pm
by THEWULFMAN
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. :wink:

Re: I need help at changing weapons.

Posted: Sun Mar 27, 2011 5:24 am
by Vuler
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.

Re: I need help at changing weapons.

Posted: Fri Apr 01, 2011 5:36 pm
by CressAlbane
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"


Re: I need help at changing weapons.

Posted: Sat Apr 02, 2011 11:57 am
by Dakota

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"
my question is why does it have 2 geometry names i thought it should be only one and if there are 2 why are they both different... and i also am just wondering why is it a rep_1st_weap_inf_pistol_BUMP i thought it would just be without the _bump because of that usally being a .tga when ever i see one... but i am not really sure. wow i am more confused than sure :runaway:

Re: I need help at changing weapons.

Posted: Sat Apr 02, 2011 12:15 pm
by Jendo7
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:
[WeaponClass]
ClassParent = "com_weap_inf_rifle"
GeometryName ="rep_weap_inf_dc15carbine.msh"

[Properties]
GeometryName = "rep_weap_inf_dc15carbine"
HighResGeometry = "rep_weap_inf_dc15carbine"
OrdnanceName = "rep_weap_inf_rifle_ord"
FirePointName = "hp_fire"
HUDTag = "none"