Adding more than one weapon to a class [Solved]

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
User avatar
darthkibbles
Private Third Class
Posts: 59
Joined: Tue Jul 07, 2009 4:27 pm

Adding more than one weapon to a class [Solved]

Post by darthkibbles »

im having trouble adding more than one weapon to my gungan. he already has a rocket luancher but no i want to add a pistol. i copyed over the odf and the ord odf files and msh file/s and typed in the the "stuff" in the odf for my gungan but my pistol doent show up in game what do i do?
501st_commander
Master Bounty Hunter
Master Bounty Hunter
Posts: 1570
Joined: Wed Dec 10, 2008 7:48 pm

Re: adding more than one weapon to a class

Post by 501st_commander »

1) you copied the all of the weapons odf, msh and tgas?

2) your gungan odf weapon part should looks like this,

Code: Select all

(..)
//this keeps the player from entering first person with this char
forcemode                       = 1

MaxHealth       = 200.0

WEAPONSECTION = 1
WeaponName         = "gun_weap_inf_fusioncutter"
WeaponAmmo         = 0

WEAPONSECTION = 2
WeaponName         = "***_weap_inf_pistol"
WeaponAmmo         = 0

WEAPONSECTION = 3
WeaponName         = "gun_weap_inf_thermaldetonator"
WeaponAmmo         = 20
WeaponChannel      = 1

CAMERASECTION           = "STAND"

EyePointOffset          = "0.0 2.0 0.0"
(..)
*** 3 letter side name.
User avatar
darthkibbles
Private Third Class
Posts: 59
Joined: Tue Jul 07, 2009 4:27 pm

Re: adding more than one weapon to a class

Post by darthkibbles »

ohhhhhhhhhhhhhh i was putting more than one weapon in a weapon section thats y ill try changing that right now

EDIT: :bowdown: IT WORKED! :bowdown:
Post Reply