|
Post by dogofwar on Dec 11, 2019 0:32:11 GMT 1
One of the biggest problems with BK in 2019 on GameRanger, is not enough players available to get a game, or needing to wait hours for players to show up.....So is there any possible way to make MP maps that can be played coop with a friend vs AI? No, right?
|
|
|
Post by dogofwar on Dec 12, 2019 3:52:06 GMT 1
Hard to believe not one comment on this.
|
|
|
Post by Quintaxel on Dec 12, 2019 11:25:28 GMT 1
Don't know much about MP games but this could be easily checked, no ? The problem will be the AI. When players belong to different parties then the AI will automatically consider these parties as an opponents, with the exception of players belonging to IPlayerParty 2 (neutral) This will make it impossible to co-op with another human player.
Edit: Not so sure anymore about the AI. Maybe if Human players belong to the same party then it could work. As said, I have no experience with multi player games.
|
|
kaoz
General
inter faesces et urinam nascimur
Posts: 1,112
|
Post by kaoz on Dec 17, 2019 23:52:34 GMT 1
Hard to believe not one comment on this. You need to maybe give it more time... some members only log in once in a while.
I also have barely experience with MP because i always hated the lag. In the first years however, i played a lot of LAN games against a friend sitting in the same room across me.
Most MP lua scripts i have seen, wait for all players to be ready. I think setting an AI player ready is simply impossible because they are not a (LAN or internet) connection. You would be waiting eternally.
When you start a MP map locally on one pc, you are able to start the game without waiting for the other players, but then you would face a 'frozen' army. I must admit i've never tried to set Start Commands for it, but then it would become the same as a SP map, so there's no point there either.
One would have the rewrite the engine code, i'm afraid, to make coop's possible.
|
|
|
Post by Quintaxel on Dec 18, 2019 8:51:24 GMT 1
It should not be too difficult to test whether or not it's possible, right. But I'm afraid you are right and in this case that's a pity because it would nice to play coop against the AI.
|
|
BigJoe
General-major
Posts: 538
|
Post by BigJoe on Dec 18, 2019 15:10:06 GMT 1
The logic of our friend kaoz is overwhelming. If you want to play in MP, it can only be with individuals, each of them on their PC, if the game is more than 1x1, then wait for your allies or opponents if you do not have it before, there are only situations of peers or Odd, whether or not fair balance of forces. There is no other. And if you want to play with AI, play an SP, which there are also very good ones created here by our friends in the forum. Unfortunately since the closing of the "GameSpay" platform, for Blizkrieg everything has been a free fall to be able to play in MP, I played a lot and I was very sorry to not be able to do so. Out of all this, there are no strange things. Greetings to all and especially to my friend kaoz , I am very happy for him and that he is in good health.
|
|
|
Post by dogofwar on Dec 18, 2019 22:28:58 GMT 1
Is what I figured, but just had to ask the question.
Thanks for the thoughtful input though.
|
|
|
Post by ritzkrieg on Jan 4, 2020 15:04:47 GMT 1
I know you probably wouldn't want to undertake this hassle, but what I would do is this: I'd play with an irl friend. I'd either make my own map or edit an existing singleplayer map. I'd divide the forces of one side over two players. I'd use one of my machines to run the "AI", e.g. the side with script and start commands and the other to play on myself. I don't really see any other way.
|
|
|
Post by dogofwar on Jan 5, 2020 15:43:59 GMT 1
Interesting.
|
|
kaoz
General
inter faesces et urinam nascimur
Posts: 1,112
|
Post by kaoz on Feb 15, 2020 22:52:08 GMT 1
I've been checking lots of multiplayer maps lately and was thinking the following:
Not all MP scripts contain the IsPlayerPresent function and i have often played LAN games without this function. So my comment earlier might not be completely correct there...
I stumbled upon a MP map that had 'Diplomacy' set: - player 0 > side 0 - player 1 > side 1 - player 2 > side 1 - player 3 > neutral
Important to notice this concerned an 'Assault' type map, not 'Flag Control'. Having 3 players seemed a little odd to me.
But so in theory, it might be possible to set: - player 0 > side 0 - player 1 > side 0 - player 2 > side 1 (for AI) - player 3 > neutral
Then in a Lua script, you could use a ChangePlayer function (on ScriptID units) and turn the neutral side to side 1 (AI). If then given commands after ChangePlayer or LandReinforcements to the AI units, this might maybe work.
I haven't tested this, my mind is just spinning...
|
|
BigJoe
General-major
Posts: 538
|
Post by BigJoe on Feb 17, 2020 19:06:42 GMT 1
I've been checking lots of multiplayer maps lately and was thinking the following:
Not all MP scripts contain the IsPlayerPresent function and i have often played LAN games without this function. So my comment earlier might not be completely correct there...
I stumbled upon a MP map that had 'Diplomacy' set: - player 0 > side 0 - player 1 > side 1 - player 2 > side 1 - player 3 > neutral
Important to notice this concerned an 'Assault' type map, not 'Flag Control'. Having 3 players seemed a little odd to me.
But so in theory, it might be possible to set: - player 0 > side 0 - player 1 > side 0 - player 2 > side 1 (for AI) - player 3 > neutral
Then in a Lua script, you could use a ChangePlayer function (on ScriptID units) and turn the neutral side to side 1 (AI). If then given commands after ChangePlayer or LandReinforcements to the AI units, this might maybe work.
I haven't tested this, my mind is just spinning... It seems very interesting.
|
|
|
Post by Quintaxel on Feb 18, 2020 20:03:34 GMT 1
I like the way your mind spins. In theory it could indeed work. Is there an easy way to test this ?
|
|
kaoz
General
inter faesces et urinam nascimur
Posts: 1,112
|
Post by kaoz on Feb 19, 2020 22:51:16 GMT 1
- Create MP map - type Assault
- Set Diplomacy as mentioned (2p side0 - 1p side1 - neutral side2)
- Have a Lua script with commands for side1
- Have 2 pc's LAN connected to play the map (but could be tested on one as well if you only have one player for side0)
I believe the ChangePlayer function will be needed to get the units placed on the map. If no player logs on into the game, those units don't appear on the map.
But most important are the Lua scripted commands, because I fear the game engine will never see a particular side as AI in a MP game, contrary to SP game of course. Therefor these commands need to replace the AI.
It should be easy to test if units of side1 can swarm or attack the player side0, but what I wonder most, is how side1 units will react when in a defensive position or in situations unforeseen. Will it react like in a SP game? I doubt it.
I will test it in the near future, but cannot right now.
|
|