The return of "Add Script..."

Posted By: Futurulus

The return of "Add Script..." - 12/29/06 05:16

I love the template scripts, and I use them in most games. Sometimes, though, I just need a little special effect or action. So I used to write a short little script and plug it in using File>Add Script in WED.

But when I upgraded to 6.4, that menu item disappeared, and the Project Manager can only do that with the stuff in template_6.xml.

Call me lazy, but I don't want to clutter up the xml file with all my little FX scripts, and I don't want to mess with the perfectly written template main WDL... Can you bring "Add Script" back?
Posted By: jcl

Re: The return of "Add Script..." - 12/29/06 12:35

Add Script only inserted that script in your main script with "include". Can't you do that manually?
Posted By: PHeMoX

Re: The return of "Add Script..." - 12/29/06 14:05

Quote:

Call me lazy, but I don't want to clutter up the xml file with all my little FX scripts, and I don't want to mess with the perfectly written template main WDL... Can you bring "Add Script" back?




If you need to add it to so much projects that adding 'include effect.wdl;' to your script is too much (copy paste , add it too the xml file of the project manager. If you don't need it that often at all, simply write the include manually, you could even make a list of all your small effect wdl's, put all their includes in 1 wdl and add 1 include for that 'effect database', this way you add just one and get all your effects.

To be honest, I think there are more important features Conitec should focus on. Especially since the project manager bug is fixed ....

Cheers
Posted By: Roel

Re: The return of "Add Script..." - 12/29/06 14:20

it's not difficult to add wdl's that way, you can include any scripts
you want by including them after the path definitions.

this would be the code:

include <scriptname.wdl>; // scriptname is the name of the wdl

it is nearly as easy as add script!
Posted By: Futurulus

Re: The return of "Add Script..." - 12/29/06 18:49

Yeah, I guess saving a few seconds isn't worth it...
I just like doing it all in WED...
Posted By: PHeMoX

Re: The return of "Add Script..." - 12/29/06 19:35

Quote:

Yeah, I guess saving a few seconds isn't worth it...
I just like doing it all in WED...




Well, I do agree it saved starting up SED, typing in the code, save it and after that you can run the project file.

Although it's indeed probably a matter of some seconds I too liked the 'add script' function. If you code lot's of things in modules, having an 'add script' function becomes a powerful tool. However I think the Project Manager does sort of replace this when you start adding your own .wdl files to the .xml database. Advantage is the fact that you can customize/edit through WED, never even starting SED. You just have to make sure your code is written in a module style and is included in the .xml. In the end I wouldn't know what would be faster, since you've got better control over wdls with the use of the Project Manager,

Cheers
© 2024 lite-C Forums