Zea Development - Documentation
StoreWebsiteDiscord
  • Welcome
  • General
    • Downloading Resources
    • Transferring Resources
    • Resource Support
    • Escrow Errors
    • Statebags
    • Artifacts & Gamebuilds
  • Our Resources
    • z_hose
      • Resource Configuration
        • Configuration Modules
      • Compatibility with ox_inventory
      • Resource Usage
      • Developer Resources
        • Client Exports
        • Server Exports
    • z_ladders
      • Resource Configuration
        • Configuring Vehicle
        • Configuring Ladders
      • Developer Resources
        • Client Exports
    • z_fire
      • Resource Configuration
      • JSON Configuration
      • Resource Usage
      • Developer Exports
      • Materials List
    • z_els
      • Resource Configuration
      • Resource Usage
      • Developer Exports
      • Creating Patterns
      • Directional Types
    • z_boot (Coming Soon!)
      • Resource Configuration
        • Configuration Modules
        • Item Creation
      • Developer Resources
        • Client Exports
    • z_ppvfan
      • Resource Configuration
      • Resource Usage
    • zTurnout-System
      • Resource Configuration
      • Resource Usage
      • Trigger Events
    • zWigWags
      • Resource Configuration
      • Resource Usage
      • Trigger Events
    • zFire-Alarm
      • Resource Configuration
      • Resource Usage
    • zCustody-Alarm
      • Resource Configuration
      • Resource Usage
    • zFire-Pole
      • Resource Configuration
      • Resource Usage
    • zTurnout-Rack
      • Resource Configuration
      • Resource Usage
    • zPager
      • Resource Configuration
      • Resource Usage
    • zTurnouts
      • Resource Configuration
      • Resource Usage
Powered by GitBook
On this page
Page cover
  1. Our Resources
  2. z_ladders
  3. Resource Configuration

Configuring Ladders

This page will outline and explain how to create a configuration module and how to configure the vehicle for its setup.

PreviousConfiguring VehicleNextDeveloper Resources

Last updated 1 month ago

CtrlK
  • Structure
  • Common Component Properties
  • Ladder Types
  • Extension Behavior

The cfg.Ladders section defines all supported ladder models along with their structure, attachment data, and behavior settings. Each ladder is broken into modular parts (_base, _middle, _end, _full) that are used to assemble, extend, and interact with ladders dynamically in the game.


Structure

cfg.Ladders = {
    ["9"] = { ... },
    ["105"] = { ... },
    ["135"] = { ... }
}

Each key ("9", "105", "135") represents a unique ladder type.

Each ladder is composed of several components:

  • _base: The base section of the ladder.

  • _middle: (Optional) Middle segments for extendable ladders.

  • _end: The top section.

  • _full: A single full-length static prop for carry/visual purposes.


Common Component Properties

Each component (_base, _middle, _end, _full) includes the following properties:

Field
Description

hash

The object model (hash) used for the prop.

attach

Positioning and rotation data for attaching to bones or the world.

extension

(Optional) Controls how the section extends, including speed.

bone

The bone index (if applicable) used for attachments.


Ladder Types


Ladder "9"

Simplest ladder with a base and end section, plus a full prop:

["9"] = {
    _base = { ... },
    _end = { ... },
    _full = { ... }
}
  • _base.hash: 9base

  • _end.hash: 9end

  • _full.hash: 9mfull

  • No _middle section present.

  • increment_speed: 0.005


Ladder "105"

Mid-sized ladder with a base, middle, and end segment:

["105"] = {
    _base = { ... },
    _middle = { ... },
    _end = { ... },
    _full = { ... }
}
  • Used for modular extension via _middle and _end.

  • hash examples: 105base, 105mid, 105end, 105full

  • attach.bone: 20 for middle and end, 28422 for full prop


Ladder "135"

Largest and most complex ladder configuration:

["135"] = {
    _base = { ... },
    _middle = { ... },
    _end = { ... },
    _full = { ... }
}
  • hash examples: 135base, 135mid, 135end, 135full

  • attach.position has distinct values per segment for realistic placement

  • Supports multi-segment extension via _middle and _end


Extension Behavior

Each extendable part (_middle, _end) includes:

extension = {
    increment_speed = 0.005
}
  • increment_speed: Defines how fast the segment extends during animation or interaction.