Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
EZScript Question
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  21 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Collin Stowell  
View profile  
 More options Apr 8 2012, 9:16 pm
From: Collin Stowell <collinstow...@gmail.com>
Date: Sun, 8 Apr 2012 18:16:39 -0700 (PDT)
Local: Sun, Apr 8 2012 9:16 pm
Subject: EZScript Question

Does EZScript have the capability of determining an objects X,Y,Z locations
within the OWL environment?

Thanks!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard Steflik  
View profile  
 More options Apr 8 2012, 10:24 pm
From: Richard Steflik <stef...@binghamton.edu>
Date: Sun, 08 Apr 2012 22:24:41 -0400
Local: Sun, Apr 8 2012 10:24 pm
Subject: Re: EZScript Question
On 4/8/2012 9:16 PM, Collin Stowell wrote:
> Does EZScript have the capability of determining an objects X,Y,Z
> locations within the OWL environment?

> Thanks!

I think it does but I couldn't tell you how.  Best to ask on the forum
or look in the EZScripe documentation

http://faithhold.dyndns.org:8080/JSPWiki/Wiki.jsp?page=JagWire
http://www.youtube.com/watch?v=NoZBcFB9E2A

I think your vehicle could be treated as an NPC, there are some demos on
youtube.

- Steflik


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michel DENIS  
View profile  
 More options Apr 9 2012, 2:35 am
From: Michel DENIS <michel.m.de...@gmail.com>
Date: Mon, 09 Apr 2012 08:35:13 +0200
Local: Mon, Apr 9 2012 2:35 am
Subject: Re: EZScript Question

Yes it does:

      GetCellPosition

Returns the position (Vector3f) of the specified cell.

-- Usage: var vec3 = GetCellPosition(cell);

michel

Richard Steflik a écrit :


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jagwire  
View profile  
 More options Apr 9 2012, 10:41 am
From: jagwire <pympno...@gmail.com>
Date: Mon, 9 Apr 2012 07:41:48 -0700 (PDT)
Local: Mon, Apr 9 2012 10:41 am
Subject: Re: EZScript Question

Collin,

Michel is correct, you can definitely use the GetCellPosition() command.
I've been thinking a bit about this method lately, and I'm wondering if I
can make it better. Some of my ideas are:

   - $("my-object").getPosition();
   - GetObjectPosition("my-object");
   - GetObjectPosition(cell);

what do you think would make the most sense, Collin?

best regards,
jW


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Collin Stowell  
View profile  
 More options Apr 11 2012, 11:02 am
From: Collin Stowell <collinstow...@gmail.com>
Date: Wed, 11 Apr 2012 08:02:58 -0700 (PDT)
Local: Wed, Apr 11 2012 11:02 am
Subject: Re: EZScript Question
jW,

Thanks for the response, this is just what i'm looking for. How do I
add GetCellPosition to EZScripts library?

Collin

On Apr 9, 10:41 am, jagwire <pympno...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jagwire  
View profile  
 More options Apr 11 2012, 2:34 pm
From: jagwire <pympno...@gmail.com>
Date: Wed, 11 Apr 2012 13:34:18 -0500
Local: Wed, Apr 11 2012 2:34 pm
Subject: Re: EZScript Question
Colin,

erm...it should already be there? Can you double check it is there?

best,
jW

On Wed, Apr 11, 2012 at 10:02 AM, Collin Stowell


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Collin Stowell  
View profile  
 More options Apr 11 2012, 8:28 pm
From: Collin Stowell <collinstow...@gmail.com>
Date: Wed, 11 Apr 2012 17:28:42 -0700 (PDT)
Local: Wed, Apr 11 2012 8:28 pm
Subject: Re: EZScript Question
I'm positive, although i'm not sure if i'm using an older version than
what's on googlecode.

Collin

On Apr 11, 2:34 pm, jagwire <pympno...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Collin Stowell  
View profile  
 More options Apr 15 2012, 2:27 pm
From: Collin Stowell <collinstow...@gmail.com>
Date: Sun, 15 Apr 2012 11:27:39 -0700 (PDT)
Local: Sun, Apr 15 2012 2:27 pm
Subject: Re: EZScript Question
Also, where can I get a hold of the latest EZScript build?

On Apr 11, 2:34 pm, jagwire <pympno...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jagwire  
View profile  
 More options Apr 15 2012, 3:28 pm
From: jagwire <pympno...@gmail.com>
Date: Sun, 15 Apr 2012 12:28:06 -0700 (PDT)
Local: Sun, Apr 15 2012 3:28 pm
Subject: Re: EZScript Question

Colin,

Attached is the latest build of EZScript from Friday. In the future, you
can find subsequent versions in the wonderland-modules/unstable directory.

warm regards,
jW

  EZScript.jar
837K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Collin Stowell  
View profile  
 More options Apr 15 2012, 4:39 pm
From: Collin Stowell <collinstow...@gmail.com>
Date: Sun, 15 Apr 2012 13:39:35 -0700 (PDT)
Local: Sun, Apr 15 2012 4:39 pm
Subject: Re: EZScript Question
Thank you jW, I was having such a difficult time getting EZScript to
build on linux. In response to your earlier post I believe these two
would be most useful:

- $("my-object").getPosition();
- GetObjectPosition("my-object");

I'm currently working on writing a script to move a vehicle around a
path in OWL.

On Apr 15, 3:28 pm, jagwire <pympno...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Collin Stowell  
View profile  
 More options Apr 15 2012, 6:18 pm
From: Collin Stowell <collinstow...@gmail.com>
Date: Sun, 15 Apr 2012 15:18:59 -0700 (PDT)
Local: Sun, Apr 15 2012 6:18 pm
Subject: Re: EZScript Question
jW,

Is it possible to access a particular cell object given it's cell id?

Thanks
Collin

On Apr 15, 4:39 pm, Collin Stowell <collinstow...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jagwire  
View profile  
 More options Apr 16 2012, 4:07 pm
From: jagwire <pympno...@gmail.com>
Date: Mon, 16 Apr 2012 13:07:48 -0700 (PDT)
Local: Mon, Apr 16 2012 4:07 pm
Subject: Re: EZScript Question

Collin,

Your project sounds exciting, you'll have to let us all know how your
vehicle fares.

Currently, there is no command to retrieve a cell for a given CellID from
ezscript-land. It wouldn't be hard nor slow to build in real quick, but I'm
curious of your use cases for such a need. Can you provide us how you plan
to use the cell object?

best regards!
jW


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Collin Stowell  
View profile  
 More options Apr 17 2012, 4:56 pm
From: Collin Stowell <collinstow...@gmail.com>
Date: Tue, 17 Apr 2012 13:56:24 -0700 (PDT)
Local: Tues, Apr 17 2012 4:56 pm
Subject: Re: EZScript Question
I'm just looking to fetch an objects position given it's name. As of
right now all i'm trying to accomplish is to have a vehicle follow a
set of points around the world. I'm hoping to use a set of objects as
waypoints to start with and see what improvements can be made.
Unfortunately I was hoping that given an object name I could fetch
it's position.

Also another improvement that I thought could be made was with the
SpinX/Y/Z methods. Perhaps build a method where I can set a rotation
on an object rather than just adding or taking from it's current
rotation.

Let me know if you think it's worth implementing!
Thanks
Collin

On Apr 16, 4:07 pm, jagwire <pympno...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jagwire  
View profile  
 More options Apr 18 2012, 10:31 am
From: jagwire <pympno...@gmail.com>
Date: Wed, 18 Apr 2012 09:31:29 -0500
Local: Wed, Apr 18 2012 10:31 am
Subject: Re: EZScript Question
Colin,

I'm about to commit a version that allows one the following interface:
$("my-object").getPosition(); which will return a JME2 Vector3f
reflecting the object's position. There is a catch however:

1) The EZScript capability needs to be attached to the object you are
referencing by name.
2) Before you actually attach EZScript, you need to set the object's
name. As per the workflow described here:
http://faithhold.dyndns.org:8080/JSPWiki/Wiki.jsp?page=JagWire under
the Cell Scripting tab.

How would you propose setting the rotation? The object model we work
with, Quaternions, isn't terribly user friendly. Perhaps something
like $("my-object").rotate(45); //in degrees ?

best regards,
jW


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Collin Stowell  
View profile  
 More options Apr 19 2012, 12:09 pm
From: Collin Stowell <collinstow...@gmail.com>
Date: Thu, 19 Apr 2012 09:09:08 -0700 (PDT)
Local: Thurs, Apr 19 2012 12:09 pm
Subject: Re: EZScript Question
jW,

When I checkout the latest version of wonderland and wonderland-
modules from googlecode and run ant on unstable/EZScript I get a
variety of errors regarding VideoPlayer. If you want to see the entire
error log I can post it but it's lengthy and i'm sure it's due to code
not related to EZScript, any ideas?

The rotation might not be a necessity but I figured just being able to
set a fixed rotation over an axis might be useful in some cases.
Something like $("my-object").rotate([X,Y,Z], degrees) would be more
than fine!

Thanks for all the help jW I really appreciate it,
Collin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jagwire  
View profile  
 More options Apr 19 2012, 12:49 pm
From: jagwire <pympno...@gmail.com>
Date: Thu, 19 Apr 2012 11:49:41 -0500
Local: Thurs, Apr 19 2012 12:49 pm
Subject: Re: EZScript Question
Colin,

I believe you need to checkout openwonderland-video, found here:
http://code.google.com/p/openwonderland-video/source/checkout

Place that as a sibling in the same directory as wonderland and
wonderland-modules and rebuild wonderland. Once the video project is
built, then you should be able to build the videoplayer module in
unstable and then EZScript.

hope this helps,
jW

On Thu, Apr 19, 2012 at 11:09 AM, Collin Stowell


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Collin Stowell  
View profile  
 More options Apr 20 2012, 11:47 am
From: Collin Stowell <collinstow...@gmail.com>
Date: Fri, 20 Apr 2012 08:47:45 -0700 (PDT)
Local: Fri, Apr 20 2012 11:47 am
Subject: Re: EZScript Question
jW,

I checked it out and added it as a sibling in the directory with
wonderland and wonderland-modules, I built it and re-built wonderland
and still no luck. I'm still receiving the same error. Any ideas?

Thanks
Collin

On Apr 19, 12:49 pm, jagwire <pympno...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jagwire  
View profile  
 More options Apr 20 2012, 11:50 am
From: jagwire <pympno...@gmail.com>
Date: Fri, 20 Apr 2012 10:50:54 -0500
Local: Fri, Apr 20 2012 11:50 am
Subject: Re: EZScript Question
Collin,

Can you post the errors you are getting to pastebin.com and share the link here?

best,
jW

On Fri, Apr 20, 2012 at 10:47 AM, Collin Stowell


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Collin Stowell  
View profile  
 More options Apr 20 2012, 12:56 pm
From: Collin Stowell <collinstow...@gmail.com>
Date: Fri, 20 Apr 2012 09:56:15 -0700 (PDT)
Local: Fri, Apr 20 2012 12:56 pm
Subject: Re: EZScript Question
jW,

I got it working, thanks for the help though!
I'll let you know how I fare using it

Collin

On Apr 20, 11:50 am, jagwire <pympno...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Collin Stowell  
View profile  
 More options Apr 20 2012, 2:48 pm
From: Collin Stowell <collinstow...@gmail.com>
Date: Fri, 20 Apr 2012 11:48:49 -0700 (PDT)
Local: Fri, Apr 20 2012 2:48 pm
Subject: Re: EZScript Question
jW,

I installed the latest version of EZScript and have it running but
this version is acting up for me. Some times using $
("myobject").getPosition will return fine then other times it will
tell me that the object doesn't exist although it clearly does. As
weird as that seems I randomly am getting errors about ShowHUDMessage:

ShowHUDMessage is not a function, it is
sun.org.mozilla.javascript.internal.NativeJavaObject (<Unknown
source>#33) in <Unknown source> at line number 33.

Perhaps this is a problem with the build but I don't know. I haven't
had any problems like this with EZScript before so this is definitely
new.

But before trying to dig too far into this thing, perhaps send me a
built EZScript.jar and i'll test it to eliminate the build as the
possibility for all these strange and random errors.

Thanks a bunch!
Collin

On Apr 20, 11:50 am, jagwire <pympno...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Collin Stowell  
View profile  
 More options Apr 25 2012, 10:47 am
From: Collin Stowell <collinstow...@gmail.com>
Date: Wed, 25 Apr 2012 07:47:51 -0700 (PDT)
Local: Wed, Apr 25 2012 10:47 am
Subject: Re: EZScript Question
jW,

Still no luck figuring out why these errors are occurring. Any ideas?

Thanks,
Collin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »