Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Excluded vehicles

Đang mở
#205 5 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
43/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
lua
Lĩnh vực
game-dev

Hướng nghiên cứu

Start by reading the linked RedTape.lua hook at line 483 and the issue discussion to understand how vehicles are excluded from ADS. Clarify whether exclusion should also clear existing conditions, then identify the relevant ADS behavior and tests or documentation; done means the expected behavior is clear and verified.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

compatibility

Hi there. I am the dev for used equipment yards and red tape. In both mods I have a need to exclude vehicles from ADS.

Here is an example hook where I do so: https://github.com/Ozz-Modding/FS25_RedTape/blob/0b6a991a67d4bec883ae8880d74fa72ab0603d6e/src/RedTape.lua#L483

Could you tell me if this the intended approach? One side effect of this I have noticed is that if a vehicle has say a dead battery, and I make this call to exclude it from ADS, the dead battery seems to survive it, even though the vehicle is no longer subject to ADS. My expectation was that setting excluded would clear any conditions as I think the vehicle is then in a state where the condition can not be fixed.

Is my reading correct? Is there a better approach? I can update my mods to effectively repair and then exclude, but wanted to check in with you here before I did.

Cheers
Ozz

Ngôn ngữ chính
Lua
Star
282
Fork
17
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của id577/FS25_AdvancedDamageSystem

Tất cả issue của id577/FS25_AdvancedDamageSystem

Issue tương tự

Thêm issue về Lua

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.