Using PHP in order to help people to create units files

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

Moderator: Forum Moderators

Post Reply
Niborelf
Posts: 10
Joined: October 23rd, 2008, 2:34 pm

Using PHP in order to help people to create units files

Post by Niborelf »

Hi all,

I have done a little tool to create a basic .cfg file for a unit.
It enable people to make easier a personal unit.
you can test it here.

For the moment, it is not complete, and all the suggestion/comment/help for coding are welcome.

It rest to do:

-all of the animations, sounds.
-a better look.
-little differences/choices(as the type of usage by the AI).
-adding others terrains type/type of damages.


And after, maybe extend the idea in others type of files.

The php file and the css file are attached.

P.S. I hope the post is in the good position...
Attachments
unit.zip
(5.54 KiB) Downloaded 1030 times
Boucman
Inactive Developer
Posts: 2119
Joined: March 31st, 2004, 1:04 pm

Re: Using PHP in order to help people to create units files

Post by Boucman »

wow, pretty nice tool...
Fight key loggers: write some perl using vim
User avatar
Jequ
Posts: 196
Joined: February 18th, 2008, 1:28 pm

Re: Using PHP in order to help people to create units files

Post by Jequ »

Nice tool! I added it to the Wiki: http://www.wesnoth.org/wiki/ExternalUtilities
Niborelf
Posts: 10
Joined: October 23rd, 2008, 2:34 pm

Re: Using PHP in order to help people to create units files

Post by Niborelf »

Thanks both!

I try to make another version which will be more generic:
Each tag will have a list of parameters, each parameter can be a simple text which contain a value, for exemple an id value, but others can be tag or macro. I will also set the minimal and the maximal number of each parameter can occur. If a value is obligatory, then these two numbers will be set at 1, but if it's an optional value, it will be set at 0 for the minimum and 1 for the maximum.


Niborelf
Xero D-g X
Posts: 13
Joined: December 26th, 2008, 7:20 pm

Re: Using PHP in order to help people to create units files

Post by Xero D-g X »

man...you really rock....thanks for the tool....keep it up :D

:twisted:
Niborelf
Posts: 10
Joined: October 23rd, 2008, 2:34 pm

Re: Using PHP in order to help people to create units files

Post by Niborelf »

Thanks for support. I am doing a better coded version, and it takes lot of times. Sadly I haven't a lot :( .
kurt751
Posts: 232
Joined: June 4th, 2016, 11:17 pm

Re: Using PHP in order to help people to create units files

Post by kurt751 »

This seems dead (broken link). :(
Post Reply