Help me, problem with scenario
Moderator: Forum Moderators
Help me, problem with scenario
I try to make i MP scenario (my 2th),
i try run this scenario and showing me comunicate as load game
Code:
i try run this scenario and showing me comunicate as load game
Code:
Code: Select all
[multiplayer]
id=war_war_war_war_x
name= _ "The Warxax"
map_data="{maps/multiplayer/war}"
description= _ ""
turns=90
{DAWN}
{MORNING}
{AFTERNOON}
{DUSK}
{FIRST_WATCH}
{SECOND_WATCH}
[multiplayer_side]
side=1
team_name=Big_1
canrecruit=1
controller=human
[/multiplayer_side]
[multiplayer_side]
side=2
team_name=Big_2
canrecruit=1
controller=human
[/multiplayer_side]
[multiplayer_side]
side=3
team_name=Big_3
canrecruit=1
controller=human
[/multiplayer_side]
[multiplayer_side]
side=4
team_name=Big_4
canrecruit=1
controller=human
[/multiplayer_side]
[event]
name=prestart
[set_variable]
name=kills1
value=0
[/set_variable]
[/event]
[event]
name=die
[filter]
side=2
[/filter]
[set_variable]
name=kills1
add=1
[/set_variable]
[print]
text=$kills1
size=24
red=255
[/print]
[/event]
[/multiplayer]
You have blended the syntax for [multiplayer] and [scenario].
[multiplayer] is used to define an era. [multiplayer_side] is used in this tag to say what factions each player can choose from.
What you appear to have written is a scenario. [scenario] has most of the tags you included - the map, time of day, and the [event] tags.
Do you intend for this map to be used with existing factions? If so, you should be able to change [multiplayer_side] to [side] and [multiplayer] to [scenario] and it might work. The map should also work without side definitions altogether.
EDIT: I guess I'll be explicit.
[multiplayer] is used to define an era. [multiplayer_side] is used in this tag to say what factions each player can choose from.
What you appear to have written is a scenario. [scenario] has most of the tags you included - the map, time of day, and the [event] tags.
Do you intend for this map to be used with existing factions? If so, you should be able to change [multiplayer_side] to [side] and [multiplayer] to [scenario] and it might work. The map should also work without side definitions altogether.
EDIT: I guess I'll be explicit.
Code: Select all
[scenario]
  id=war_war_war_war_x
  name= _ "The Warxax"
  map_data="{maps/multiplayer/war}"
  description= _ "A big war. Cant you tell?"
  turns=90
  {DAWN}
  {MORNING}
  {AFTERNOON}
  {DUSK}
  {FIRST_WATCH}
  {SECOND_WATCH}
  [side]
  side=1
  team_name=Big_1
  canrecruit=1
  controller=human
  [/side]
  [side]
  side=2
  team_name=Big_2
  canrecruit=1
  controller=human
  [/side]
  [side]
  side=3
  team_name=Big_3
  canrecruit=1
  controller=human
  [/side]
  [side]
  side=4
  team_name=Big_4
  canrecruit=1
  controller=human
  [/side]
 ÂÂ
  [event]
  name=prestart
  [set_variable]
  name=kills1
  value=0
  [/set_variable]
  [/event]
 ÂÂ
  [event]
  name=die
  [filter]
  side=2
  [/filter]
  [set_variable]
  name=kills1
  add=1
  [/set_variable]
  [print]
  text=$kills1
  size=24
  red=255
  [/print]
  [/event]
[/scenario]
Hope springs eternal.
Wesnoth acronym guide.
Wesnoth acronym guide.
- Elvish_Pillager
- Posts: 8137
- Joined: May 28th, 2004, 10:21 am
- Location: Everywhere you think, nowhere you can possibly imagine.
- Contact:
Don't use [multiplayer_side]. Do use [multiplayer].tomsik wrote:now game dont see it, if i change "[scenario]" tag to "[multiplayer]" tag is bug as before, its my 2th MP scenario, in first i using '[multiplayer]" tag, events, variables,"[multiplayer_side]" tag and it work
It's all fun and games until someone loses a lawsuit. Oh, and by the way, sending me private messages won't work. :/ If you must contact me, there's an e-mail address listed on the website in my profile.