Multiple modding questions

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
CdtFox
2nd Lieutenant
2nd Lieutenant
Posts: 379
Joined: Wed Feb 17, 2016 8:51 am
Projects :: BUC and Designated Days
Games I'm Playing :: SWBF2+EAW+Subnautica
xbox live or psn: No gamertag set
Location: France
Contact:

Multiple modding questions

Post by CdtFox »

Hey all,

I'm back today with different modding question and I prefered to make one subject that several...don't know if this a good thing or not, lol.

1) What is the skeleton name of the clone troopers? I didn't find it! Only for battledroid or maganuard... :runaway:
2) How can I choose (or replace the default) little era icon?
3) How to localize a new era-mod name?
4) I want to reduce the size of one stock effect. Is there a way to do it with some odf codes (Note that I never made my own effect... :cry: )

Thanks for all the help as usuall guys :D
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Re: Multiple modding questions

Post by AnthonyBF2 »

This is a snip from addme.lua from a mod I never finished regarding how to change era icon;
If you're adding a new icon you'll have to include a custom shell.lvl for your mod and include new hud items in there, then load that custom shell.lvl also from addme.lua. If I can recall, era icons are just textures.

Code: Select all

AddNewGameModes( sp_missionselect_listbox_contents,
"cor1%s_%s", 
{
era_y = 1, 
era_z = 1,
mode_con_y = 1, 
mode_ctf_y = 1, 
mode_con_z = 1, 
mode_ctf_z = 1,
change = {
era_y = { name="Aggressive CW", icon2="rep_icon" },
era_z = { name="Aggressive GCW", icon2="all_icon" },
}
}
)
Regarding effect size, you can edit the effect files in a text editing program. There's can change many bits about effects that way without using particle editor. (if that's the program)
CdtFox
2nd Lieutenant
2nd Lieutenant
Posts: 379
Joined: Wed Feb 17, 2016 8:51 am
Projects :: BUC and Designated Days
Games I'm Playing :: SWBF2+EAW+Subnautica
xbox live or psn: No gamertag set
Location: France
Contact:

Re: Multiple modding questions

Post by CdtFox »

anthonybf2 wrote:This is a snip from addme.lua from a mod I never finished regarding how to change era icon;
If you're adding a new icon you'll have to include a custom shell.lvl for your mod and include new hud items in there, then load that custom shell.lvl also from addme.lua. If I can recall, era icons are just textures.

Code: Select all

AddNewGameModes( sp_missionselect_listbox_contents,
"cor1%s_%s", 
{
era_y = 1, 
era_z = 1,
mode_con_y = 1, 
mode_ctf_y = 1, 
mode_con_z = 1, 
mode_ctf_z = 1,
change = {
era_y = { name="Aggressive CW", icon2="rep_icon" },
era_z = { name="Aggressive GCW", icon2="all_icon" },
}
}
)
Perfect! Thanks :D
Regarding effect size, you can edit the effect files in a text editing program. There's can change many bits about effects that way without using particle editor. (if that's the program)
But what code should I use? Do you know wich one? Thanks :mrgreen:
User avatar
Anakin
Master of the Force
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: Multiple modding questions

Post by Anakin »

1) they use the default skeleton. you don't need to put something in the odf file. You'll only need this when you change the basepose skeleton for a custom unit.
CdtFox
2nd Lieutenant
2nd Lieutenant
Posts: 379
Joined: Wed Feb 17, 2016 8:51 am
Projects :: BUC and Designated Days
Games I'm Playing :: SWBF2+EAW+Subnautica
xbox live or psn: No gamertag set
Location: France
Contact:

Re: Multiple modding questions

Post by CdtFox »

Anakin wrote:1) they use the default skeleton. you don't need to put something in the odf file.
Wow I didn't know that, thx!
Post Reply