Guestion about campaign coding
Moderator: Forum Moderators
Guestion about campaign coding
So, is it possible to code campaigns the way that multi player scenarios are made? I mean, like
and not like
Is it possible? I mean, I am not good at coding like normally campaign scenarios are...
Code: Select all
row
row
row
row
Code: Select all
row row row
Check out my sprites!
Re: Guestion about campaign coding
Use my skeleton. Should explain alot.
Re: Guestion about campaign coding
Uh...what?woodmouse wrote:So, is it possible to code campaigns the way that multi player scenarios are made? I mean, likeand not likeCode: Select all
row row row row
Code: Select all
row row row
Re: Guestion about campaign coding
@xer: I am using your skeleton as a base for the Gryphon campaign.
@Zookeeper: I mean... Not like campaign scenarios are coded, but like multiplayer scenarios are. I mean... Umm... Campaign scenarios are coded like everything in few rows, but multiplayer scenarios (at least usually) are like millions of rows.
You understand what I mean?
@Zookeeper: I mean... Not like campaign scenarios are coded, but like multiplayer scenarios are. I mean... Umm... Campaign scenarios are coded like everything in few rows, but multiplayer scenarios (at least usually) are like millions of rows.
You understand what I mean?
Check out my sprites!
Re: Guestion about campaign coding
I have absolutely no idea.woodmouse wrote:You understand what I mean?
Re: Guestion about campaign coding
Hmmmm... Example:
Is it possible to code campaign scenarios like this:
Not like this how they normally are:
You understand now?
Is it possible to code campaign scenarios like this:
Code: Select all
[event]
name=start
[/event]
Code: Select all
[event]name=start[/event]
Check out my sprites!
Re: Guestion about campaign coding
That's definitely not how they normally are. You're probably using a text editor which doesn't understand the linebreaks or something. No one puts stuff on one line like that.woodmouse wrote:Hmmmm... Example:
Is it possible to code campaign scenarios like this:Not like this how they normally are:Code: Select all
[event] name=start [/event]
You understand now?Code: Select all
[event]name=start[/event]
Re: Guestion about campaign coding
Hmmm weird. I'm using notepad to code WML things, and every campaign is like that, but multiplayer things aren't...zookeeper wrote:That's definitely not how they normally are. You're probably using a text editor which doesn't understand the linebreaks or something. No one puts stuff on one line like that.
Check out my sprites!
Re: Guestion about campaign coding
sadly, windows notepad is [censored] with regards to newline chars. Use a text editor that is not, like notepad++ or scite, to name a few.
Re: Guestion about campaign coding
Ok, but I thought the font thing causes evertything not to work, but if it doesn't then I could use something like that.
Check out my sprites!
Re: Guestion about campaign coding
AFAICT Wesnoth uses Unix linebreaks (\r\n) by default, which notepad can't handle.
If I am wrong then o course correct me.
If I am wrong then o course correct me.
-
- Posts: 267
- Joined: July 18th, 2006, 11:52 am
Re: Guestion about campaign coding
A good editor for MS-Windows is codepad.
Edit: I actually meant textpad (codepad might also be nice, though I've never tried it). Anyway, as xer already indicated, it is never too late to switch to a free operating system.
Edit: I actually meant textpad (codepad might also be nice, though I've never tried it). Anyway, as xer already indicated, it is never too late to switch to a free operating system.
Last edited by PingPangQui on October 5th, 2008, 12:15 pm, edited 1 time in total.
The Clan Antagonist.
"Larry the Cow was a bit frustrated at the current state of Linux distributions (...) until he tried Gentoo Linux" - Free Software for free people.
"Larry the Cow was a bit frustrated at the current state of Linux distributions (...) until he tried Gentoo Linux" - Free Software for free people.
Re: Guestion about campaign coding
Well, I tested using WordPad and it works goodly for that.
Check out my sprites!
Re: Guestion about campaign coding
Wordpad uses wierd formatting stuff, make sure you save as an ASCII.