Using PHP in order to help people to create units files
Moderator: Forum Moderators
Using PHP in order to help people to create units files
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...
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 1032 times
Re: Using PHP in order to help people to create units files
wow, pretty nice tool...
Fight key loggers: write some perl using vim
Re: Using PHP in order to help people to create units files
Nice tool! I added it to the Wiki: http://www.wesnoth.org/wiki/ExternalUtilities
Re: Using PHP in order to help people to create units files
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
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
-
- Posts: 13
- Joined: December 26th, 2008, 7:20 pm
Re: Using PHP in order to help people to create units files
man...you really rock....thanks for the tool....keep it up
Re: Using PHP in order to help people to create units files
Thanks for support. I am doing a better coded version, and it takes lot of times. Sadly I haven't a lot .
Re: Using PHP in order to help people to create units files
This seems dead (broken link).