Jump to content


Photo

[HELP WANTED] TP2 Region Addition


  • Please log in to reply
2 replies to this topic

#1 Lava Del'Vortel

Lava Del'Vortel

    Fiction Enforcer

  • Modder
  • 2299 posts

Posted 05 May 2011 - 02:01 AM

What do you need?
Someone to help me with tp2 addition. I want to add travel region to Slums and I have no idea how to do it. I'd like someone to prepare blocks I could just add to tp2.

What are the specifics of the region?
Type: travel region
Area: Slums - AR0400
Icon: 'Walk through doors'
Destination Region: L30000
Destination Area: En
Points of the travel region:

[2400.2636] [2325.2675]
[2404.2680] [2350.2701]

Do you need anything else?
Yes. It also needs a new entrance in Slums so player would appear at this point after leaving the house (new area).
Entrance Point: 2350.2650
Entrance Name: L3En

What for you need this?
For a SoA romancable NPC I'm working on. I hope to finish it one day.

Edited by Lava Del'Vortel, 06 May 2011 - 06:25 AM.


#2 GeN1e

GeN1e

    A very GAR character

  • Modder
  • 1604 posts

Posted 08 May 2011 - 02:26 PM

I don't know if you want specific flags set, so uncomment one of the lines should you need it.
COPY_EXISTING ar0400.are override

  LPF fj_are_structure

    INT_VAR

    fj_type         = 2    //travel

    fj_box_left     = 2325

    fj_box_top      = 2636

    fj_box_right    = 2404

    fj_box_bottom   = 2701

    fj_cursor_idx   = 30   // door

 //   fj_flags        = 4    // party required

 //   fj_flags        = 512  // NPCs can't pass

 //   fj_flags        = 516  // party required, NPCs can't pass

    fj_vertex_0     = 2400 + (2636 << 16)

    fj_vertex_1     = 2404 + (2680 << 16)

    fj_vertex_2     = 2350 + (2701 << 16)

    fj_vertex_3     = 2325 + (2675 << 16)

    STR_VAR

    fj_structure_type   = region

    fj_name             = Tran_L30000 // region name

    fj_destination_area = L30000      // *.ARE

    fj_destination_name = En          // entrance name

  END

  LPF fj_are_structure

    INT_VAR

    fj_loc_x       = 2350

    fj_loc_y       = 2650

    fj_orientation = 6   // NW

    STR_VAR

    fj_structure_type = entrance

    fj_name           = L3En

  END

Retired from modding.


#3 Lava Del'Vortel

Lava Del'Vortel

    Fiction Enforcer

  • Modder
  • 2299 posts

Posted 08 May 2011 - 02:50 PM

Thanks, you're great! :cheers: