Please login or register.

Login with username, password and session length
Advanced search  

News:

For WME related articles and tutorials visit WME Resource Center.

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.

Messages - BorisC

Pages: [1] 2 3
1
Technical forum / actor.GoTo(this) - problems ;(
« on: August 18, 2006, 12:47:48 AM »
I have two 3d characters in my scene.
NPC one comes from upper left corner to middle right.
I can stop him by click at any place(for instance by "talk") and he and my actor look each other:

actor.TurnTo(this)
this.TrunTo(actor)

______________
They both see each other with no problem.
But when I want use item I have:
actor.GoTo(this)

_______________
actor comes to middle left corner stops there and gives an item(NPC stands at end of his way(middle right) or stop during way to middle left.
Where I've wrong ?

2
Technical forum / Can I uncompile ?
« on: August 17, 2006, 11:34:20 PM »
;-(
I need to return to previous version. But I have it only compiled.
Is there any way to get all my scripts ?

3
Technical forum / Re: How to insert new character ?
« on: August 17, 2006, 10:34:28 PM »
Gee...
I've wrote at NCP1.script
on "LookAt"
{
  actor.GoTo(171, 465);
  actor.TurnTo(DI_UPLEFT);

  actor.Talk("Blah, blah, blah");
}
_____________________________
and get menu I've wanted !
wheew !
Is that right way to insert NPC in scene/game ?

4
Technical forum / Re: How to insert new character ?
« on: August 17, 2006, 10:22:37 PM »
oh. NCP meanb NPC ;-)
Also, now I have modify script to:
// load our main actor
   global ncp = Game.LoadActor3D("actors\NCP\CNP1.act3d");
   Game.MainObject = ncp;
   ncp.SkipTo(200, 430);
   ncp.GoTo(600, 400);
   whore.Direction = DI_DOWN;
_________________
it works.. oh :)
And I've noticed to make something "clickable"(I mean to call menu) it should be intity. It's Ok with sprites but how to make 3D char. entity ?

5
Technical forum / How to insert new character ?
« on: August 17, 2006, 09:19:32 PM »
I want to insert another NPC in scene.
I saw demo with OldGay. It made by entity.
But I want make him walk in some cases and play different animations.
Also, I want to make him 3D.
So, what is my way ?
Add actor by:
actor = Game.LoadActor("actors\NCP\NCP1.act3D");
Game.MainObject = actor;
____________________________________
but it's MainObject..
or I should repeat OldGay way by

global OldGuy = Scene.LoadEntity("entities\oldguy\oldguy.entity");
OldGuy.SkipTo(505, 330);
_____________________________
What is difference ? I mean what is best for NCP ? To be an actor or to be entity ? ;)

You have really great docs but I didn't found how to make NCP :)


P.S.  Now I made "it from" teapot

actor.Active = true;
if(!Game.IsItemTaken("NCP1))
{
  var Teapot = Scene.LoadActor3D("actors\NCP\NCP1.act3d");
  Teapot.SkipTo(1110, 504);
  Teapot.Direction = DI_DOWN;
}

he is standing and plays "idle" but he is not "clickable" and can't even talk with him ;)

I tried to found something on forum but failed.
Is it too easy ? And nobody have questions about that ? ;(((

6
Technical forum / Re: Clicking on character cause endless walk.
« on: August 14, 2006, 04:14:15 PM »
Shame on me ;(
I though this handler calls for animation when I click somewhere ;(

7
Technical forum / Re: Clicking on character cause endless walk.
« on: August 14, 2006, 03:07:46 PM »
I try to achieve "nothing" when I click on character itself ;)

8
Technical forum / Re: Clicking on character cause endless walk.
« on: August 14, 2006, 11:14:39 AM »
It's old tirnity.script as I mentioned before :)
So, for LeftClik we have
on "LeftClick"
{
  actor.PlayAnimChannelAsync(1, "walk");
}

But how to force character to play animation walk when moving by click ?

9
Technical forum / Clicking on character cause endless walk.
« on: August 13, 2006, 11:58:47 AM »
I have my.x character with walk and idle animations.
This one was made by modifying original. trimity.x
For now my character plays idel when just standing and walk when I click somewhere. So, everything is fine, but...
When I click on myself charancer become walk on same place. And there is no way to stop him.
What I did wrong ?

10
Technical forum / Re: Question about Decoration regions.
« on: August 12, 2006, 10:44:06 PM »
Ok, just asking :)
thanx

11
Technical forum / Question about Decoration regions.
« on: August 12, 2006, 09:08:02 PM »
Is Decoration regions work on 3D characters ?
I can't get any results ;(

12
Technical forum / Re: What happened ???!
« on: August 12, 2006, 08:14:12 PM »
Sorry, for perturbing you guys...
it's my fault.
She told me windows is restaring when reload with blue screen.
She was afraid and turn off power ;(
So, I think I lost some files of the scene or WME engine ;(
Now I'll recreate new scene. Last one was "testing one" and wasn't too complex and hard.

13
Technical forum / Re: What happened ???!
« on: August 12, 2006, 05:53:01 PM »
Other scence(standard "Front" working Ok, with jriginal trinity.x and even with my .x.
yes, problem is in scene but what kind ?
.3ds is ok...
Log is:
19:19: Error: Animation 'hold' cannot be found in the model. 
but it's ok. I know it for sure(trininy have hold but crashes too)...

..............
Geee.. I've noticed my GF used my PC without me.
it's surprise for me and I need to ask her, what exactly she did ;-)

14
Technical forum / What happened ???!
« on: August 12, 2006, 03:06:02 PM »
AppName: sceneedit.exe    AppVer: 1.6.0.0    ModName: sceneedit.exe
ModVer: 1.6.0.0    Offset: 00044bb4

Today it happened !
With no any changes from last evening I can't download scene.
I have scene and character, yestoday all was Ok. Today I can't download scene WITH actor.
I can download scene in editor but with Add Actor happens error:
AppName: sceneedit.exe    AppVer: 1.6.0.0    ModName: sceneedit.exe
ModVer: 1.6.0.0    Offset: 00044bb4

Even more !
I can see actor in WME Project Manager. Alos, I've tried download original Trinity. File is Ok, I can see her preview in Manager when I've click on trinity.act3d but when I press "!" and after menu scene is scrashing.

So, Scene is crashing in bot ways: in "!" way and when I've trying to download actor in scene editor to test it.
Have no any idea ;((((((((((((((((((((((


-----------------------------------------------------------------
---------- WME 1.6.001 crash report: 12-08-2006, 18:02 ----------
-----------------------------------------------------------------
ProjectMan.exe caused a EXCEPTION_ACCESS_VIOLATION in module d3d8.dll at 001B:01892DE2
EAX=00000000  EBX=001DC5C0  ECX=00000000  EDX=00000003  ESI=0012F3D4
EDI=001DCC04  EBP=0012F318  ESP=0012F30C  EIP=01892DE2  FLG=00010202
CS=001B   DS=0023  SS=0023  ES=0023   FS=0038  GS=0000
Stack trace:
001B:01892DE2 (0x00000003 0x0012F394 0x00000000 0x001DC5C0) d3d8.dll
001B:01899575 (0x001DC5C0 0x00000003 0x0012F394 0x00000000) d3d8.dll
_____________________
old version, compiled last evening works Ok too ;(

15
Technical forum / Re: 3D character animation ;-(
« on: August 10, 2006, 01:15:12 AM »
yeah, maybe. I am an artist, not programmer. So, it's hard to me :-)
why 240, not 300 ? PAL ? ;-)

No matter.

Now I may say:
there is proved way to create 3D characters in maya and move it into WME.
1. Make character with animation(however, you may make animations in separate files(not all in one file), this way you can skip steps 2-5).
2. Make one clip per one animations.
3. Now you need to make different files with one animation per file. For example you may export clips in files, then load empty characer(w/o any animations) and upload the clip. Now you have character with one animation in clip.
4. Save files.
5. Make it again for all your animations. You may have many .mb files. Our goal is 1 .mb per 1 animation.
6. Now download it into Deep Exploration and export it to .x with "time scale". Animation options at down of screen. You need to "quess" number of "second" and "frames" to get EVERY key in ~240 frames. Sound like madness but it's easy. For instance: my "Idle" animation is 6 seconds(180 frames) in Maya. So, I need write 60 at end and 8.000 at FPS fields. I'll get begin at 0 frame and end at ~48.000, so it's ok. My animation is about 6 seconds.
(We need end at 43.200(180x240), because .x timing is 240 .x frames per 1 Maya frame, but I don't like silly precision in art).
7. Choose "Main File" - you will add animations from other .x files. In notepad open other .x files, select AnimationSet at very down of .x file and copy it then paste at the end of your Main .x File. Don't forget to give name to new Animation Sets

This is my way. And it's work with: WME 1.6.1, Maya 6, Deep Exploration 3.5

Ask anytime :)

And sorry for poor english :)

Pages: [1] 2 3

Page created in 0.035 seconds with 17 queries.