Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - vatre

Pages: [1]
1
Technical forum / 2 actors in a scene
« on: November 16, 2004, 07:27:15 AM »
Hey, beautiful people!

OK, I ran into a problem again. Maybe it was the late hour of the nite, or my stupidity, but nevertheless here it is:
On a scene I've set two actors. One of them is my regular, player controlled actor, the other one is Molly - the woman from the demo. :)
Anywayz, I took things for granted and didn't really do anything with her until know, when I wanted to test interactivity between my two actors.
On scene_init I load her (Molly) up, I make her interactive, movable, visible and I attach a script to her (a customized scene_object WME template). Also, on some random event I want to make her walk to a certain entity. Now these are my problems:

- When I try to walk to her, talk to her, take her or look at her, everything in the attached script works except the walking part. It gives me runtime error. In the script I have the default actor.GoToObject(this), but the log says that method needs an entity parameter. How do I reference Molly in this case? I thought "this" works for everything.

- When I try to make HER walk to the entity - she doesn't. I use the typical Zenska.GoToObject(Scene.GetNode("sign")); <- where Zenska is a global variable defined in base.inc with Molly loaded in. Now, she does do the WalkToDirection part (she turns in the place where she is), but she doesn't do the WalkToX and WalkToY part of the GoToObject instruction. The "sign", of course, has all that WalkTo properties set.

That's it, now you... ;)

2
Technical forum / Project Joe GUI
« on: November 04, 2004, 08:57:51 PM »
OK, I guess everybody tried Project Joe. My artist insists that we should use the same principle for displaying the verb bar and inventory (hold left-click = verb bar, right-click = inv). Now, I don't really like it, but whatever. How can I do the verb bar part? I guess I still don't have a grasp on how those game.script and game_deamon.script work and interact together, and where should I start with this, but I think that solving this would really help me. I know I should do something with the timer, but where and how, beats the hell out of me... :(

3
Hey, everybody!

I am new here (not new to scripting and/or programming), just started playing with WME a few days ago. I am testing it to see if it fits our needs, and I gotta say - I like what I see...  ::rock
Me and my friend (The Artist Not Really Known At All)  grabbed a few discarded sprites and backgrounds and I went to work to make a simple two-scened "game" just to see what one can do in WME.

However, documentation seems rather confusing and not really updated. That is why I am posting here, and I guess you will hear more from me...

First thigs first - options/features like close up layers and rotation levels (both found in Scene editor) are not mentioned anywhere in the docs. Now, I am already using CloseUp layer for "zooming-in" certain parts of the scene (for example, when one opens a cabinet drawer I could activate Close Up layer with drawer contents drawn nicley). As I understand, it is exclusive and can hold interactive entities/items so I suppose it's purpose is to do exactly what I did. Am I right? Rotation levels, however, left me puzzled. I saw no effect on the actor nor other entites, so I would really like if someone could explain just what they do.

What really scares me is the fact that, while searching this forum, I found a lot of code samples using methods/attributes of objects I never saw in the docs. How much of the funcionality is kept undercover like this?!  :o I could spend days solving a problem while I could use an undocumented function... I don't like the sound of that...  ???

Now, this is it for now, gotta go back to my real job  >:D but I'll be back soon with interesting problems including staircases that go into floors and various similar mindbending stuff... ;)

Vatre

Pages: [1]

Page created in 0.037 seconds with 18 queries.