Please login or register.

Login with username, password and session length
Advanced search  

News:

Forum rules - please read before posting, it can save you a lot of time.

Author Topic: WME book online  (Read 6543 times)

0 Members and 2 Guests are viewing this topic.

berzingue

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
    • View Profile
WME book online
« on: January 02, 2013, 10:02:23 PM »


Hello,

I've discovered Wintermute engine last week, That's a really interesting job ! I'm interested to create games with this engine.

So I've downloaded the 1.10.1 version and learn to use it with the WME book online...

But, will you complete the book ? there is no revision since 2008...
Does it exists a complete PDF version I can dowlnoad ?

Also : I've tried to place and use the 3d character "Trinity" in a 2d scene but the character stays invisible...

thanks for your help !

Logged

ciberspace

  • Regular poster
  • ***
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 116
    • View Profile
    • Tele Juego
Re: WME book online
« Reply #1 on: January 03, 2013, 07:25:06 AM »

The scenes
Unlike the ordinary 2D scenes, you will need to add an extra layer to your scenes to support hosting 3D characters in them. This layer is called the "hidden scene geometry". Basically it's a simple 3D model which defines the 3D layout of your scene. It defines the walk-planes and blocked objects. Although this 3D model is never actually visible to the player, the 3D characters are using it to navigate the scene. They are walking on invisible 3D planes and they avoid hidden blocked objects.

Once again, this hidden geometry has to be created in some 3D modeling software and then saved in the 3DS format. 3DS is the only format WME accepts as scene geometry. This format is very popular and you should be able to export is from most 3D packages.


The hidden geometry file contains the following components:

Walk-planes
Blocked objects
Waypoints
Lights
Cameras
Other objects for shadow casting purposes

Quote
the help of the program F1

berzingue

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
    • View Profile
Re: WME book online
« Reply #2 on: January 03, 2013, 10:39:34 AM »

thank you ciberspace for your answer ! I have to try that.

...what about online book ? I hope it will be completed, it's so easier to learn step by step how to use a SDK...!

EDIT : I've made a basic 3d scene in 3dsmax with camera (Camera01), collisions (walk_floor, blk_house) and waypoints (wpt_01, wpt_02, wpt_03).
I've placed actor "Trinity" on the scene. All looks ok in scene editor, trinity is there, so I save.
I launch the game. Unfortunaly, tere is no actor, and a message "script runtime error, see log". But there is no messages in log.

any idea...?
« Last Edit: January 03, 2013, 11:53:23 AM by berzingue »
Logged

ciberspace

  • Regular poster
  • ***
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 116
    • View Profile
    • Tele Juego
Re: WME book online
« Reply #3 on: January 03, 2013, 12:43:57 PM »

wme.txt in project Folder

berzingue

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
    • View Profile
Re: WME book online
« Reply #4 on: January 03, 2013, 04:02:27 PM »

Thank you

So : I put Trinity in my scene, but WME is looking for Molly !  :(

Here is what I've done:
-> I've removed Molly out of my project, 
-> in the scene editor : actor > load actor > trinity > trinity.act3d
and then, I've placed actor.

But please have a look at the the log :

15:51: ********** DEBUG LOG OPENED 03-01-2013 (Release Build) *****************
15:51: Wintermute Engine ver 1.10.1beta, Compiled on Jul 19 2012, 16:18:06
15:51: Platform: Windows Vista Service Pack 2 (Build 6002)
15:51: DirectX version: 9.0
15:51:
15:51: Scanning packages...
15:51:   Registered 0 files in 0 package(s)
15:51: Initializing scripting engine...
15:51:   Script compiler bound successfuly
15:51: Loading plugins...
15:51:   wme_sample_pixel.dll
15:51:   wme_snow.dll
15:51: Loading string table...
15:51:   51 strings loaded
15:51: Enumerating Direct3D devices...
15:51: Enumerating DirectSound devices...
15:51: Game aspect ratio:    1.333333
15:51: Monitor aspect ratio: 1.778646
15:51: Searching for optimal resolution (device: NVIDIA GeForce 9500M GS              )
15:51:   -> Considering: 1366 x 768
15:51:   -> Considering: 1366 x 768
15:51: Optimal resolution: 1366 x 768
15:51: Backup resolution:  800 x 600
15:51:
15:51: Available video devices:
15:51:   NVIDIA GeForce 9500M GS               (accelerated)
15:51:     Driver: nvd3dum.dll 8.17.12.8026
15:51:     Monitor: 0
15:51: Available audio devices:
15:51:   Périphérique audio principal
15:51:   Haut-parleurs (Realtek High Definition Audio)
15:51:   Realtek HDMI Output (Realtek High Definition Audio)
15:51:   Realtek Digital Output (Realtek High Definition Audio)
15:51:   [no sound]
15:51:
15:51: User selected:
15:51:   Using optimal resolution (1366 x 768)
15:51:   Video: NVIDIA GeForce 9500M GS               (accelerated)
15:51:          Windowed:no  Colors:32bit  T&L:yes  Multisample:0
15:51:   Audio: Périphérique audio principal
15:51: Maximum texture size: 8192x8192
15:51: Engine initialized in 46 ms
15:51:
15:51: Error opening file 'actors\molly\molly.actor'
15:51: CAdActor::LoadFile failed for file 'actors\molly\molly.actor'
15:51: Runtime error. Script 'scenes\Room\scr\scene_init.script', line 5
15:51:   Call to undefined method 'SkipTo'. Ignored.
15:51:
15:51: Shutting down...
15:51: Shutting down scripting engine
15:51: ********** DEBUG LOG CLOSED ********************************************
« Last Edit: January 03, 2013, 04:10:07 PM by berzingue »
Logged

ciberspace

  • Regular poster
  • ***
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 116
    • View Profile
    • Tele Juego
Re: WME book online
« Reply #5 on: January 03, 2013, 04:14:56 PM »

in
Quote
script/game.script
change
Code: WME Script
  1. actor = Game.LoadActor("actors\molly\molly.actor");
  2. Game.MainObject = actor;
  3.  

for

Code: WME Script
  1. actor = Game.LoadActor3D("actors\trinity\trinity.act3d");
  2. Game.MainObject = actor;
  3.  

berzingue

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
    • View Profile
Re: WME book online
« Reply #6 on: January 03, 2013, 04:44:34 PM »

It works, thanks a lot ciberspace !  :)
 
Logged

berzingue

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
    • View Profile
Re: WME book online
« Reply #7 on: January 03, 2013, 06:56:41 PM »

Oh, another problem to solve...waypoints are present in my scene (called wpt_01, wpt_02, wpt_03 in 3dsmax).
Scene editor seems reconize them, there are crosses on the scene to symbolise them.
But when I launch the game and click on the scene to make move trinity, well, she don't walk...

Is there a script to write ?
Logged

ciberspace

  • Regular poster
  • ***
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 116
    • View Profile
    • Tele Juego
Re: WME book online
« Reply #8 on: January 03, 2013, 07:37:48 PM »

try changing game.script
copy the file wme-demo_3d  :-\
« Last Edit: January 03, 2013, 07:41:02 PM by ciberspace »
Logged

berzingue

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
    • View Profile
Re: WME book online
« Reply #9 on: January 03, 2013, 08:05:40 PM »

ok I understand now. I just have to create a Nood called "floor" and it works.
Sorry it was any newbie questions ! thanks a lot for the help  :P
Logged
 

Page created in 0.17 seconds with 25 queries.