Modify

Ticket #122 (closed bug: fixed)

Opened 10 years ago

Last modified 10 years ago

Map editor not dealing with teleport options properly

Reported by: eliedebrauwer Owned by: parpg
Priority: major Milestone: Techdemo 1
Component: scripts Version: trunk
Keywords: Cc:
Blocked By: Blocking:
Department:

Description

The map editor (I think) does not deal with the custom arguments of the teleport properly.

The current map.xml contains

<i gfx="shanty-door" id="shanty-door01" is_open="False" name="Shanty Door" o="shanty-door" object_type="ShantyDoor" r="0" target_map="maps/map2.xml" target_map_name="map2" target_pos="(0,0)" text="Looks like the entrance to the building." x="-2.0" xpos="-2.0" y="6.0" ypos="6.0" z="0.0" />

while instead of target_pos it should contain target_x and target_y (see map2.xml)

<!-- A sample door -->
<i x="-2.0" o="shanty-door" z="0.0" y="6.0" r="0" id="shanty-door01" object_type="ShantyDoor" is_open="False"                 name="Shanty Door" text="Looks like the entrance to the building." target_map_name="main-map" target_map="maps/map.xml"               target_x="0.0" target_y="0.0"></i>

this will need both fixing in map.xml and within the map load/save

Attachments

Change History

comment:1 Changed 10 years ago by eliedebrauwer

(In [336]) Ticket #122: Patch by eliedebrauwer, fixed problem with target position in the loading/saving of the map, map.xml is still faulty. refs #122

comment:2 Changed 10 years ago by barra_parpg

  • Status changed from new to closed
  • Resolution set to fixed

Fixed by [337]

View

Add a comment

Modify Ticket

Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.