Page 1 of 1

Multiple questions

Posted: Fri Oct 07, 2016 9:54 am
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?

Re: Multiple questions

Posted: Fri Oct 07, 2016 10:51 am
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.

Re: Multiple questions

Posted: Sat Oct 08, 2016 1:08 am
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? :)

Re: Multiple questions

Posted: Sat Oct 08, 2016 4:00 am
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.

Re: Multiple questions

Posted: Sun Oct 09, 2016 11:59 am
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]

Re: Multiple questions

Posted: Sun Oct 09, 2016 12:13 pm
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.

Re: Multiple questions

Posted: Sun Oct 09, 2016 2:17 pm
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.