Co-op Multiplayer mode

2 replies [Last post]
MAXIM2004
MAXIM2004's picture
User offline. Last seen 5 years 23 weeks ago. Offline
Joined: 2019-03-03
Posts: 6

Max's Vocabulary:
SP - Singleplayer
MP - Multiplayer

Hedgewars also contains single player mode (campaign, challenges, training), so I decided to try it. I was a bit depressed, because I fond it hard and impossible. I really like to play with friends or someone. But only against them? Serious? That's all? And suddenly, I get an idea.
If you get in Multiplayer mode you can choose game 'style', 'scheme' and 'weapons pack'. I know what's the 'scheme' and 'weapons pack', but what is 'style' doing?
To find answers, I opened folder:
Data\Scripts\Multiplayer
and part of files were '.lua'.
I opened 'Missions' folder and files were '.lua' too.
After all, 'Missions' files was mixed with 'MP styles'.

When I was checking 'styles' in game, I was quite surprised that the game ever reading it.
Setting two teams and starting match showed an interesting result:
I has my two and main(original) teams on the campaign map. It was very funny.

To not get lost, I wrote styles order in '.txt' files.

Warnings:
1 - SP levels are a bit glitchy for MP.
Examples:
- 'shadow.lua' style - If you have hedgehogs on the top bamboo bridge, replace them, hero from 'Natives' will get stuck, while moving across this bridge.
- 'shadow.lua' style - Goal is 'any Natives team member must survive', if anyone from this team dies, enemies will disappear and you will get infinite fight.
- in 'basic training' if you will take damage or you will shot any hedgehog, the match will be failed.
And any other bugs can be found!

2 - To play Co-op mode you need at least your 2 teams.
I don't know why, but in Online mode, co-op styles don't working.

Download:

1 -https://vk.com/doc331246043_500914484?hash=d247a7ccac78d1dcd5&dl=bccf72af831c6fcceb

1 - Hedgewars\Data\Scripts

2 - https://vk.com/doc331246043_500914549?hash=4917f944928d33f4ab&dl=72a3723f508cb48dd7

3 - https://vk.com/doc331246043_500914553?hash=e5adb125b084823f84&dl=c3e97186bbae73fc41

4 - https://vk.com/doc331246043_500914569?hash=e2543f6e61d52a3204&dl=ba052fc5b47c266241

5 - https://vk.com/doc331246043_500914586?hash=9e76e38d6f17d9e71f&dl=65f86285c2665d70e1

6 - https://vk.com/doc331246043_500914607?hash=bf8854044e083058eb&dl=9fbf313284f00f8ddc

Wuzzy
Wuzzy's picture
User offline. Last seen 29 weeks 2 days ago. Offline
Joined: 2012-06-20
Posts: 1304

Quote:
If you get in Multiplayer mode you can choose game 'style', 'scheme' and 'weapons pack'. I know what's the 'scheme' and 'weapons pack', but what is 'style' doing?

Styles are basically different game modes and other modifications to gameplay. They are explained here:

Styles

Hi, I am a Hedgewars developer. Smile

MAXIM2004
MAXIM2004's picture
User offline. Last seen 5 years 23 weeks ago. Offline
Joined: 2019-03-03
Posts: 6

For true co-op you may select the same color as the original controlable team.

User login

Copyright © 2004-2024 Hedgewars Project. All rights reserved. [ contact ]