Full Thrust Java test list -- December 2007

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

Re: possible new feature... scripting?



I'm curious what you are working on! Did you
use to have CVS access? Are you working with
a reasonably up to date code dump?

It's been a while since I did anything - the
last bit of code was some support for MT missiles
and cleaning up the ant script.

One thing that I really think needs done is to
clean up the XML import/export code. I think
that the total amount of code needed to do the
task is about 10% of what is there currently. I've
done some work but the scope of it is a bit
disheartening, particularly when development has
slowed so much.

Support for some form of scenario level scripting is
another, hence my message. I'm not really too
worried about having a full fledged programming
language embedded. We should be able to take steps
to prevent accidental and deliberate abuse. What
I don't want to do is to use my limited time to
work on this to add a feature that nobody will use.

Tony C.

On 20-Dec-07, at 2:08 PM, scspieker wrote:

>
> I have been working on some of the FT Java code and I have found that
> there are a number of locations within the framework where features  
> like
> this suggestion would be possible.
>
> I know enough about javascript to be very dangerous in that  
> respect.  I
> have also been locked out of the CVS server, so once I have access  
> again,
> I can apply some of the updates I had been working on.
>
>    .^.   Scott Spieker
>    /V\   http://www.voidgamers.com
>  /(   )\ http://confrontation.voidgamers.com
>   ^^-^^  RHCE Cert# 804005217814926
>
> Confidentiality Note: This e-mail contains information intended  
> only for
> the use of the individual or entity named above. If the reader of this
> e-mail is not the intended recipient, any dissemination,  
> publication or
> copying of this e-mail is strictly prohibited. The sender does not  
> accept
> any responsibility for any loss, disruption or damage to your data or
> computer system that may occur while using data contained in,or
> transmitted with, this e-mail.
>
>> 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.
>>
>>
>
>
>







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

  • Previous by thread: Re: possible new feature... scripting?
  • Next 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