PDA

View Full Version : EB on hotseat



Ritterlichvon86
08-05-2007, 11:10
Hello there!

Using this hotseat guide for rtw (https://forums.totalwar.org/vb/local_links.php?catid=104), I will try to get hotseat working on EB.

However, I wonder if this collides with the 4 seasons script! Also, do the events like the reforms work?



I will try it today with my buddy but if there's anyone who knows more we might not possibly waste hours of life and then rivers of tears.


Does it work? Can you get it to work?


A big EB fan

Christianus
08-05-2007, 13:21
I tried, but it did not work because of the 4tpy script. Guess you'we gotta remove the 4tpy to make it work. I suggest you wait for EB2 for the hotseat, as I believe it is included in the game.

Anyhow, there is a tread on the totalwarforums on this particular subject, where the creator Myrhdaal gives a step to step explanation on how to doit. But it crashes with the 4tpy:(

Foot
08-05-2007, 13:44
It also wouldn't work because the government precursors can only be set for one faction, not for multiple factions. Only one person would be able to build their proper governments.

Foot

Ritterlichvon86
08-05-2007, 17:38
Played 20 rounds as carthage & rome so far.

You need to be careful not to activate the script multiple times in the same round or the seasons might screw up, that's all. The advisor will always be present so you really want to be careful. I included the hotseat script into the beginning of the usual ebbs_script.txt file, in a loop.

There are no icons to fall on the left in the beginning of each round, this should be no problem to an experienced eb player.

I got my two italian cities south of rome and drove the epirotes off which gave me enough power to field 2 offensive stacks.


My buddy as (yet) ally carthage has failed to take messana 4 times, the last time I joined him with a 13 unit stack (my former southern legion).. the rebels swept the floor with us and his elephants were eventually killed. He felt stuck and didn't want to play anymore :( we decided to watch a movie :laugh4:


This is where you put it into the ebbs_script.txt, \EB\Data\scripts\show_me. Egypt is carthage, seleucid is spqr. I used "vanilla" EB 0.81a with 1.6 BI.
declare_counter First_Turn

select_ui_element advisor_dismiss_button
simulate_mouse_click lclick_down
simulate_mouse_click lclick_up

suspend_unscripted_advice true
suspend_during_battle on

declare_counter loop
set_counter loop 0

monitor_event FactionTurnStart FactionType egypt
console_command control egypt
snap_strat_camera 0, 156
zoom_strat_camera 0.8
while I_LocalFaction seleucid
end_while
snap_strat_camera 0, 156
zoom_strat_camera 0.8
call_object_shortcut strat_ui save_stratmap
inhibit_camera_input true
disable_entire_ui
hide_ui
end_monitor

monitor_event FactionTurnStart FactionType seleucid
console_command control seleucid
snap_strat_camera 0, 156
zoom_strat_camera 0.8
while I_LocalFaction egypt
end_while
snap_strat_camera 0, 156
zoom_strat_camera 0.8
call_object_shortcut strat_ui save_stratmap
inhibit_camera_input true
disable_entire_ui
hide_ui
end_monitor

while I_CompareCounter loop = 0
end_while

;console_command toggle_perfect_spy

declare_counter victory...

Then you start with the faction that would have the first turn. Click a city, the advisor will pop up, show me how. Then play, end your turn. Your screen will be taken to the top left corner of the map, the UI is offline and you'll get the message that the game has been saved. Click okay, press ctrl-L. now's your friends turn. Rinse & repeat.

Christianus
08-06-2007, 16:47
This is amazeing! A dream come true!

Totaly bugfree!?! You gotta post on how it goes, and if its bugfree. OK?

Edit: Are you now playing without the 4tpy?

Ritterlichvon86
08-06-2007, 21:26
bug free so far, but 2tpy.


I wonder if it kills the rest of the ebbs_script.


suspend_unscripted_advice true
suspend_during_battle on

declare_counter loop
set_counter loop 0

monitor_event FactionTurnStart FactionType egypt
console_command control egypt
snap_strat_camera 0, 156
zoom_strat_camera 0.8
while I_LocalFaction seleucid
end_while
snap_strat_camera 0, 156
zoom_strat_camera 0.8
call_object_shortcut strat_ui save_stratmap
inhibit_camera_input true
disable_entire_ui
hide_ui
end_monitor

monitor_event FactionTurnStart FactionType seleucid
console_command control seleucid
snap_strat_camera 0, 156
zoom_strat_camera 0.8
while I_LocalFaction egypt
end_while
snap_strat_camera 0, 156
zoom_strat_camera 0.8
call_object_shortcut strat_ui save_stratmap
inhibit_camera_input true
disable_entire_ui
hide_ui
end_monitor

while I_CompareCounter loop = 0
end_while

;console_command toggle_perfect_spy
...


Could a wise EB team member please take a short look at this. Would it stop the rest of the script? Is the end_while too much? I have honestly no idea :(

Tellos Athenaios
08-07-2007, 15:14
Well. the fact that it's 2tpy has quite an impact on reforms. Remember that reforms require the turn counter to get a certain value, and that value is adjusted by the 4tpy bit each turn.

You'll have threfore: messed up reforms (you may find your first Celtic reform to take place at about 64 B.C. rather than 220 B.C.), messed up season traits, messed up campaign movement points, etc.

Ritterlichvon86
08-08-2007, 10:14
Thanks for the reply mate.

I forgot to mention that I made the triggers all unconditional and with number of settlements controlled by spqr which is the faction i play in this session.

You're right about the movements, only every second winter we get movement restrictions. We decided to call those hard winters and every second summer in the desert a hard summer, until a fix can be found.

I'm still thinking myself into it, but cannot find a solution. I wonder *why* the 4tpy does not work in a hotseat session, which parameter of the hotseat script part could kill it. Does the 4tpy start after you've ended a turn and not immediatly? That might explain it.

I can live with it, my biggest fear is that the AI and money scripts do not work. Does anybody have an idea or knows how to figure it out? :2thumbsup: