Custom sides and modding questions
Moderator: Moderators
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Custom sides and modding questions
the position of the unit on the selectionscreen is determinated by the class under which you listed it in the lua.
the order is the same as in the lua.
the order is the same as in the lua.
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: Custom sides and modding questions
the setupteam lua or the mapc_con.lua??
cannot make something with my map because my grapiccard didn't work i can post somethimes but have no map sides or something else.
cannot make something with my map because my grapiccard didn't work i can post somethimes but have no map sides or something else.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Custom sides and modding questions
"the lua" normally refers to the lua of your mission so mapc_con.lua.
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: Custom sides and modding questions
ah ok thx much but i cannot test
=======EDIT======
ok my graphic works fine again.
so what part do you mean?? the red or the yellow one??
Hidden/Spoiler:
ok my graphic works fine again.
so what part do you mean?? the red or the yellow one??
Hidden/Spoiler:
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Custom sides and modding questions
the yellow, the red one i just loading the units from the side, the order of that doesnt matter most of the time.
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: Custom sides and modding questions
so i will see first the rifleman... and the last two will be the RC and then the ARC right?? because the last times it wasn't so. i have to see when i have time to do it, because after my graphic my sound doesn't work 
============EDIT=============
it didn't work here is my lua
and here is the log file
and here is my rep.req file
how can i make the names of the weapon normal?? and why can't i see first perspectives??
============EDIT=============
it didn't work here is my lua
Hidden/Spoiler:
Hidden/Spoiler:
and here is my rep.req file
Hidden/Spoiler:
how can i make the names of the weapon normal?? and why can't i see first perspectives??
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Custom sides and modding questions
first you are using the class rep_inf_rifleman in the lua which is neither loaded from the sinde nor does it exist.
did you make a custom setupteamlua? if you didnt you cant simply define a new unittypes "republiccommando" and "arctrooper" like you did.
additionally a dispenser cant find the autoturretodf it should dispense.
did you make a custom setupteamlua? if you didnt you cant simply define a new unittypes "republiccommando" and "arctrooper" like you did.
additionally a dispenser cant find the autoturretodf it should dispense.
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: Custom sides and modding questions
i don't know what you mean but my rifleman works fineDarthD.U.C.K. wrote:first you are using the class rep_inf_rifleman in the lua which is neither loaded from the sinde nor does it exist.
did you make a custom setupteamlua? if you didnt you cant simply define a new unittypes "republiccommando" and "arctrooper" like you did.
additionally a dispenser cant find the autoturretodf it should dispense.
yes. i did like in the tutorial. here it is
Hidden/Spoiler:
what is this asking for??
Hidden/Spoiler:
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: Custom sides and modding questions
dispenser:
rifleman:
when i said "rep_inf_rifleman" i meant "rep_inf_rifleman" and not "rep_inf_ep3_rifleman".
what is the problem actually?
Code: Select all
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\WeaponDispenser.cpp(573)
Dispenser missing entity class "rep_bldg_inf_autoturret"Code: Select all
Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(1379)
Hero class "rep_inf_rifleman" not found for team 1 (check the side's .req file)what is the problem actually?
Last edited by DarthD.U.C.K. on Tue Dec 14, 2010 1:07 pm, edited 1 time in total.
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: Custom sides and modding questions
I don't know if you have done this already but for first person perspective, your req folder that is inside the rep sides folder, you would add an fpm folder for first person perspective. In this folder you include the following reptroop.req file:Anakin wrote:how can i make the names of the weapon normal?? and why can't i see first perspectives??
Hidden/Spoiler:
To see the correct names for your weapons you need to run the editlocalize.bat file, and add the names in.
This explains it better:
http://www.gametoast.com/forums/viewtopic.php?t=971
If you have already done this, I'm sorry. I thought I'd help.
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: Custom sides and modding questions
oh you mean my hero that's no problem it didn't crash my game i made this because i had problems with he lightsaber.DarthD.U.C.K. wrote:dispenser:rifleman:Code: Select all
Message Severity: 3 C:\Battlefront2\main\Battlefront2\Source\WeaponDispenser.cpp(573) Dispenser missing entity class "rep_bldg_inf_autoturret"when i said "rep_inf_rifleman" i meant "rep_inf_rifleman" and not "rep_inf_ep3_rifleman".Code: Select all
Message Severity: 2 C:\Battlefront2\main\Battlefront2\Source\LuaCallbacks_Mission.cpp(1379) Hero class "rep_inf_rifleman" not found for team 1 (check the side's .req file)
what is the problem actually?
what file is this: rep_bldg_inf_autoturret where can i find it and where must it be??
thx i will see later first i will make all my sides runJendo7 wrote:I don't know if you have done this already but for first person perspective, your req folder that is inside the rep sides folder, you would add an fpm folder for first person perspective. In this folder you include the following reptroop.req file:Anakin wrote:how can i make the names of the weapon normal?? and why can't i see first perspectives??
This calls the first person model for your troopers, as long as that model, and it's corresponding textures is in your .msh folder.Hidden/Spoiler:
To see the correct names for your weapons you need to run the editlocalize.bat file, and add the names in.
This explains it better:
http://www.gametoast.com/forums/viewtopic.php?t=971
If you have already done this, I'm sorry. I thought I'd help.
==EDIT==
i changed my mission file:
Code: Select all
REQN
{
"lvl"
"TA3c_con"
}
}Code: Select all
sp_missionselect_listbox_contents[sp_n+1] = { isModLevel = 1, mapluafile = "TA3%s_%s", era_g = 0, era_c = 1, mode_con_g = 0, mode_con_c = 1,}Code: Select all
AddDownloadableContent("TA3","TA3g_con",4)- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: Custom sides and modding questions
You could try a manual clean http://www.gametoast.com/forums/viewtop ... =27&t=9961 That might fix it.
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
adding side problem
there are so much.DarthD.U.C.K. wrote: [..]
what is the problem actually?
1) there is no ARC trooper
2) there is no first perspective
3) there is no shooting sound
4) there is still gcw after i cleaned
.
.
.
the first is the most important one
==EDIT==
so the setup team function doesn't work for my arc.
how can i use the add unitclass function?? i haven't understand right in the tutorial.
i found this in the setup_team.lua file.
-- add unit classes in type order
for _, type in ipairs(typeList) do
if side[type] and (not teamItems or not teamItems[name] or teamItems[name][type]) then
AddUnitClass(team, side[type][1], side[type][2], side[type][3])
end
end
but what is sidetype 1 2 and 3??
___________________________________________________________________________________
Ok i will stop this now. maybe i'll have some questions later.
1)now i have some questions about mapping. how can i change hight of the path??
2) is there a trick to make objects together??
i mean this:
Hidden/Spoiler:
i don't know why but i have a problem with the sides again.
i wanted to add ONLY commander gree to my map.
here the files:
the msh/option/tga files are all there.
rep_inf_commander_gree.req
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
Hidden/Spoiler:
what's the difference between Message Severity: 3 and Message Severity: 2??
Topics merged, -Staff
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: adding side problem
I've uploaded Deviss's HD Gree model in a side folder for you, and added a munged gree.lvl file as well, in case you arn't able to get it working.
Just add this to your .lua:
Place the gree folder in your data_worldname/Sides
.. and before you munge dont forget to add another folder named Gree to your Build/Sides folder. Just copy the contents of the Build/Sides/REP folder to the Gree folder making sure the MUNGED/PC folder is empty, and edit (right click/edit) the munge.bat to this:
Have a good look as to how I've set up the side, this should help you out if you want to do more sides in future.
Download:
Gree Side
Don't forget the credits once you release it:
CREDITS:
* Deviss
* Icemember - all skin/texture, parts of Gree, great Bro
* RepSharpShooter, FragMe - HD body model
* DarthD.U.C.K. - helmet part
No need to credit me.
Just add this to your .lua:
Hidden/Spoiler:
.. and before you munge dont forget to add another folder named Gree to your Build/Sides folder. Just copy the contents of the Build/Sides/REP folder to the Gree folder making sure the MUNGED/PC folder is empty, and edit (right click/edit) the munge.bat to this:
Hidden/Spoiler:
Have a good look as to how I've set up the side, this should help you out if you want to do more sides in future.
Download:
Gree Side
Don't forget the credits once you release it:
CREDITS:
* Deviss
* Icemember - all skin/texture, parts of Gree, great Bro
* RepSharpShooter, FragMe - HD body model
* DarthD.U.C.K. - helmet part
No need to credit me.
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: Custom sides and modding questions
i never heard or read something about this
what munged pc folder in the gree folder?? or in build??
what have i to do if i want other sides in addition?? i could change the readdatafile:...gree.lvl to rep.lvl again right?? and the thing in the build folder i needn't to do??
i will try it.Jendo7 wrote:I've uploaded Deviss's HD Gree model in a side folder for you, and added a munged gree.lvl file as well, in case you arn't able to get it working.
Just add this to your .lua:
Place the gree folder in your data_worldname/SidesHidden/Spoiler:
.. and before you munge dont forget to add another folder named Gree to your Build/Sides folder. Just copy the contents of the Build/Sides/REP folder to the Gree folder making sure the MUNGED/PC folder is empty, and edit (right click/edit) the munge.bat to this:
Hidden/Spoiler:
what munged pc folder in the gree folder?? or in build??
what have i to do if i want other sides in addition?? i could change the readdatafile:...gree.lvl to rep.lvl again right?? and the thing in the build folder i needn't to do??
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: Custom sides and modding questions
Yeah, just change the gree folder to rep and your .req file also, and then you don't need to add anything to the Build/sides folder. That's probably easier.
Edit: If you have any trouble I can remunge it as rep.lvl, and send you the rep folder but you can't just rename the lvl file as the .req is different.
Edit: If you have any trouble I can remunge it as rep.lvl, and send you the rep folder but you can't just rename the lvl file as the .req is different.
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: Custom sides and modding questions
here my error log
Hidden/Spoiler:
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: Custom sides and modding questions
That's strange, it works fine for me.
Edit: Did you place gree.lvl in your maps SIDE folder here: ABC/data/_LVL_PC/SIDE
Edit: Did you place gree.lvl in your maps SIDE folder here: ABC/data/_LVL_PC/SIDE
- Anakin
- Master of the Force

- Posts: 4817
- Joined: Sat Sep 19, 2009 11:37 am
- Projects :: RC Side Mod - Remastered - SWBF3 Legacy
- Location: Mos Espa (germany)
Re: Custom sides and modding questions
Do you mean your File? No
I Made the changes and munge. Did i need your Files too or only or i don't know how flat change the luas reqs etc.
I Made the changes and munge. Did i need your Files too or only or i don't know how flat change the luas reqs etc.
- Jendo7
- Sith

- Posts: 1304
- Joined: Wed Apr 01, 2009 6:37 pm
- Location: Cambridge, England.
- Contact:
Re: Custom sides and modding questions
Ok, I've remunged it in the REP side folder, and have included the munged rep.lvl and rep side folder as well.
This step is important. Before you munge the REP side...
...Change this in your .lua:
ReadDataFile("dc:SIDE\\gree.lvl",
"rep_inf_Commander_Gree")
To this:
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_Commander_Gree")
Otherwise it will try to load gree.lvl which is not there.
Download:
rep side folder
It works for me, so you should have no trouble. Also, you get this in the PC_MungeLog.txt when you munge it, that is normal, and doesn't effect it at all:
In game:
If for some strange reason, you still can't get it working just place the rep.lvl I've included in your maps SIDE folder
This step is important. Before you munge the REP side...
...Change this in your .lua:
ReadDataFile("dc:SIDE\\gree.lvl",
"rep_inf_Commander_Gree")
To this:
ReadDataFile("dc:SIDE\\rep.lvl",
"rep_inf_Commander_Gree")
Otherwise it will try to load gree.lvl which is not there.
Download:
rep side folder
It works for me, so you should have no trouble. Also, you get this in the PC_MungeLog.txt when you munge it, that is normal, and doesn't effect it at all:
Hidden/Spoiler:
Hidden/Spoiler:

