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.

Messages - binary1

Pages: 1 2 [3] 4
31
WME sources discussion / Re: skinmeshhelper error on compile
« on: May 24, 2012, 03:44:45 PM »
Success!  I have it working with VS 2005 with the dll file added.  Thanks! 

32
WME sources discussion / Re: skinmeshhelper error on compile
« on: May 23, 2012, 06:18:04 AM »
That partly worked.  (I am using Visual Studio 2005 with the debug configuration and used the absolute path to the demo project.)  I got the settings screen and then a black screen.  Frames per second are displaying in the top left.  On the right, it displays the mode, the polycount (190), running scripts ("0(r:0 w:0 p:0)"), mouse position (it changes correctly as I move the mouse but the scene value is the same as the mouse value), Scene ("prev: ???"), and the timer which continuously recycles.  There are no images on the screen.

Do any of the other executable or library files files have to be copied to the directory with wme.exe?  I only have wme.exe after building the source files but I see quite a few other files in the development kit with wme.exe.  ProjectMan.exe, Integrator.exe, wme_console.dll are a few.  Should I be seeing the demo game at this point?

Thanks.

33
WME sources discussion / Re: skinmeshhelper error on compile
« on: May 22, 2012, 06:21:54 PM »
I have full versions of Visual Studio 2005 and 2010 and the express version of 2008.  I can compile but can't run with all of them.  The 2005 version is on an older computer that I have at home so I'll try the method you suggested tonight using 2005.  I tried previously with the 2008 version.

Here is what I did (in VS 2008):
I went to Project-Properties-Debugging-command arguments and put in:  -project "projects\wme_demo\wme_demo.wpr".  $(TargetPath) was already listed under Project-Properties-Debugging-Command. 

"projects\wme_demo\wme_demo.wpr" is inside the debug directory with wme.exe.

Is that the correct way to point to a game file?  Do I need to have ProjectMan.exe or any other executable in the directory with wme.exe?

Thanks for all your help.  WME is perfect for my needs and I appreciate all that you put into it.  I'm looking forward to WME2!

34
WME sources discussion / Re: skinmeshhelper error on compile
« on: May 22, 2012, 03:35:54 PM »
Hey there.

May I ask why you are compiling WME? Did you make any changes do the Sourcecode, or do you want to make any changes?

I used WME for a short project that I was doing for a class I was taking.  The ability to use 3d models with 2d backgrounds is perfect for what I want to do.  I am creating an application for teaching veterinary students but have limited resources and unfortunately, very little (actually zero) artistic talent.  So ... the project I did used 3d characters with photographs or screen shots used as backgrounds.  I'd like to use motion capture for some close up sequences but am not sure what I can do with WME.  I've only just started to learn the engine.  The problem is that WME is no longer being developed.  I know that WME2 is being developed but I don't know if there is anything that can be used yet.  Anyway, the short answer is that I may never make changes but I wanted to make sure that it was possible.  Also, I think I can learn how to use the engine better if I can understand and experiment with the code a bit.

I've looked at other engines (C4, TGE, Irrlicht, Ogre3D, and others) but I think Wintermute is the best fit.

So... you know what else I need to do to get WME to run after compiling the code?

35
WME sources discussion / Re: skinmeshhelper error on compile
« on: May 20, 2012, 11:40:17 PM »
I don't completely understand but here is what I think.
I see that wme.exe doesn't really run by itself.  When I run a game.wpr, it is coming up in WME Project Manager.  If I compile the sources, I need to point to a .wpr file.  Is that correct?

I'm looking at what you said in the other post:
"Hm, not really. You need to set the path to your project in Project Settings->Debugging->Command line arguments. Enter something like:

Code: [Select]
-project "path\to\your\project.wpr"

Then just click "Run with debugging". What problem exactly you're having?"

So ...  in Visual Studio 2008, I went to Project-Properties-Debugging-command arguments and put in "-project "projects\wme_demo\wme_demo.wpr".  $(TargetPath) is under Command.  "projects\wme_demo\wme_demo.wpr" is inside the debug directory with wme.exe. 

Everything compiles ok but when I try to run the program, it says "Unable to start program "c:\Engines\wme_src_191_2\src\debug\wme.exe"   This application has failed to start because the application configuration is incorrect.  Review the manifest file for possible errors.  Reinstalling the application may fix this problem.  For more details, please see the application event log."

Am I on the right track or am I completely misunderstanding what should happen?  Do I need to add a game to the project?  How should things work without Project Manager?

Thanks again.

36
WME sources discussion / Re: skinmeshhelper error on compile
« on: May 20, 2012, 07:21:41 PM »
I get the problem with both the release and debug versions.  I am using the libs that came with wme but was wondering if I needed to do something else.

I just tried again with VS 2005 with about the same result.  Everything compiles but there are a lot of warnings and the program won't run.  When I try to run the program (VS 2005), I get: "Some of the essential game files cannot be loaded.  Please reinstall the game and try again."

Here are the warnings from VS2005 (release version):

3>Generating code
3>f:\projects\wme\src\external_lib\libtheora\lib\dec\quant.c(117) : warning C4701: potentially uninitialized local variable 'plj' used
3>f:\projects\wme\src\external_lib\libtheora\lib\dec\decode.c(1436) : warning C4701: potentially uninitialized local variable 'last_zzi' used
3>Finished generating code
3>libtheora.lib(bitpack.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libtheora.lib(mmxstate.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libtheora.lib(state.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libtheora.lib(mmxfrag.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libtheora.lib(decinfo.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libtheora.lib(mmxloopfilter.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libtheora.lib(decode1.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libtheora.lib(x86state.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libtheora.lib(info.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libtheora.lib(idct1.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libtheora.lib(apiwrapper.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libtheora.lib(internal.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libtheora.lib(dequant.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libtheora.lib(decapiwrapper.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libtheora.lib(huffdec.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libtheora.lib(fragment.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libtheora.lib(quant1.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libtheora.lib(mmxidct.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>zlib.lib(adler32.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>zlib.lib(compress.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>zlib.lib(crc32.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>zlib.lib(deflate.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>zlib.lib(inffast.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>zlib.lib(inflate.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>zlib.lib(inftrees.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>zlib.lib(trees.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>zlib.lib(uncompr.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>zlib.lib(zutil.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libpng.lib(png.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libpng.lib(pngerror.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libpng.lib(pngget.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libpng.lib(pngmem.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libpng.lib(pngread.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libpng.lib(pngrio.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libpng.lib(pngrtran.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libpng.lib(pngrutil.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libpng.lib(pngset.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libpng.lib(pngtrans.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jcomapi.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jdapimin.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jdapistd.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jdcoefct.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jdcolor.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jddctmgr.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jdhuff.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jdinput.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jdmainct.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jdmarker.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jdmaster.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jdmerge.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jdphuff.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jdpostct.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jdsample.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jerror.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jidctflt.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jidctfst.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jidctint.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jidctred.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jmemmgr.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jmemnobs.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jquant1.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jquant2.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libjpeg.lib(jutils.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libogg.lib(bitwise.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libogg.lib(framing.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libvorbis.lib(analysis.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libvorbis.lib(bitrate.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libvorbis.lib(block.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libvorbis.lib(codebook.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libvorbis.lib(envelope.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libvorbis.lib(floor0.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libvorbis.lib(floor1.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libvorbis.lib(info.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libvorbis.lib(lpc.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libvorbis.lib(lsp.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libvorbis.lib(mapping0.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libvorbis.lib(mdct.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libvorbis.lib(psy.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libvorbis.lib(registry.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libvorbis.lib(res0.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libvorbis.lib(sharedbook.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libvorbis.lib(smallft.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libvorbis.lib(synthesis.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libvorbis.lib(window.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>libvorbisfile.lib(vorbisfile.obj) : warning LNK4204: 'c:\wme\src\wme\release\vc80.pdb' is missing debugging information for referencing module; linking object as if no debug info
3>Embedding manifest...
3>.\res\manifest.xml : manifest authoring warning 81010002: Unrecognized Element "requestedPrivileges" in namespace "urn:schemas-microsoft-com:asm.v2".

I don't get the manifest warning with 2008 & 2019 but otherwise the warnings look to be about the same.  I'm not sure if the problem has anything to do with the warnings or if I have something else wrong.

Thanks.

37
WME sources discussion / Re: skinmeshhelper error on compile
« on: May 20, 2012, 01:04:22 AM »
I didn't have d3dx8.lib but finally managed to locate directx 8 online and installed the full version.  That changed my original errors into the opposite problem - now the program reported too few parameters for the two functions.  So... I restored the original versions. 

The program now compiles with a lot of warnings, mostly about vc80.pdb not found usually with a libvorbis file but no errors.  However, when I try to run the executable, I get the following error:  The application has failed to start because its side-by-side configuration is incorrect.  Please see the application event log or use the command line sxstrace.exe tool for more detail.

I'm going to re-install libvorbis but I'm not sure if this is the problem.  Has anyone else seen this error message or knows what to do about it?

38
WME sources discussion / Re: skinmeshhelper error on compile
« on: May 18, 2012, 07:15:22 PM »
Actually when I looked again at SkinnedMeshHelper.cpp, there were extra nulls in the return statements.

For example, GenerateSkinnedMesh had:
return m_SkinMesh->GenerateSkinnedMesh(Options, minWeight, pAdjacencyIn, pAdjacencyOut, NULL, NULL, ppMesh);

When I removed the NULL parameters, the two errors disappeared.  I have to locate D3DX8.lib but I think everything should work now.

Thanks!

39
WME sources discussion / Re: skinmeshhelper error on compile
« on: May 18, 2012, 07:05:55 PM »
It seems that SkinMeshHelper.h has the following:

HRESULT GenerateSkinnedMesh(DWORD Options, FLOAT minWeight, CONST LPDWORD pAdjacencyIn, LPDWORD pAdjacencyOut, LPD3DXMESH* ppMesh);
   HRESULT UpdateSkinnedMesh(CONST D3DXMATRIX* pBoneTransforms, LPD3DXMESH pMesh);

but there are 7 parameters for GenerateSkinnedMesh and 3 parameters for UpdateSkinnedMesh in SkinMeshHelper.cpp

I'm going to try to edit the header file.

40
WME sources discussion / Re: skinmeshhelper error on compile
« on: May 18, 2012, 03:37:09 AM »
I checked the configuration in VS 2008 but it is set at debug, not debugd3d9.  I did try switching to dbugd3d9 but got a lot of errors with that.  I tried with the release configuration but got the same two errors that I had with the debug configuration.  After that I pulled out an old computer with Visual Studio 2005 (full version) but get the same two errors.  I'm going to look up the functions to see if I can figure out what is going on.  Anything else I can check?  I appreciate the help.

41
WME sources discussion / skinmeshhelper error on compile
« on: May 17, 2012, 04:07:03 PM »
I'm trying to compile Wintermute with Visual C++ 2008 express edition.  I have directx 8 so I got past the d3dx8 errors but now am getting the following errors:

error C2660: 'ID3DXSkinMesh::GenerateSkinnedMesh' : function does not take 7 arguments
error C2660: 'ID3DXSkinMesh::UpdateSkinnedMesh' : function does not take 3 arguments

I also get a linking error but I think this is secondary to the above errors.

Does anyone know how to fix these?

Thanks.

42
That is totally cool.  In particular, I liked the ability to rotate around the room (except I got a bit dizzy - it went so fast!).  I did notice that after I jumped up & down a few times, the up arrow started working as jump instead of forward.  Was that coded as a switch statement?

Were you using a geometry file alone with 2d path finding turned off?

43
Technical forum / motion capture
« on: April 23, 2012, 05:52:45 PM »
Has anyone tried using motion capture with MotionBuilder and 3ds Max and then exporting to .x for use with WME?  Some other method?  I would like to animate some characters with motion capture but when I tried exporting from 3ds max, the models either don't show up or crash the program when I try to use them.  I've been using the settings suggested on the resource page for exporting from 3ds max.  Thanks.

44
Bug reports / Re: My 3D actor isn't showing up
« on: April 20, 2012, 04:31:36 AM »
I can't see your picture very well but on my screen, the actor looks very small.  I've had problems with models that were the wrong size (change the scale setting in the actor definition file) or they were not at the origin when they were exported.  I followed the settings that were given in the tutorial on the resources page for exporting .x from 3ds Max.  What version of Max are you using?

45
Technical forum / actor walks in strange path
« on: March 15, 2012, 11:35:36 PM »
What scripts determine the path the actor takes?  I have a series of scenes of scenes.  I have most working ok but there is one where the actor is invisible coming from one side but ok (except for a strange path) coming from the other side.  I am running in 2.5D mode.
If I start from the beginning, the actor is standing in the middle of the room.  I click to go into room 2.  The actor doesn't show up but I can click on the entrance of room three to get him there.  He is at the bottom of the screen facing up.  From room three, I click to go back to room 2.  The entrance to room 2 is on the bottom right of the screen but he goes up and turn around before going down again.  From there, the actor enters room 2 where he is visible but he comes from the far left, turns facing down, walks down and then turns to face up.  If I then click to go back to room 1, I hear footsteps but there is no actor until he magically appears in the middle.
The script for entering room 2 from room 1 just has (in on "LeftClick")
                                 actor.GoToObject(this);
                                 Game.ChangeScene("scenes\hall\hall.scene");

The scene initialization script for room 2 has:
                                   actor.GoTo(650, 650);
                                   actor.Direction = DI_UP;
                                   actor.Active = true;

The other "LeftClick" and scene initialization scripts are similar.  I think the actor is getting stuck outside somewhere when he enters room 2 from room 1.  But how can I change the path he takes?  Are the scripts adding together somehow to give these strange paths? 

Thanks.  I appreciate any suggestions anyone can make.  I've searched scripts and the forum but I must be missing something.

                                         

Pages: 1 2 [3] 4

Page created in 0.087 seconds with 23 queries.