I have problem with MP scenario

Discussion of all aspects of multiplayer development: unit balancing, map development, server development, and so forth.

Moderator: Forum Moderators

User avatar
Elvish_Pillager
Posts: 8137
Joined: May 28th, 2004, 10:21 am
Location: Everywhere you think, nowhere you can possibly imagine.
Contact:

Post by Elvish_Pillager »

tomsik wrote:YEEEEEAAAAHHHAAA
Just place "name=prestart" before "[event]" tag
:D :D :D :D :D :D :D :D :D
what the...

Could you show what the code looks like now?
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.
User avatar
Tomsik
Posts: 1401
Joined: February 7th, 2005, 7:04 am
Location: Poland

Post by Tomsik »

:oops: my english... not before, after.If you wanna see code
CODE:

Code: Select all

[multiplayer]
	id=def
	name= _ "defend"
	map_data="{maps/multiplayer/def}"
	description= _ ""
	turns=90

	{DAWN}
	{MORNING}
	{AFTERNOON}
	{DUSK}
	{FIRST_WATCH}
	{SECOND_WATCH}

	
	[multiplayer_side]
	side=1
	team_name=1
	canrecruit=1
	controler=ai
	type=Ancient Lich
	description=Lich King
	recruit=Walking Corpse
	[/multiplayer_side]
	[multiplayer_side]
	side=2
	team_name=2
	canrecruit=1
	controller=human
	[/multiplayer_side]
	[multiplayer_side]
	side=3
	team_name=2
	canrecruit=1
	controller=human
	[/multiplayer_side]
	[multiplayer_side]
	side=3
	team_name=2
	canrecruit=1
	controller=human
	[/multiplayer_side]
	[event]
name=prestart
[store_starting_location]
side=1
variable=location
[/store_starting_location]
[kill]
x=$location.x
y=$location.y
[/kill]
[unit]
x=$location.x
y=$location.y
side=1
canrecruit=1
type=Ancient Lich
description=Lich King
[/unit]
[set_recruit]
side=1
recruit=Soulless
[/set_recruit]
[modify_side]
side=1
team_name=the_evil_lich_guy
[/modify_side]
[unit]
x=14	
y=2
type=Soulless
[/unit]
[unit]
x=14	
y=3
type=Soulless
[/unit]
[unit]
x=14	
y=4
type=Soulless
[/unit]
[unit]
x=15	
y=3
type=Soulless
[/unit]
[unit]
x=14	
y=4
type=Soulless
[/unit]
[unit]
x=15	
y=5
type=Soulless
[/unit]
[unit]
x=16	
y=2
type=Soulless
[/unit]
[unit]
x=16
y=3
type=Soulless
[/unit]
[unit]
x=17	
y=2
type=Soulless
[/unit]
[unit]
x=17
y=4
type=Soulless
[/unit]
[unit]
x=18	
y=2
type=Soulless
[/unit]
[unit]
x=18
y=3
type=Soulless
[/unit]
[/event]


[/multiplayer]
User avatar
Elvish_Pillager
Posts: 8137
Joined: May 28th, 2004, 10:21 am
Location: Everywhere you think, nowhere you can possibly imagine.
Contact:

Post by Elvish_Pillager »

Um... besides the Soullesses, that's exactly the same as the code you posted earlier.
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.
User avatar
Tomsik
Posts: 1401
Joined: February 7th, 2005, 7:04 am
Location: Poland

Post by Tomsik »

look to line after "[event]" tag i add here "name=prestart"
and i wann now make it good scenario :)
User avatar
Elvish_Pillager
Posts: 8137
Joined: May 28th, 2004, 10:21 am
Location: Everywhere you think, nowhere you can possibly imagine.
Contact:

Post by Elvish_Pillager »

But in the last copy of the code you posted, that was there!
tomsik wrote::oops: CODE:

[scenario]
id=def
name= _ "def"
map_data="{maps/multiplayer/def}"
description= _ ""
turns=90

{DAWN}
{MORNING}
{AFTERNOON}
{DUSK}
{FIRST_WATCH}
{SECOND_WATCH}


[side]
side=1
team_name=1
canrecruit=1
controller=ai
type=Ancient Lich
description=Lich King
recruit=Walking Corpse
[/side]
[side]
side=2
team_name=2
canrecruit=1
controller=human
[/side]
[side]
side=3
team_name=2
canrecruit=1
controller=human
[/side]
[side]
side=3
team_name=2
canrecruit=1
controller=human
[/side]
[event]
name=prestart
[store_starting_location]
side=1
variable=location
[/store_starting_location]
[kill]
x=$location.x
y=$location.y
[/kill]
[unit]
x=$location.x
y=$location.y
side=1
canrecruit=1
type=Ancient Lich
description=Lich King
[/unit]
[set_recruit]
side=1
recruit=Walking Corpse
[/set_recruit]
[modify_side]
side=1
team_name=the_evil_lich_guy
[/modify_side]
[/event]


[/scenario]

Do you dont see my signature?
I really dont be good in english. :(
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.
scott
Posts: 5243
Joined: May 12th, 2004, 12:35 am
Location: San Pedro, CA

Post by scott »

Ok guys the important thing is that it works.
Hope springs eternal.
Wesnoth acronym guide.
User avatar
Tomsik
Posts: 1401
Joined: February 7th, 2005, 7:04 am
Location: Poland

Post by Tomsik »

i think scortt have right, but how upload this ( i have it in data/maps/multiplayer and data/scenarios/multiplayer)??
scott
Posts: 5243
Joined: May 12th, 2004, 12:35 am
Location: San Pedro, CA

Post by scott »

Just post it on the forum first as a zip file
Hope springs eternal.
Wesnoth acronym guide.
User avatar
Tomsik
Posts: 1401
Joined: February 7th, 2005, 7:04 am
Location: Poland

Post by Tomsik »

I played this scenario some times on MP, made some changes but ... its not too good MP scenario :?, but i will make other, now i have more knowlage :) and i hope next scenario will be good. :)
Post Reply