Scenario Builder Program

Discussion of all aspects of the game engine, including development of new and existing features.

Moderators: Forum Moderators, Developers

Scenario Builder Program

Postby Mask612 » December 13th, 2016, 5:40 am

I have had this game for a year now and I have really enjoyed it in the time I have had it. Its really sad that this game isn't a lot more popular considering how well done the game is. I have been wanting to make a good addon to give back to the community for this game but it turns out I am not that creative in story writing. So instead I started working on a program to help people make scenarios. As of right now it is missing a lot of features that go into making a campaign but it will create a working scenario.
As a heads up it is written in C and it is a console program. Why a C console application? Firstly I needed the practice with C and more importantly I still have a lot to learn about making UIs with the other languages I know.
Since the posting guidelines don't say anything about links I'll just post the source code instead of an exe

https://github.com/Mask612/Wesnoth-Scenario-Builder

If you guys like this idea I can continue on it or even someone else that is much better at making UIs can make something of what I have.
Let me know what you think and good luck with developing
Mask612
 
Posts: 2
Joined: December 13th, 2016, 4:54 am

Re: Scenario Builder Program

Postby Pentarctagon » December 14th, 2016, 12:49 am

I'm not sure you'll get much interest without a UI. In any case, Coder's Corner might be a better place for this to be, if you want me to move this there.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
Pentarctagon
Forum Administrator
 
Posts: 2915
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Scenario Builder Program

Postby Mask612 » December 14th, 2016, 3:56 am

Sure move it. The point was to make or get the idea going to make a program so people with no experience could start right away
Maybe I could take another shot at it in java or something to make it easier
Mask612
 
Posts: 2
Joined: December 13th, 2016, 4:54 am

Re: Scenario Builder Program

Postby Pentarctagon » December 14th, 2016, 7:22 am

Alright, moved.

I think you should write this however allows you to best work on it, whether that's C or Java or something else. People are much more willing to use (and help out with) things that are easier to use/maintain/and improve.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
Pentarctagon
Forum Administrator
 
Posts: 2915
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Scenario Builder Program

Postby The_Gnat » December 14th, 2016, 8:15 am

I think it would be great to have a simple scenario creator. I have found java (especially Netbeans and IntelliJ) to be useful for creating gui's!

The main problem is the mutlitude of options that are available but if you can get it to work that would be great!
User avatar
The_Gnat
 
Posts: 1256
Joined: October 10th, 2016, 3:06 am

Re: Scenario Builder Program

Postby GunChleoc » December 14th, 2016, 11:15 am

You will definitely want to use something that gives you a UI toolkit. For C/C++, I know that there is Pango, Cairo, and QT. There might be more.
User avatar
GunChleoc
Translator
 
Posts: 386
Joined: September 28th, 2012, 7:35 am

Re: Scenario Builder Program

Postby Tad_Carlucci » December 14th, 2016, 4:33 pm

If you ever want your project considered for mainline I would suggest:

1) C++
2) Use the Pango/Cairo and WML UI from the engine.
3) Integrate into the Map Editor (which already creates and edits basic scenario)
I forked real life and now I'm getting merge conflicts.
Tad_Carlucci
Developer
 
Posts: 177
Joined: April 24th, 2016, 4:18 pm

Re: Scenario Builder Program

Postby Heindal » December 14th, 2016, 7:13 pm

I personally would like a browser based alternative. It's quite possible with a 'normal' knowledge in javascript.
The future belongs to those, who believe in the beauty of their dreams.
Developer of: Trapped, Five Fates, Strange Legacy, Epical
Dungeonmasters of Wesnoth, Wild Peasants vs Devouring Corpses
User avatar
Heindal
 
Posts: 804
Joined: August 11th, 2011, 9:25 pm
Location: Germany

Re: Scenario Builder Program

Postby Elvish_Hunter » December 14th, 2016, 8:09 pm

Another good option is certainly Python 3 + Tkinter and ttk. Just like with Java requires only a JVM to run, Python will require users to install only the Python interpreter (or the python-tk module from their package manger), so the program will effectively be cross-platform. There are also ways to "compile" Python scripts as executable files.
Heindal wrote:I personally would like a browser based alternative. It's quite possible with a 'normal' knowledge in javascript.
Absolutely! Another advantage of this solution is that the program will be able to run directly from GitHub Pages, since JavaScript is executed locally in the browser.
User avatar
Elvish_Hunter
Developer
 
Posts: 1360
Joined: September 4th, 2009, 2:39 pm
Location: Lintanir Forest...

Re: Scenario Builder Program

Postby Shiki » December 14th, 2016, 9:52 pm

Wouldn't it be best to improve the map editor?
Because it's already in mainline?

That would be the place where players would find it earlier, and non-mainline work tends to get forgotten after some time.. (e.g. the eclipse add-on)
Maintainer of Era of Myths.
Shiki
 
Posts: 117
Joined: July 13th, 2015, 9:53 pm
Location: Germany

Re: Scenario Builder Program

Postby The_Gnat » December 14th, 2016, 9:58 pm

Shiki wrote:Wouldn't it be best to improve the map editor?
Because it's already in mainline?

That would be the place where players would find it earlier, and non-mainline work tends to get forgotten after some time.. (e.g. the eclipse add-on)


Yeah this is also a good idea, if someone has experience in how the editor was created new events/items/dialog could be added through it to scenarios.
User avatar
The_Gnat
 
Posts: 1256
Joined: October 10th, 2016, 3:06 am


Return to Coder’s Corner

Who is online

Users browsing this forum: No registered users and 1 guest