Multiple 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 questions

Post by CdtFox »

Hello community,

I have 2 little questions:

1) I've added one addon mesh in the unit's odf, everything is working fine but when jet-jumping the addon mesh disappears, can i solve that?

2) One more thing, with my custom unit I noticed this little bug: using Pre Vizla/my unit sprint attack or saber attack will render you unable to perform any further Darksaber attacks unless you switch to his rifle and back again. How I can fix this?
User avatar
Teancum
Jedi Admin
Jedi Admin
Posts: 11080
Joined: Wed Sep 07, 2005 11:42 pm
Projects :: No Mod project currently.
Games I'm Playing :: Destiny
xbox live or psn: No gamertag set
Location: Indiana

Re: Multiple questions

Post by Teancum »

1) I had this problem long ago. As I recall it had something to do with the jetpack .fx file. I want to say that I added a jetpack model to that as well, but I've long since lost the source files.
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 questions

Post by CdtFox »

Teancum wrote:1) I had this problem long ago. As I recall it had something to do with the jetpack .fx file. I want to say that I added a jetpack model to that as well, but I've long since lost the source files.
Ok thank you, I'll try other things by myself and see if that works

Also I've done a large side mod, wich add (for now) 2 ~ 3 eras everything is fine in my addme or scripts, the only problems is that only one of the 3 era's names is showing up. The others are just the differents letters I used.

How I can fix it? :)
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Multiple questions

Post by thelegend »

Can you please post an example-part of your addme (Best with all three different eras displayed).

Because of the jetpack, I heard it was impossible to attach models to units while jet jumping/hovering. The only solution was to attach the model to the character unit in XSI. Or by hexediting.
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 questions

Post by CdtFox »

Here are some of the keys part of my addme.

Note: the scripts are working fine but only the "early days" name is showing in-game the other is "U"
Hidden/Spoiler:
[code]sp_missionselect_listbox_contents[sp_n+1] = { isModLevel = 1, mapluafile = "URM%s_%s", era_g = 1, era_c = 1, mode_con_g = 1, mode_con_c = 1, era_u = 1, mode_con_u = 1, era_v = 1, mode_con_v = 1}

-- CONQUEST --
print(" adding conquest missions..")


AddNewGameModes( sp_missionselect_listbox_contents, "cor1%s_%s", {era_u = 1, mode_con_u = 1, change = { era_u ={ name="Last Days of TCW", icon2="rep_icon" }}} )
AddNewGameModes( mp_missionselect_listbox_contents, "cor1%s_%s", {era_u = 1, mode_con_u = 1, change = { era_u ={ name="Last Days of TCW", icon2="rep_icon" }}} )

AddNewGameModes( sp_missionselect_listbox_contents, "dea1%s_%s", {era_u = 1, mode_con_u = 1, change = { era_u ={ name="Last Days of TCW", icon2="rep_icon" }}} )
AddNewGameModes( mp_missionselect_listbox_contents, "dea1%s_%s", {era_u = 1, mode_con_u = 1, change = { era_u ={ name="Last Days of TCW", icon2="rep_icon" }}} )

AddNewGameModes( sp_missionselect_listbox_contents, "cor1%s_%s", {era_v = 1, mode_con_v = 1, change = { era_v ={ name="Early Days of TCW", icon2="rep_icon" }}} )
AddNewGameModes( mp_missionselect_listbox_contents, "cor1%s_%s", {era_v = 1, mode_con_v = 1, change = { era_v ={ name="Early Days of TCW", icon2="rep_icon" }}} )

AddNewGameModes( sp_missionselect_listbox_contents, "dea1%s_%s", {era_v = 1, mode_con_v = 1, change = { era_v ={ name="Early Days of TCW", icon2="rep_icon" }}} )
AddNewGameModes( mp_missionselect_listbox_contents, "dea1%s_%s", {era_v = 1, mode_con_v = 1, change = { era_v ={ name="Early Days of TCW", icon2="rep_icon" }}} )

AddDownloadableContent("URM","URMu_con",4)
AddDownloadableContent("URM","URMv_con",4)


AddDownloadableContent("dea1","dea1u_con",4)
AddDownloadableContent("cor1","cor1u_con",4)

AddDownloadableContent("dea1","dea1v_con",4)
AddDownloadableContent("cor1","cor1v_con",4)
[/code]
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Multiple questions

Post by thelegend »

Okay...well. First I personally would order the addme a bit. One example from our addme:
Hidden/Spoiler:
[code]
mapluafile = "CO3%s_%s",
era_x = 1,
era_y = 1,
mode_con_x = 1,
mode_con_y = 1,
mode_eli_y = 1,
mode_eli_x = 1,
mode_ctf_x = 1,
mode_1flag_x = 1,
mode_tdm_x = 1,
mode_tdm_y = 1,
mode_space_x = 1,
mode_siege_x = 1,
[/code]
And I think you have to name your first era's before the other ones. Like U, V, G, C instead of C, G, U and V. I am not sure. I never worked with three additional eras before.
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 questions

Post by CdtFox »

thelegend wrote:Okay...well. First I personally would order the addme a bit. One example from our addme:
Hidden/Spoiler:
[code]
mapluafile = "CO3%s_%s",
era_x = 1,
era_y = 1,
mode_con_x = 1,
mode_con_y = 1,
mode_eli_y = 1,
mode_eli_x = 1,
mode_ctf_x = 1,
mode_1flag_x = 1,
mode_tdm_x = 1,
mode_tdm_y = 1,
mode_space_x = 1,
mode_siege_x = 1,
[/code]
And I think you have to name your first era's before the other ones. Like U, V, G, C instead of C, G, U and V. I am not sure. I never worked with three additional eras before.
Well , i dont know why it din't worked

Today is a bad day for me: my computer crashes when munging with this error "level.pack" as stopped working. Now the Republic side (almost done :cry: ) crash on evry maps when I want to load them...Can I solve that too? :)

--EDIT--

Just had to re-munge my rep side without crashing, it worked :D

And here is one pic on the main problem:
Hidden/Spoiler:
Image
--EDIT2--

As you can see, the second era is not using the icon i want too.
Post Reply