FileFront Gaming Forums

How to replace a model for every model on a class?

This is a discussion on How to replace a model for every model on a class? within the SW:BF2 Modding, Mapping and Editing forums, part of the Star Wars: Battlefront 2 category; Hello there! Could someone help me how to use the episode II heavy trooper model, that is used on the ...

SW:BF2 Modding, Mapping and Editing Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot!

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1  
Old October 9th, 2009
alexrdias's Avatar
I'm just cool to Post
 
Join Date: May 2nd, 2008
Posts: 27
Rep Power: 0
alexrdias is a n00b
Default How to replace a model for every model on a class?

Hello there!

Could someone help me how to use the episode II heavy trooper model, that is used on the Geonosis map, and replace it for every model on the episode III republic class?

Thanks in advance.
Reply With Quote
  #2  
Old October 9th, 2009
Delta 47's Avatar
FileFront Network Staff
 
Join Date: December 9th, 2007
Location: MI, USA
Posts: 1,105
Rep Power: 7
Delta 47 has a commanding presenceDelta 47 has a commanding presenceDelta 47 has a commanding presenceDelta 47 has a commanding presenceDelta 47 has a commanding presenceDelta 47 has a commanding presenceDelta 47 has a commanding presenceDelta 47 has a commanding presenceDelta 47 has a commanding presenceDelta 47 has a commanding presenceDelta 47 has a commanding presence
Send a message via MSN to Delta 47
Default Re: How to replace a model for every model on a class?

If you want to replace every rocketeer in the EP3 class on all of the shipped maps you would need to copy all of the scripts from the shipped maps and replace the "rep_inf_ep3_rocketeer" with "rep_inf_ep2_rocketeer" in each of the scripts. To read some more info on sides and to find out where the scripts are located you can look at this tutorial.
__________________

Reply With Quote
  #3  
Old October 9th, 2009
alexrdias's Avatar
I'm just cool to Post
 
Join Date: May 2nd, 2008
Posts: 27
Rep Power: 0
alexrdias is a n00b
Default Re: How to replace a model for every model on a class?

No. I want to use the ep2 rocketeer model on every class of the republic side, not just the rocketeer. (Just the model, not the weapons)

Thanks for replying.
Reply With Quote
  #4  
Old October 10th, 2009
Delta 47's Avatar
FileFront Network Staff
 
Join Date: December 9th, 2007
Location: MI, USA
Posts: 1,105
Rep Power: 7
Delta 47 has a commanding presenceDelta 47 has a commanding presenceDelta 47 has a commanding presenceDelta 47 has a commanding presenceDelta 47 has a commanding presenceDelta 47 has a commanding presenceDelta 47 has a commanding presenceDelta 47 has a commanding presenceDelta 47 has a commanding presenceDelta 47 has a commanding presenceDelta 47 has a commanding presence
Send a message via MSN to Delta 47
Default Re: How to replace a model for every model on a class?

Than you just replace in each of the troopers odf file on the GeometryName line, the msh name of the EP2 Rocketeer which would be "rep_inf_arctrooper". You replace that over the msh name of each of your troopers that's located in the odf file. Such as the EP3 Clone Trooper odf would have "rep_inf_ep3trooper" in it, you would replace that with the "rep_inf_arctrooper".
__________________

Reply With Quote
  #5  
Old October 10th, 2009
alexrdias's Avatar
I'm just cool to Post
 
Join Date: May 2nd, 2008
Posts: 27
Rep Power: 0
alexrdias is a n00b
Default Re: How to replace a model for every model on a class?

But to use it in-game, do I need to create a new map? If yes, then how do I use the modification in-game?

Thanks in advance.
Reply With Quote
  #6  
Old October 10th, 2009
icemember's Avatar
Addicted to GF
 
Join Date: January 16th, 2008
Location: Grassy.N
Posts: 288
Rep Power: 0
icemember is the life of the partyicemember is the life of the partyicemember is the life of the party
Send a message via MSN to icemember
Default Re: How to replace a model for every model on a class?

Well in most cases you would need to munge a new map with the modtools to play your new side. But after the munge process, you can ditch your map and only use the newly Created REP side. After placing the REP side's files into there correct location, just run the game, and by default, your Rep side will be your Heavy ARCS models for every class providing you did the above mentioned by Delt47.
__________________
All attempts are rewarded with success at the end
Reply With Quote
  #7  
Old October 11th, 2009
theultimat's Avatar
Your worst nightmare...
 
Join Date: April 13th, 2008
Posts: 213
Rep Power: 0
theultimat is a n00b
Default Re: How to replace a model for every model on a class?

Quote:
Originally Posted by icemember View Post
...After placing the REP side's files into there correct location...
Code:
C:\Program Files\Lucas Arts\ Star Wars Battlefront II\ GameData\ lvl_PC\SIDE
And don't forget to backup the originals.
__________________
Reply With Quote
  #8  
Old October 13th, 2009
alexrdias's Avatar
I'm just cool to Post
 
Join Date: May 2nd, 2008
Posts: 27
Rep Power: 0
alexrdias is a n00b
Default Re: How to replace a model for every model on a class?

It didn't work. Maybe it was on the .lua file. I've edited the .odf files and the ABCc_con.lua file. Can somebody tell me what do I need to edit on the .lua file, besides the units names?
Reply With Quote
  #9  
Old October 13th, 2009
icemember's Avatar
Addicted to GF
 
Join Date: January 16th, 2008
Location: Grassy.N
Posts: 288
Rep Power: 0
icemember is the life of the partyicemember is the life of the partyicemember is the life of the party
Send a message via MSN to icemember
Default Re: How to replace a model for every model on a class?

Will assuming your using one of the default ARC classes, all files should be where there suppose to be.
Nect your would go to your ABC_con.lua and find this section:

THIS IS AN EXAMPLE
-----------------------------------------
ReadDataFile("sound\\yav.lvl;yav1cw")
ReadDataFile("SIDE\\rep.lvl",
"rep_inf_ep3_rifleman",
"rep_inf_ep3_rocketeer",
"rep_inf_ep2_rocketeer", add your trooper somewhere in here
"rep_inf_ep3_engineer",
"rep_inf_ep3_sniper",
"rep_inf_ep3_officer",
"rep_inf_ep3_jettrooper",
"rep_hover_fightertank",
"rep_hero_anakin",
"rep_hover_barcspeeder")
ReadDataFile("SIDE\\cis.lvl",
"cis_inf_rifleman",
"cis_inf_rocketeer",
"cis_inf_engineer",
"cis_inf_sniper",
"cis_inf_officer",
"cis_inf_droideka",
"cis_hero_darthmaul",
"cis_hover_aat")


ReadDataFile("SIDE\\tur.lvl",
"tur_bldg_laser",
"tur_bldg_tower")

SetupTeams{
rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = { "rep_inf_ep2_rocketeer",9, 25}, replace all republic classes with yours.
assault = { "rep_inf_ep2_rocketeer",1, 4},
engineer = { "rep_inf_ep2_rocketeer",1, 4},
sniper = { "rep_inf_ep2_rocketeer",1, 4},
officer = {"rep_inf_ep2_rocketeer",1, 4},
special = { "rep_inf_ep2_rocketeer",1, 4},

},
cis = {
team = CIS,
units = 20,
reinforcements = 150,
soldier = { "cis_inf_rifleman",9, 25},
assault = { "cis_inf_rocketeer",1, 4},
engineer = { "cis_inf_engineer",1, 4},
sniper = { "cis_inf_sniper",1, 4},
officer = {"cis_inf_officer",1, 4},
special = { "cis_inf_droideka",1, 4},
}
}

SetHeroClass(CIS, "cis_hero_darthmaul")
SetHeroClass(REP, "rep_hero_anakin")

This is one way of doing it.
__________________
All attempts are rewarded with success at the end
Reply With Quote
  #10  
Old October 13th, 2009
alexrdias's Avatar
I'm just cool to Post
 
Join Date: May 2nd, 2008
Posts: 27
Rep Power: 0
alexrdias is a n00b
Default Re: How to replace a model for every model on a class?

Thanks. I'll try it and tell if it runs fine.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7.