Page 1 of 1

Hannibal - Marriage Problems

Posted: Fri Jan 29, 2016 7:47 am
by Cardinal Ape
Hi folks,

I think I may have come across a misfiring event(s) in Hannibal.

When the Numidian Civil War occurs, if Syphax and Shophonisbe have been married it causes troops to switch sides. At least I think that is the intent, I'm not too familiar with the history on this one. However, what seems to happen is both Rome and Carthage end up with duplicate sets of units. I think the script that is meant to remove/kill units is missing it's target.

[ATTACH]37239[/ATTACH]

Save:[ATTACH]37240[/ATTACH]

The events are named; evt_nam_CAR_ShophonisbeMarriedSyphaxCsq205_Step1 and evt_nam_CAR_ShophonisbeMarriedSyphaxCsq205_Step2

Posted: Fri Jan 29, 2016 12:52 pm
by Bohémond
Could you post yours scriptsreports files, please ?

Regards

Posted: Sat Jan 30, 2016 12:26 am
by Cardinal Ape
Whoops, I forgot the scriptreports even existed. My bad.

[ATTACH]37253[/ATTACH]


The evt_nam_CAR_ShophonisbeMarriedSyphaxCsq205_Step1 is failing to remove the Numidii militia and infantry units. The cavalry and leaders are properly removed. I see in the units folder that the Numidii infantry (1190, 1191, and 1192) and the militia (1196-1199) use AFR models, maybe this is the cause?

The evt_nam_CAR_ShophonisbeMarriedSyphaxCsq205_Step2 is supposed to remove all Roman Masaesylii forces, but it only kills the leader Syphax. The Masaesylii infantry (1200-1202) and militia (1206 an 1207) use AFR models. The Masaesylii mounted units (1203 - 1205) use NUM models. The supply unit (1208) is also AFR.

I apologize if my speculation is wrong and getting in the way of the problem. It is kind of like a puzzle and the gamer in me can't not try to solve it.

Posted: Sun Jan 31, 2016 12:18 am
by Franciscus
Hi Cardinal.

Pending Bohémond's answer, the event is not doing exactly as intended by the designer, but I fear there is no easy solution. The leaders and some units are correctly removed, but those units that use AFR models are not. But we cannot remove all units with AFR models from the game and changing the models/units DB AND the setups of all SPW scenarios to accomodate the necessary changes cannot be realistically expected to happen...

Until/if it is fixed, you may have to rationalize that the units that do not switch sides were lured/bought to not do it, as so often happened... :bonk:

Regards

Posted: Sun Jan 31, 2016 12:34 am
by Cardinal Ape
That is understandable. I have the feeling that it was not reported until now because very few players make it to the year -205. I only found it because I was trying to document it for my event list. I doubt it will impact the war that much so late in the game.

You might be able to take out some of the Roman Masaesylii units that use the NUM tag. Those are the most significant, I think.

Posted: Mon Feb 01, 2016 7:46 pm
by Bohémond
As Franciscus has indicated, it will be hard to have a perfect subfactions switche between MAE and NUM, due to subfactions being a cosmetic overlay.
But some improvements can be added.
I will ''work'' on it.
I need a few days.


Regards

Posted: Tue Feb 02, 2016 1:05 am
by Cardinal Ape
Thank you for trying to fix it.

Sounds like a tough fix. It happens so late in the game that it is not worth stressing over. The war has probably been won long before this event would pop up.

If the intent of the event is to be in favor of Carthage, maybe consider giving them more troops or reduce the EP cost of the option to compensate for those Roman elephants and cavalry.

Posted: Tue Feb 02, 2016 3:32 pm
by Bohémond
Do you use the ForceEvent console command to make the events fire ?

Regards

Posted: Tue Feb 02, 2016 11:55 pm
by Cardinal Ape
No, I did not use the ForceEvent command.

I did use the ForceDateTo command twice. Then I ran the turns normally until the events happened.

First to -213/02/01 for Syphax declares war
Second to -206/07/01 for Death of Gaia

Starting in May -205, there will be a few turns were Carthage will need to use the diplomatic option to induce the Syphax and Shophonisbe Marriage before the Numidian Civil War starts.

Posted: Thu Feb 04, 2016 5:57 pm
by Bohémond
Fixed and tested.
Do you want the event file ?

I have added another small fix for Sicilian Revolt Event.

Regards

Posted: Thu Feb 04, 2016 11:24 pm
by Cardinal Ape
Yes, please.

Thank you for the work.

Posted: Thu Feb 04, 2016 11:29 pm
by Bohémond
Here you are ;


The attachment HAN_3_SecondPunicWar219.rar is no longer available



Keep me posted.


Regards

Posted: Sun Mar 13, 2016 2:28 am
by Cardinal Ape
Hello, I am back again for more marriage consoling... :coeurs: :bonk:

I am not sure if this is really a problem, it just struck me as a bit odd so I figured I'd ask about it.

In the event 'evt_nam_CAR_ShophonisbeMarriage205' Syphax appears to abandon the Roman cause; he relocates back to Auzea and then he and the Mauritania area become locked until the Numidian Civil War happens. However, his army remains in play but now they can't enter their home territory, if they are already in their home territory then they get stuck. It seems weird, should it be this way?

With the new fix for the civil war this sorts itself out in a few turns when the event kills the army. I do wonder if it wouldn't be better to kill them with the above event.

[ATTACH]37907[/ATTACH]

In that picture you can also see a small Roman force from Siga besieging Rusaddir in the bottom left. Despite the fix for the duplicated armies that army still gets duplicated because they moved into the Tingitana area, outside of the kill zone.

Posted: Sun Mar 13, 2016 2:51 am
by Bohémond
I will look into the 'evt_nam_CAR_ShophonisbeMarriage205' with Auzea relocation

I will look into the small bottom left army too.

Regards

Posted: Mon Mar 14, 2016 2:07 pm
by Bohémond
Please post your scriptReports and savegame it will be helpful.

Thank you

Regards

Posted: Mon Mar 14, 2016 10:42 pm
by Cardinal Ape
Here are the files.

[ATTACH]37964[/ATTACH]

FYI, I am using the event file posted earlier in this thread.

Posted: Thu Apr 14, 2016 9:17 am
by Cardinal Ape
Hello, I am back again. Great news right? :neener:

This time it is not something so trivial. Sorry, I should have noticed this earlier.

Massinissa, the Great King and Unificator of Numidia is dying an early death in the Numidian Civil War event. I don't think this is intended.

Once again, my knowledge of this history is weak... It may be intended for Massinissa to be removed from play, exiled in a sense for a time, perhaps until Rome uses the option to support his claim on the throne of Numidia. But that option is not possible unless Massinissa is in play. He may need to be recreated in the civil war event.

He is currently being killed by the command to kill all NUM tagged units in evt_nam_CAR_ShophonisbeMarriedSyphaxCsq205_Step1.

Save and script report:
[ATTACH]38289[/ATTACH]

P.S. My event list is all but done, it should be up sometime in the next few days.

Posted: Thu Apr 14, 2016 1:22 pm
by Bohémond
Good Catch.

My choice will be to add Massinissa to Capussa Stack in Cirta during the alliance switch.

What do you think ?

Regards

Posted: Fri Apr 15, 2016 4:18 am
by Cardinal Ape
That would make him a Roman, correct? If so, I don't think that would work. Massinissa needs to stay Carthaginian until Rome uses the diplomatic option to support his claim on the throne (evt_nam_SPQ_MassinissaInheritsNumidia204) because it requires a Carthaginian controlled Massinissa. Or maybe just remove that requirement.

Posted: Fri Apr 15, 2016 2:19 pm
by Bohémond
It will make him Roman but the scriptcommand can be modified in the SPQ option to be able to find him even if a roman leader.
I will modify both the event and the option and tests them.
It will take a few days as I will not be able to do it next week.

Regards

Posted: Thu Apr 28, 2016 1:14 pm
by Bohémond
Attached are two files that should fix the Massinissa Inherit Option.

[ATTACH]38658[/ATTACH]
[ATTACH]38659[/ATTACH]

Tested and it works.

Please test them and let me know.

Regards

Posted: Sat Apr 30, 2016 12:06 am
by Cardinal Ape
Okay, thanks.

I'll try to test it sometime soon, but probably not this weekend. It is morel mushroom season here; I'm going to be hunting shrooms, not bugs. :)

Posted: Sat Apr 30, 2016 5:45 am
by Straight Arrow
Cardinal Ape wrote:It is morel mushroom season here; I'm going to be hunting shrooms, not bugs. :)


Ah, moose tenderloin with a side dish of morels fried in butter over an open campfire is the best!

Posted: Sun May 15, 2016 4:12 am
by Cardinal Ape
Okay, I finally got around to testing the most recent fix.

Everything appears to be correct. Though, the change of ownership notifications in the message log are duplicated, two for each.

To be thorough I tested the recent change in conjunction with the other Massinissa related events/options, and I did find one problem:

[ATTACH]38893[/ATTACH]

As seen, it is possible to end up with two Massinissa units in play. This is caused by the Carthaginian diplomatic option to form an alliance with Numidia (evt_nam_CAR_AllianceWithNumidia213).

The start date for this option is -213/06/01. Using the option will create a non-king version of Massinissa. It does not check if Massinissa is in play.

There is no issue with the option if it is used before Rome uses the diplomatic option to Support Massinissa's Claim (evt_nam_SPQ_MassinissaInheritsNumidia204).

I don't know why Carthage would wait 9 years to use the option, but that is what happens if they do. I'd guess it is intended for Carthage to use the option before then, so adding in a max date would fix it. Before the year -204.

Save and script.
[ATTACH]38894[/ATTACH]

Posted: Mon May 16, 2016 1:07 pm
by Bohémond
Thank you for the feedback,

I will look at both issues (duplicates messages and duplicate Massinissa) and post the fixes.

Regards