TALES of the VALIANT
  1. #1

    Join Date
    Sep 2020
    Location
    Ballston Lake, NY
    Posts
    832

    SWADE Ruleset 5.10.9

    Upcoming changes to SWADE

    I updated the vehicle window to use the newer controls. If anyone is using vehicle_main or vehicle_combat in an extension, make your changes now.
    The widget names remain the same. The widgets have been changed to the content versions, and the anchor changes from columnanchor to contentanchor.

    I added passengers to vehicles. If you use chillhelm's excellent 4C extension, you'll recognize this. It's now in the core rules.
    It uses the same nodes as 4C, so when chillhelm drops that from his extension, you won't lose passengers.
    I added a position field.

    This should release on Tuesday. If chillhelm hasn't updated his extension before then, you'll have to not load it. It's an easy change, so he'll probably have it done pretty quickly.

    This will be version in 5.10.9.

    Here's a screenshot.passengers.jpg
    Last edited by Mike Serfass; January 5th, 2025 at 03:03.
    Add feature suggestions for Savage Worlds to Fantasy Grounds Feature Request.

  2. #2
    Are you sure we won't lose passengers?
    Savage Rifts© on Fantasy Grounds Store
    Ultimate Edition Fantasy Grounds - ONLY ON Linux
    Twitch Channel

  3. #3

    Join Date
    Sep 2020
    Location
    Ballston Lake, NY
    Posts
    832
    In my tests I didn't lose passengers.
    Add feature suggestions for Savage Worlds to Fantasy Grounds Feature Request.

  4. #4

    Join Date
    Sep 2020
    Location
    Ballston Lake, NY
    Posts
    832
    If you make extensions, there are new functions in VehicleManager. These are part of improvements to how vehicles are handled in the ruleset.

    getPilot(nodeVehicleCT) - get the pilot, checking CT and character owned vehicles.
    findPilot(nodeVehicleCT) - does a bit more discovery than getPilot to figure out who the pilot is
    getVehicleNodeChar(nodeVehicleCT) - gets the owning player vehicle node
    isPilot(nodeVehicle, nodeCT) - returns bool indicating if the character is the pilot
    getVehicleOccupyingCT(nodeCT) - gets the CT vehicle the character is in
    doesCharacterOccupyVehicle(nodeVehicleCT, nodeCharCT) - determines if the character is a pilot, gunner, or passenger, or is in the same CT group
    isVehicleSimple(nodeVehicleCT) - a simple, straightforward check if it's a vehicle
    getManeuverType(vVehicle) - gets a vehicle's maneuver type
    getSpeed(vVehicle) - gets a vehicles speed

    I also added

    NodeManager.childNodeExists(node, sField)
    CombatManager.areCombatantsInSameGroup(node1, node2)

    More information is on the functions in the code base.
    Last edited by Mike Serfass; January 5th, 2025 at 20:54.
    Add feature suggestions for Savage Worlds to Fantasy Grounds Feature Request.

  5. #5
    Quote Originally Posted by Mike Serfass View Post
    In my tests I didn't lose passengers.
    Did you have any passengers?
    Savage Rifts© on Fantasy Grounds Store
    Ultimate Edition Fantasy Grounds - ONLY ON Linux
    Twitch Channel

  6. #6

    Join Date
    Sep 2020
    Location
    Ballston Lake, NY
    Posts
    832
    Yes, I did have passengers.
    My implementation uses the same nodes as 4C.
    When I had 4C active and my implementation, the passengers list twice.
    All that work is committed. You can pull it and test. More testing wouldn't hurt.
    Add feature suggestions for Savage Worlds to Fantasy Grounds Feature Request.

Thread Information

Users Browsing this Thread

There are currently 5 users browsing this thread. (0 members and 5 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
DICE PACKS BUNDLE

Log in

Log in