I need some code
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Re: I need some code
It won't work. Look at the following three and think again.
Code: Select all
name==The First Fight
Code: Select all
map_data="@[/home/mine/.wesnoth/editor/maps/Scenario Folder/(1)The First Fight]"
Code: Select all
[side]
side=1
controller=human
team_name=1
user_team_name= _ "The Knights Errant"
[side]
side=1
controller=human
team_name=1
user_team_name= _ "Elves"
Somewhere, between the sacred silence and sleep.
Disorder.
Disorder.
-
- Posts: 63
- Joined: April 29th, 2009, 12:19 am
Re: I need some code
Thanks.Didn't think of the
Code: Select all
thing
I haven't run it yet because i haven't created a Campaign.I'm basically asking if you see any errors that i have that can be fixed early on.I have read some of the other post and you guys have caught some stuff early on and i just wanted to learn from the experience from others
Last edited by LOrdEmeraldhide on May 2nd, 2009, 8:15 pm, edited 1 time in total.
The boy said: "My name's Johnny and it might be a sin,
"But I'll take your bet, your gonna regret, 'cos I'm the best that's ever been."
"But I'll take your bet, your gonna regret, 'cos I'm the best that's ever been."
-
- Posts: 63
- Joined: April 29th, 2009, 12:19 am
Re: I need some code
Mist wrote:It won't work. Look at the following three and think again.Code: Select all
name==The First Fight
Code: Select all
map_data="@[/home/mine/.wesnoth/editor/maps/Scenario Folder/(1)The First Fight]"
Code: Select all
[side] side=1 controller=human team_name=1 user_team_name= _ "The Knights Errant" [side] side=1 controller=human team_name=1 user_team_name= _ "Elves"
Like i said i need help.What about these three make it not work?
The boy said: "My name's Johnny and it might be a sin,
"But I'll take your bet, your gonna regret, 'cos I'm the best that's ever been."
"But I'll take your bet, your gonna regret, 'cos I'm the best that's ever been."
-
- Posts: 63
- Joined: April 29th, 2009, 12:19 am
Re: I need some code
ok i think i have fixed SOME bugs in my coding,
Spoiler:
The boy said: "My name's Johnny and it might be a sin,
"But I'll take your bet, your gonna regret, 'cos I'm the best that's ever been."
"But I'll take your bet, your gonna regret, 'cos I'm the best that's ever been."
- mnewton1
- Posts: 777
- Joined: November 12th, 2008, 4:31 am
- Location: On my pretty teal horsey.
- Contact:
Re: I need some code
Here is what I found:
First. The path starts at 'campaigns'. Also you need { this bracket not this [ bracket. And you need a closing bracket. It should look like this:
And the other problem is this:
You should have this:
I hope that helps
Code: Select all
map_data="[@/home/mine/.wesnoth/data/campaigns/Imperiuss' Quest/maps/1_The_First_Fight.map"
Code: Select all
map_data="{@campaigns/Imperiuss' Quest/maps/1_The_First_Fight.map}"
Code: Select all
name=The First Fight
Code: Select all
name=_"The First Fight"
I hope that helps
Creator of Ageless Era
Check out Frogatto & Friends, it's made by the same people who created The Battle for Wesnoth!
Check out Frogatto & Friends, it's made by the same people who created The Battle for Wesnoth!
-
- Posts: 63
- Joined: April 29th, 2009, 12:19 am
Re: I need some code
Thank you very much.
Is there anything else?
I want to ask about the side code. what does that mean.I think it is important
Is there anything else?
I want to ask about the side code. what does that mean.I think it is important
The boy said: "My name's Johnny and it might be a sin,
"But I'll take your bet, your gonna regret, 'cos I'm the best that's ever been."
"But I'll take your bet, your gonna regret, 'cos I'm the best that's ever been."
Re: I need some code
why not just have a look at the documentation? http://www.wesnoth.org/wiki/SideWMLLOrdEmeraldhide wrote:I want to ask about the side code. what does that mean.I think it is important
-
- Posts: 63
- Joined: April 29th, 2009, 12:19 am
Re: I need some code
OK I've figured it out.
Now i have no idea about the campaign though.I read the tutorial and i makes no sense
Can some one walk me through making it?
Now i have no idea about the campaign though.I read the tutorial and i makes no sense
Can some one walk me through making it?
The boy said: "My name's Johnny and it might be a sin,
"But I'll take your bet, your gonna regret, 'cos I'm the best that's ever been."
"But I'll take your bet, your gonna regret, 'cos I'm the best that's ever been."
-
- Posts: 63
- Joined: April 29th, 2009, 12:19 am
Re: I need some code
Ok this is The First Fight v1.4
Spoiler:
The boy said: "My name's Johnny and it might be a sin,
"But I'll take your bet, your gonna regret, 'cos I'm the best that's ever been."
"But I'll take your bet, your gonna regret, 'cos I'm the best that's ever been."
Re: I need some code
Champion is no unit - it's Elvish Champion...
-
- Posts: 63
- Joined: April 29th, 2009, 12:19 am
Re: I need some code
really???!!!
Thank you,
So is it Elvish ____ always?
also is it Orcish ____ and Troll ___?
Thank you,
So is it Elvish ____ always?
also is it Orcish ____ and Troll ___?
The boy said: "My name's Johnny and it might be a sin,
"But I'll take your bet, your gonna regret, 'cos I'm the best that's ever been."
"But I'll take your bet, your gonna regret, 'cos I'm the best that's ever been."
- mnewton1
- Posts: 777
- Joined: November 12th, 2008, 4:31 am
- Location: On my pretty teal horsey.
- Contact:
Re: I need some code
Yes. And it is not Loyalist _____ it is only ______
Creator of Ageless Era
Check out Frogatto & Friends, it's made by the same people who created The Battle for Wesnoth!
Check out Frogatto & Friends, it's made by the same people who created The Battle for Wesnoth!
Re: I need some code
all this stuff isn't hardcoded in the game itself. you can actually look it up - unit definitions are in data/core/units, e.g. the Champion would be data/core/units/elves/Champion.cfg.
-
- Posts: 63
- Joined: April 29th, 2009, 12:19 am
Re: I need some code
I have moved my final Campaign and Scenario to a new forum called "final Scenario and Campaign"
If any of you want to help me critic it please come and help.This is so close to being done i can taste victory.
If i'm missing something please tell me.That includes if i did not give thanks to you if you played a large part in making this campaign possible.
If any of you want to help me critic it please come and help.This is so close to being done i can taste victory.
If i'm missing something please tell me.That includes if i did not give thanks to you if you played a large part in making this campaign possible.
The boy said: "My name's Johnny and it might be a sin,
"But I'll take your bet, your gonna regret, 'cos I'm the best that's ever been."
"But I'll take your bet, your gonna regret, 'cos I'm the best that's ever been."