Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read 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 - Kapryagos

Pages: [1]
1
Technical forum / Problem: DropItem or SceneNode-Saving
« on: November 11, 2010, 02:56:09 AM »
Hello everyone!

I seemingly have the typical problem where the scene entities related to an item get set back to their original place in the scene after I drop them.
Of course I searched for a way to solve it (here on the forum) and I found it: I added a line to my custom Take-function where the scene entity's relation to the item gets disconnected...
It worked!
But then I confronted a new part of the same problem:
When I take an object, leave the scene to fetch another item, come back to the first scene and then drop both items while making a new one out of them, the first item reappears!
But as I found out after some trials, the entities' disconnected relations are connected again when I enter a scene again.

* "Remember nodes states" in SceneEdit is flagged.
* I tried ".SaveState" on the scene entities to be taken as well as on the scene -- didn't change anything.

I beg for a hint since I have been trying on this for several days now! @_@

2
Technical forum / GetAttachment-Problem ?
« on: October 17, 2010, 02:41:28 AM »
Hello. I want to attach a head to my actor, separately from the body. But in this case, I'm talking about a 2D-Actor.
So I used "AddAttachment" to put an entity onto my actor (named Honda)...
Code: [Select]
ENTITY
{
  SPRITE = "actors/Honda/hondahead01.png"
}

So far it worked, but when I try to manipulate that attachment, my code does nothing, and neither do I get any informative debug-log.
(The following code is meant to change the attached file to fit the actor's direction.)
Code: [Select]
this.AddAttachment("actors/Honda/hondahead01.entity", true, -45, -384);
var Hondahead = this.GetAttachment(0);

while(true) {
if(this.Direction=="DI_LEFT") {
Hondahead.SetSprite("actors/Honda/hondahead01.png");
}
if(this.Direction=="DI_RIGHT") {
Hondahead.SetSprite("actors/Honda/hondahead02.png");
}
Sleep(20);
}

I have tried several variations of this code, changing the "DI_LEFT" to "LEFT" etc., calling the attachment's filename instead of an index number, and other details.
But since I won't get any failure messages in the log I don't know what is wrong and I must suppose that there several faults in it, which increases my confusion.
So I beg for help, please!

3
Technical forum / Writing into the response box?
« on: September 29, 2010, 01:45:50 PM »
Hello, I'm new here. :)

I just started having a look at WME and I wonder: Is it possible to write text into the response box (no response, merely some text introducing the responses)?
What I would like to do would be an RP-style dialogue system like in the the old Black Isle games, rather like a "log" of dialogues.

Thanks for helping me out. :)

Pages: [1]

Page created in 0.032 seconds with 22 queries.