single player team play game

General Modding Information/Questions; support/discussion/questions

Moderator: thunderchero

Forum rules
:idea: Please search before starting new topic. :idea:
There is a good chance it has already been asked.
Post Reply
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7953
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

single player team play game

Post by thunderchero »

Hi Everyone,

Tethys and I were talking and he had an idea of a single player "team play" game

human player would start game with alliance with 1 or more races. The other races that are left could also be aligned or left unknown.

here is how you would start single player team play game

first thing the trek.exe needs to be patched.

!!! Warning !!!
this patch will allow host of Multi-player game to start game before all player select race.

Code: Select all

NAME: single player team play game 
AUTHOR: thunderchero
DESC: This patch will allow a single player team play game 
DESC: patch file name: teamplay.patch
URL: https://www.armadafleetcommand.com/onscreen/botf/viewtopic.php?p=53562#p53562
TAG: 
 
# >>  = vanilla/original value

# <<  = new value


>> 0x000c0bc3 01 75 c3
>> 0x000c0bcd 01
>> 0x000c0bd1 66 85 c0
>> 0x000c0bfd 76 44
>> 0x000c0c03 75 84

<< 0x000c0bc3 00 90 90
<< 0x000c0bcd 00
<< 0x000c0bd1 90 90 90
<< 0x000c0bfd 90 90
<< 0x000c0c03 90 90 
teamplay.patch
(525 Bytes) Downloaded 82 times
start "new multi player game"

in multi player screen "see image"
select "host"
select "network"
add any info in "game name"
add any info in "player name"
select "TCP/IP" (leave "enter host address" window blank)
select "connect"
mpsetup.jpg
mpsetup.jpg (148.8 KiB) Viewed 1682 times
in configuration screen "see image"
select in victory conditions "team play"
configure other setting any way you want
select "Accept"
config.jpg
config.jpg (181.18 KiB) Viewed 1682 times
in empire selection screen "see image"
set up the teams you want to have an alliances
select race you will play
select "accept"
select.jpg
select.jpg (170.39 KiB) Viewed 1682 times
with the selection screen above I will play Federation and would have an alliance with Klingon AI.
also Cardassians AI, Ferengi AI and Romulans AI would all be in an alliance.

turn 1 main map
team.jpg
team.jpg (204.71 KiB) Viewed 1682 times
turn 1 diplomacy screen
team1.jpg
team1.jpg (139.23 KiB) Viewed 1682 times
After game starts you should edit saved game to single player game so saved game will load easier.

open saved game with UE
select edit/game/game info
gameinfo.jpg
gameinfo.jpg (39.37 KiB) Viewed 1662 times
in "type" dropdown menu change "Multi-Player" to "Single-Player"
single.jpg
single.jpg (47.58 KiB) Viewed 1662 times
and save
save.jpg
save.jpg (52.69 KiB) Viewed 1662 times
Now how long will AI go before breaking the alliance?

But it might be an interesting way to play...

enjoy
thunderchero
User avatar
Spocks-cuddly-tribble
Code Master
Code Master
Posts: 1950
Joined: Sun Apr 27, 2008 2:00 am

Re: single player team play game

Post by Spocks-cuddly-tribble »

A nice variant.
thunderchero wrote: Thu Feb 18, 2021 11:01 pmNow how long will AI go before breaking the alliance?
Legitimate question. To ensure this will work as intended one could force always max AI sympathy within teams and min towards opponents. If too complicated at least the starting values similar to the vendetta code.
I don't know how many bugs is too many but that point is reached somewhere before however many in BotF is.
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7953
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: single player team play game

Post by thunderchero »

Spocks-cuddly-tribble wrote: Fri Feb 19, 2021 12:57 pm A nice variant.
thunderchero wrote: Thu Feb 18, 2021 11:01 pmNow how long will AI go before breaking the alliance?
Legitimate question. To ensure this will work as intended one could force always max AI sympathy within teams and min towards opponents. If too complicated at least the starting values similar to the vendetta code.
I have been looking at the AI sympathy lately and it looks like team play uses the domination code. It is possible to force vendetta code but vendetta table would need to be edited every time.

unless you have some other ideas...
User avatar
Tethys
Past Administrator
Past Administrator
Posts: 2404
Joined: Fri Jul 18, 2008 2:00 am
Location: Your mom's bed ;)
Contact:

Re: single player team play game

Post by Tethys »

At 0x688F change 72 to 4F

This skips Domination and Vendetta modes, and all Majors seem to use Vendetta sympathy (enraged). I don't think this is a viable code change.

At 0x688A change 57 to 08

This seems to skip loading of Vendetta sympathy value while preserving the Vendetta enemy feature. Additionally, this change allows the vendetta enemies to now utilize the value located at 0x6893 B8 08 00 00 00 (worshipful). This seems to be a more viable code change. Vendetta enemies are now Vendetta allies, so your table would need to be rewritten accordingly.
Not for the weak of heart...
Galaxies MOD v0.4.0 <--- GALM/Galaxies Mod latest version
User avatar
Spocks-cuddly-tribble
Code Master
Code Master
Posts: 1950
Joined: Sun Apr 27, 2008 2:00 am

Re: single player team play game

Post by Spocks-cuddly-tribble »

thunderchero wrote: Fri Feb 19, 2021 1:47 pmunless you have some other ideas...
I was imagining a code setting the values when selecting the teams and later on blocking any codes altering empire to empire sympathy by changing the responsible sub(s) to a simple return.

But the first part feels more like a CC code project....
I don't know how many bugs is too many but that point is reached somewhere before however many in BotF is.
User avatar
thunderchero
Site Administrator aka Fleet Admiral
Site  Administrator aka Fleet Admiral
Posts: 7953
Joined: Fri Apr 25, 2008 2:00 am
Location: On a three month training mission, in command of the USS Valiant.

Re: single player team play game

Post by thunderchero »

I did a test with 3 AI races allied and all start as enthusiastic and they broke alliances before turn 35.

So I doubt if there is a way to keep AI in an alliance, they just have there own objectives.
Post Reply

Return to “General Modding Information/Questions”