Jump to content


Huxaltec

Member Since 08 Aug 2009
Offline Last Active Mar 25 2012 02:29 AM

Posts I've Made

In Topic: How to add an entrance to an existing map ?

23 May 2011 - 06:28 AM

Sorry for double post.

I have a problem with the travel between the existing area (AR0411) and my own area (QQGLY1).
The game crashes with the message : "An Assertion failed in ChVidImage.cpp at line 6134. Programmer says : Tile data accessed when not loaded".

baldur.log says :

---------------------Start Logging Session---------------------

CVisibilityMap::AddCharacter : ( 3464, 3115 ) #:8454273 R:14
CVisibilityMap::AddCharacter : ( 3395, 3062 ) #:8519810 R:14
CVisibilityMap::AddCharacter : ( 1016, 1194 ) #:8454273 R:14
CVisibilityMap::AddCharacter : ( 952, 1194 ) #:8519810 R:14


baldur.err :

---------------------Start Logging Session---------------------

ASSERTION FAILED!
File: ChVidImage.cpp
Line: 6134

Exp: FALSE

Msg: Tile data accessed when not loaded
Run Debugger?



I used Macro method to create an entrance and trigger travel in AR0411 (see the code below), and I also made it (with IETME) in QQGLY1. Others AR0411 travel triggers were deactivated by scripts.
COPY_EXISTING ar0411.are override
  LPF fj_are_structure
    INT_VAR
    fj_type         = 2    //travel
    fj_box_left     = 3295
    fj_box_top      = 2974
    fj_box_right    = 3623
    fj_box_bottom   = 3244
    fj_cursor_idx   = 30   // door
    fj_flags        = 516  // party required, NPCs can't pass
    fj_vertex_0     = 3295 + (3076 << 16)
    fj_vertex_1     = 3407 + (2974 << 16)
    fj_vertex_2     = 3623 + (3144 << 16)
    fj_vertex_3     = 3464 + (3244 << 16)
    STR_VAR
    fj_structure_type   = region
    fj_name             = QQTRGLY1 // region name
    fj_destination_area = QQGLY1      // *.ARE
    fj_destination_name = QQGLYEN          // entrance name
  END
  LPF fj_are_structure
    INT_VAR
    fj_loc_x       = 3271
    fj_loc_y       = 2950
    fj_orientation = 6   // NW
    STR_VAR
    fj_structure_type = entrance
    fj_name           = QQ411EN
  END

An idea ?



EDIT : everything is working now, IETME just failed on saving my QQGLY1.are.

In Topic: How to add an entrance to an existing map ?

22 May 2011 - 03:31 PM

Two methods for the price of one :-D !! That's great, both work fine !!!! Thanks guys !