User avatar
Cardinal Ape
General of the Army
Posts: 613
Joined: Wed Mar 07, 2012 1:59 am

Hannibal - Marriage Problems

Fri Jan 29, 2016 7:47 am

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
Attachments
NumidiaSupport.zip
(1.51 MiB) Downloaded 38 times
SyphaxHadTwins.png

User avatar
Bohémond
Posts: 2379
Joined: Wed May 14, 2008 8:47 pm

Fri Jan 29, 2016 12:52 pm

Could you post yours scriptsreports files, please ?

Regards
Marco, perché vai così forte in salita?» «Per abbreviare la mia agonia.

User avatar
Cardinal Ape
General of the Army
Posts: 613
Joined: Wed Mar 07, 2012 1:59 am

Sat Jan 30, 2016 12:26 am

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.
Attachments
Scripts.zip
(152.29 KiB) Downloaded 35 times

User avatar
Franciscus
Posts: 4564
Joined: Fri Apr 20, 2007 8:31 pm
Location: Portugal

Sun Jan 31, 2016 12:18 am

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
[SIGPIC][/SIGPIC]

User avatar
Cardinal Ape
General of the Army
Posts: 613
Joined: Wed Mar 07, 2012 1:59 am

Sun Jan 31, 2016 12:34 am

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.

User avatar
Bohémond
Posts: 2379
Joined: Wed May 14, 2008 8:47 pm

Mon Feb 01, 2016 7:46 pm

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
Marco, perché vai così forte in salita?» «Per abbreviare la mia agonia.

User avatar
Cardinal Ape
General of the Army
Posts: 613
Joined: Wed Mar 07, 2012 1:59 am

Tue Feb 02, 2016 1:05 am

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.

User avatar
Bohémond
Posts: 2379
Joined: Wed May 14, 2008 8:47 pm

Tue Feb 02, 2016 3:32 pm

Do you use the ForceEvent console command to make the events fire ?

Regards
Marco, perché vai così forte in salita?» «Per abbreviare la mia agonia.

User avatar
Cardinal Ape
General of the Army
Posts: 613
Joined: Wed Mar 07, 2012 1:59 am

Tue Feb 02, 2016 11:55 pm

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.

User avatar
Bohémond
Posts: 2379
Joined: Wed May 14, 2008 8:47 pm

Thu Feb 04, 2016 5:57 pm

Fixed and tested.
Do you want the event file ?

I have added another small fix for Sicilian Revolt Event.

Regards
Marco, perché vai così forte in salita?» «Per abbreviare la mia agonia.

User avatar
Cardinal Ape
General of the Army
Posts: 613
Joined: Wed Mar 07, 2012 1:59 am

Thu Feb 04, 2016 11:24 pm

Yes, please.

Thank you for the work.

User avatar
Bohémond
Posts: 2379
Joined: Wed May 14, 2008 8:47 pm

Thu Feb 04, 2016 11:29 pm

Here you are ;


The attachment HAN_3_SecondPunicWar219.rar is no longer available



Keep me posted.


Regards
Attachments
HAN_3_SecondPunicWar219.rar
(14.23 KiB) Downloaded 43 times
Marco, perché vai così forte in salita?» «Per abbreviare la mia agonia.

User avatar
Cardinal Ape
General of the Army
Posts: 613
Joined: Wed Mar 07, 2012 1:59 am

Sun Mar 13, 2016 2:28 am

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.
Attachments
leftovers.png

User avatar
Bohémond
Posts: 2379
Joined: Wed May 14, 2008 8:47 pm

Sun Mar 13, 2016 2:51 am

I will look into the 'evt_nam_CAR_ShophonisbeMarriage205' with Auzea relocation

I will look into the small bottom left army too.

Regards
Marco, perché vai così forte in salita?» «Per abbreviare la mia agonia.

User avatar
Bohémond
Posts: 2379
Joined: Wed May 14, 2008 8:47 pm

Mon Mar 14, 2016 2:07 pm

Please post your scriptReports and savegame it will be helpful.

Thank you

Regards
Marco, perché vai così forte in salita?» «Per abbreviare la mia agonia.

User avatar
Cardinal Ape
General of the Army
Posts: 613
Joined: Wed Mar 07, 2012 1:59 am

Mon Mar 14, 2016 10:42 pm

Here are the files.

[ATTACH]37964[/ATTACH]

FYI, I am using the event file posted earlier in this thread.
Attachments
Numida Wedding.zip
(627.3 KiB) Downloaded 35 times

User avatar
Cardinal Ape
General of the Army
Posts: 613
Joined: Wed Mar 07, 2012 1:59 am

Thu Apr 14, 2016 9:17 am

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.
Attachments
Numidia.7z
(118.13 KiB) Downloaded 35 times

User avatar
Bohémond
Posts: 2379
Joined: Wed May 14, 2008 8:47 pm

Thu Apr 14, 2016 1:22 pm

Good Catch.

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

What do you think ?

Regards
Marco, perché vai così forte in salita?» «Per abbreviare la mia agonia.

User avatar
Cardinal Ape
General of the Army
Posts: 613
Joined: Wed Mar 07, 2012 1:59 am

Fri Apr 15, 2016 4:18 am

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.

User avatar
Bohémond
Posts: 2379
Joined: Wed May 14, 2008 8:47 pm

Fri Apr 15, 2016 2:19 pm

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
Marco, perché vai così forte in salita?» «Per abbreviare la mia agonia.

User avatar
Bohémond
Posts: 2379
Joined: Wed May 14, 2008 8:47 pm

Thu Apr 28, 2016 1:14 pm

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
Attachments
HAN_3_SecondPunicWar219.rar
(14.26 KiB) Downloaded 41 times
OptionsDip_SPW219.zip
(6.75 KiB) Downloaded 43 times
Marco, perché vai così forte in salita?» «Per abbreviare la mia agonia.

User avatar
Cardinal Ape
General of the Army
Posts: 613
Joined: Wed Mar 07, 2012 1:59 am

Sat Apr 30, 2016 12:06 am

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. :)

User avatar
Straight Arrow
Colonel
Posts: 384
Joined: Fri Nov 07, 2014 5:44 pm
Location: Washington State

Sat Apr 30, 2016 5:45 am

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!
Like arrows in the hand of a warrior are the children of one's youth.

User avatar
Cardinal Ape
General of the Army
Posts: 613
Joined: Wed Mar 07, 2012 1:59 am

Sun May 15, 2016 4:12 am

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]
Attachments
Marriage.7z
(147.53 KiB) Downloaded 31 times
playingbothsides.png

User avatar
Bohémond
Posts: 2379
Joined: Wed May 14, 2008 8:47 pm

Mon May 16, 2016 1:07 pm

Thank you for the feedback,

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

Regards
Marco, perché vai così forte in salita?» «Per abbreviare la mia agonia.

Return to “Help to improve AJE”

Who is online

Users browsing this forum: No registered users and 1 guest