Full Thrust Java test list -- December 2007

Number 8 of 10 messages in this Archive
[Date Prev] Main Index [Date Next]
[Thread Prev] Thread Index [Thread Next]

Re: possible new feature... scripting?



Tony Christney wrote:
> Hi Everyone,
>
> I've been doing some investigation into adding
> scripting support to FTJava. My thought would
> be to have scenario level scripts embedded in
> the XML (like JavaScript in HTML - actually,
> exactly like that). This would enable script
> writers to do quite advanced things as part of
> their game. Like victory conditions. Or adding
> ships, etc. during the game. I'm sure scenario
> writers could think up many more interesting things
> to do... The idea would be to have a subset of
> the FTJava API available to scenario scripts.
>
> The engine I've been looking at is Rhino, developed
> by the Mozilla Project. It adds support for JavaScript
> to a running Java program. It looks fairly easy
> to add in.
>
> So are there any scenario writers who would be interested
> in this feature? Does anybody know enough JavaScript
> to make it useful?
>
> Tony C.
>
>
>   
It sounds like a cool idea.  Dan had implemented code for
victory conditions but it hasn't been completed or demonstrated.

A few good scenario examples would be worthwhile to publish
so scenario designers could have examples to develop from.

Jon







  • Prev by Date: Re: possible new feature... scripting?
  • Next by Date: Re: possible new feature... scripting?

  • Previous by thread: Re: possible new feature... scripting?

  • Main Index | Thread Index | Author Index | Archive Index

    roger@nospam.firedrake.org
    Generated: Sat Dec 22 02:07:12 GMT 2007