I have an idea (this will help with modding)

Discuss the future of Warzone 2100 with us.
User avatar
Arreon
Trained
Trained
Posts: 324
Joined: 15 Feb 2009, 05:57

I have an idea (this will help with modding)

Post by Arreon »

Since the Warzone files are so difficult for some people to understand (including me), and the work is tedious anyway, I was thinking about an idea that first came to my head a few days ago.

The .wz files can give you headaches if not programmed the hard way, so for anyone who can make a program, here's an idea.

Why not make a graphical coding program? The program I have in mind uses buttons and other features to insert codes into the files you are trying to edit to make a mod.

Here's a diagram that I made with Paint that shows you what I'm talking about.
Warzone graphical coding program.JPG
I have no experience with mod-making or program-making, so for anyone that wants to make something like this, it will be appreciated.
You do not have the required permissions to view the files attached to this post.
OS: Windows 7 Home Premium 64-bit
Processor: AMD Phenom II X6 1045T (6 CPUs), ~2.7GHz
Memory: 8192MB RAM
nonchip
Greenhorn
Posts: 9
Joined: 24 Jul 2009, 12:20

Re: I have an idea (this will help with modding)

Post by nonchip »

u know that programming is more than LOGO? or VBasic? or KTurtle? programming is *not* easy in many cases, and making a program that does the programming for you will fail because the computer is too stupid. if a computer would be intelligent enough to program itself you will get something like skynet(terminator) or wargames.
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: I have an idea (this will help with modding)

Post by Zarel »

That's what WZCK was. Making something like that's on my to-do list, but I don't know if I'll ever get around to it.
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

Re: I have an idea (this will help with modding)

Post by milo christiansen »

I could make the GUI but all I know is autoit v3 and i don't know enough about wz script to actually make some thing like this work. Rune Sword 2's editor has a script generator where you just pick options from a list, but the script they use is designed to be used that way.
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: I have an idea (this will help with modding)

Post by Buginator »

There is a GUI editor for the stat stuff, done by watermelon, and it is someplace in the forums. AFAIK, it still should work, since I don't really recall any format changes that we did.
and it ends here.
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

Re: I have an idea (this will help with modding)

Post by milo christiansen »

If you just want to edit unit stats that would be easy to make a tool for, but scripts are a whole different ball game.
If people want this I'm always looking for programing challenges. (note to self. must learn a cross-platform language. ;) )
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
User avatar
Arreon
Trained
Trained
Posts: 324
Joined: 15 Feb 2009, 05:57

Re: I have an idea (this will help with modding)

Post by Arreon »

milo christiansen wrote:If you just want to edit unit stats that would be easy to make a tool for, but scripts are a whole different ball game.
If people want this I'm always looking for programing challenges. (note to self. must learn a cross-platform language. ;) )
Do PIE models count as scripts?
OS: Windows 7 Home Premium 64-bit
Processor: AMD Phenom II X6 1045T (6 CPUs), ~2.7GHz
Memory: 8192MB RAM
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

Re: I have an idea (this will help with modding)

Post by milo christiansen »

I don't know jack about pie models, but no they are not scripts.

I have part of a prototype of a editor for weapons.txt done but it will probably not get finished for some time as I want to try to learn python so the people who use Linux can use the stuff I write.

python is a good choice right? I plan on using it with gtk+. If anyone has a better idea I want to hear it.
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
Lord Apocalypse
Regular
Regular
Posts: 678
Joined: 29 Jul 2009, 18:01

Re: I have an idea (this will help with modding)

Post by Lord Apocalypse »

I have the source for WZCK as well as several other apps (PIE Slicer, WZStarter, INDViewer, etc.) but I don't know how useful it would be beyond 1.10 I also have an access database that was used to edit all the text files used to create the various wdgs up to 1.10

I will have to go through all of my backup files and see what still opens as both my newst backups had some bad areas on the cd. The old newst BB files are one casualty sadly as not all of them survived, though I do not give up hope of recovering MOST of the data from them.

BTW i'm baaaaaccckkkk! :ninja:
nonchip
Greenhorn
Posts: 9
Joined: 24 Jul 2009, 12:20

Re: I have an idea (this will help with modding)

Post by nonchip »

milo christiansen wrote:If you just want to edit unit stats that would be easy to make a tool for, but scripts are a whole different ball game.
If people want this I'm always looking for programing challenges. (note to self. must learn a cross-platform language. ;) )
(note to milo christiansen: maybe learn java? thats the most cross-platform language. because it's its own platform/VM)
Lord Apocalypse
Regular
Regular
Posts: 678
Joined: 29 Jul 2009, 18:01

Re: I have an idea (this will help with modding)

Post by Lord Apocalypse »

Actually use wxWidgets (windows whatever) or QT. QT is crossplatform win/mac/*nix and also what was used to create KDE (lniux window manager kde.org)

At least if you already know C/C++
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: I have an idea (this will help with modding)

Post by Buginator »

Lord Apocalypse wrote:Actually use wxWidgets (windows whatever) or QT. QT is crossplatform win/mac/*nix and also what was used to create KDE (lniux window manager kde.org)

At least if you already know C/C++
What he said. :)
and it ends here.
User avatar
milo christiansen
Regular
Regular
Posts: 749
Joined: 02 Jun 2009, 21:23
Location: Perrinton Michigan

Re: I have an idea (this will help with modding)

Post by milo christiansen »

Unfortunately I think I might remember how to declare a variable in c++ but that's about it.
I figured python because I heard it was very well documented, but after spending some time trying to learn it, all I learned is to detest the syntax.
the language I normally use is for windows only and the syntax is based on basic. the main thing I like about it is the editor, which has extensive auto-complete and is very closely integrated with the help file. also the help file has every single function, keyword, ect. listed so you just select the function, ect. in the editor and hit f1 and it brings up the relevant page.

I don't have the time and inclination to learn c++ but if I cant find a good scripting language I might have to.
In general, if you see glowing, pulsating things in the game, you should click on them.
- Demigod Game Ganual
User avatar
new paradigm leader
Trained
Trained
Posts: 232
Joined: 23 Aug 2008, 11:21
Location: Who really knows? I don't.

Re: I have an idea (this will help with modding)

Post by new paradigm leader »

Buginator wrote:There is a GUI editor for the stat stuff, done by watermelon, and it is someplace in the forums. AFAIK, it still should work, since I don't really recall any format changes that we did
sadly this does not work. upon start Command prompt flashes briefly onscreen then the application closes.
Return to your designated zone or be destroyed. You are in contravention of the new paradigm.