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
darkthomas
Post
by darkthomas » Mon Apr 09, 2007 5:40 am
hi all,
got a question. How can i, for example, replace the Clone Commander Unit with a normal Clone Trooper Unit
:
Also, How can i replace weapons ?
Tnx
Jawaraider
Rebel Sergeant
Posts: 196 Joined: Thu Nov 30, 2006 3:12 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: Unknown
Post
by Jawaraider » Mon Apr 09, 2007 5:47 am
dont know about the first one, but to replace units weapons you must open for example the rep_inf_default_rifleman odf and change rep_weap_inf_rifle to for example rep_weap_inf_sniper_rifle.
Is this what you meant?
darkthomas
Post
by darkthomas » Mon Apr 09, 2007 6:35 am
well i think so,
that for example, a sniper has a sniper rifle + normal rifle instead of sniper rifle + pistol
but i'll try to change the odf, tnx !
edit: It worked!
but look what name my units have now
how can i change that
Abiter_b
Post
by Abiter_b » Mon Apr 09, 2007 7:34 am
use the language tool (in editlocalize.bat)
darkthomas
Post
by darkthomas » Mon Apr 09, 2007 7:44 am
alright thank you.
but it tried to replace a Unit (Commander with Trooper) and it doenst work
Jawaraider
Rebel Sergeant
Posts: 196 Joined: Thu Nov 30, 2006 3:12 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: Unknown
Post
by Jawaraider » Mon Apr 09, 2007 8:08 am
You would have to copy the stuff that defines the model and/or skins
GeometryName etc.
from rep_inf_ep3_rifleman and replace the same stuff from ep2_rifleman, then in the lua write rep_inf_ep2_rifleman instead of the commander.
Im not wery good at describing but I think thats it. If you want them all to be ep3. at least
YankFan1950
Post
by YankFan1950 » Mon Apr 09, 2007 8:17 am
ok go to the odf rep_inf_ep3officer and paste this in for it
[GameObjectClass]
ClassParent = "rep_inf_default_officer"
[Properties]
GeometryName = "rep_inf_ep3trooper"
GeometryLowRes = "rep_inf_ep3trooper_low1"
FirstPerson = "REP\reptroop;rep_1st_trooper"
ClothODF = "rep_inf_clonecommander_cape"
instead of what is already there munge and your clone commander should look like the trooper with the name localized
darkthomas
Post
by darkthomas » Mon Apr 09, 2007 8:44 am
tnx alot !!
RC-1290
Post
by RC-1290 » Mon Apr 09, 2007 9:18 am
btw, this can all be found in the all you nee thread.
The_Emperor
Supreme Galactic Ruler
Posts: 2118 Joined: Sat Dec 10, 2005 6:30 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Waaaaay over there.
Post
by The_Emperor » Mon Apr 09, 2007 10:25 am
Whats more, it can also be found in the docs that come with the modtools