PDA

View Full Version : Beta MGT2E PC Spacecraft and Combat Tracking extension



MadBeardMan
September 4th, 2020, 14:26
Folks,

NOTICE: Been fixing up some bugs today and noticed, if you have the MGT2 Spacecraft Extension that messes up action rolls, and could be the cause for the oddness reported. Please do not use it until I update it.

Before anything, this is a very early version of the PC Spacecraft and Combat Tracker, it's more an Alpha than a Beta but it would be great to get feedback without waiting for the normal release cycle. It should work on v1.1.3 which is LIVE at the moment, though it's better with v1.1.4 which is in TEST.

DO NOT expect to be able to run the Spacecraft Combat Tracker and do everything you can do in the normal CT. This is a work-in-progress. With your help we can make sure it fits best for all players.

DISCLAIMER: Make sure you back up your campaign(s) before using this extension. - Esmdev has been kind enough to give instructions on Post #3 (https://www.fantasygrounds.com/forums/showthread.php?61488-Beta-MGT2E-PC-Spacecraft-and-Combat-Tracking-extension&p=539358&viewfull=1#post539358).

I won't go into details on how to use an extension, there are plenty of help elsewhere but basically copy this into your extensions folder, then restart Fantasy Grounds and select an MGT2E Campaign (that you've backed up!) and locate the extension: MGT2E PC Spacecraft BETA

What's 'working'
New sidebar button available 'PC Spacecraft'
New top sidebar button 'S CT'
Spacecraft (NPC) should now allow you to add Weapon Actions (bottom of the record sheet)
Drag Spacecraft (NPC) to the Spacecraft CT and they should appear
Drag PC Spacecraft to the Spacecraft CT and they should appear
Spacecraft CT supports the three phases Maneourve, Attack, and Actions.
Spacecraft CT steps through ships in Init Order for each phase before moving onto the next phase
Spacecraft NPC record sheet Weapon actions respond to the lock/unlock
Spacecraft NPC record sheet attack rolls report attack roll (though not hitting/missing)
Spacecraft NPC record sheet damage rolls report damage total

PC Spacecraft - Creating them
At the moment you need to manually add a PC Spacecraft. When this appears give it a name, for example I've called mine 'Long Endeavour'. I then find the Scout/Courier ship from the 'Spacecraft' list, and drag that onto the new PC ship. The data from the Scout/Courier has been copied to the newly added 'Long Endeavour'.

What's next
Add PC Spacecraft's Weapons Attacks - check if attack roll hits and report the effect
Assign Crew to the PC Craft (might have to use Party Sheet for this)

What's left
SCT
Init - needs to order correctly
Init - need to roll initiative
Drag damage dice needs to damage the craft
Attack dice need to take into effect Gunner + DEX DM
Attack dice need to take into effect Range
Critical Hits - report them on attack roll
Critical Hits - roll hit table, record results and track severity
Sustained Damage
Sandcasters can add temp armour against a laser attack
Actions Step - See if something can be done, ie list of buttons - requires Crew
Lots more!

PC Spacecraft Sheet
Lots more!

This has been built based on the Starfinder Spaceship CT work completed by SuperTeddy, We've been speaking and he's said I can ask things from him.

BE GENTLE

Updates will come as I finish sections. My current dev version of this extension already has a few new features.

Cheers,
MBM

MadBeardMan
September 4th, 2020, 15:07
Reserved

esmdev
September 4th, 2020, 15:41
How to backup your campaign (Windows only, not sure about Mac or Linux):

Classic

Open your Fantasy Grounds launcher
Click the folder button on the top right of the launcher window
Click campaigns
If you would like to backup all your campaigns
-Right click on the campaigns folder and select copy
-Navigate to Documents
-Right click and select paste
If you would like to backup only a selected campaign
-Enter the campaigns folder
-Right click on the campaign you want to backup
-Navigate to Documents
-Right click and select paste

For Unity the steps are the same except that the Folder button is on the top left side of the launcher window.

adzling
September 4th, 2020, 16:39
ok installed and running

I cannot drag a spacecraft from the Spacecraft button list to the PC Spacecraft button list.

Is this meant to be possible or do we have to create each PC spacecraft manually within the PC Spacecraft button list?

---
OK I was able to create a spacecraft container within PC Spacecraft then drag a pre-existing spacecraft from the Spacecraft button list into the container and it populated with all the info that was entered in the Spacecraft.

thanks

MadBeardMan
September 4th, 2020, 16:43
ok installed and running

I cannot drag a spacecraft from the Spacecraft button list to the PC Spacecraft button list.

Is this meant to be possible or do we have to create each PC spacecraft manually within the PC Spacecraft button list?

---
OK I was able to create a spacecraft container within PC Spacecraft then drag a pre-existing spacecraft from the Spacecraft button list into the container and it populated with all the info that was entered in the Spacecraft.

thanks

Yes, that's the only way it can be done until I build a completely new 'window' to hold the PC Spacecraft. Starfinder must use the same add then drag the various frames etc.

So it's on the cards to add a window like the PC selection window, just with PC Spacecraft, shouldn't be hard but I'd prefer to get more stuff working atm.

Cheers,
MBM

adzling
September 4th, 2020, 17:25
seems to have all the items you note in your first post

awesome to see progress on this ;-)

MadBeardMan
September 4th, 2020, 21:30
seems to have all the items you note in your first post

awesome to see progress on this ;-)

Awesome, I'm hoping to update it tomorrow or Sunday.

Been addressing the locking of the Weapon Actions on the Spacecraft (NPC) sheet, and hide the traits if they're empty, then work on transferring them to the SCT.

Then add the 'damage' roll action on both the sheet and the SCT.

Cheers,
MBM

Pharoid
September 4th, 2020, 21:52
Loaded, tested, works. I added a PC spacecraft, dragged one into it and it filled it in. then named it and added it to the CT and walked it through the phases. Looks great so far!

MadBeardMan
September 5th, 2020, 15:15
Folks,

Updated the extension to v1.0.1.

Spacecraft (NPC) Record sheet - the Weapon actions now respond to the lock status
Spacecraft (NPC) Attack rolls now roll, but don't report hit success
Spacecraft (NPC) Damage rolls now roll and report the total

Now working on calculating if the Attack roll hits and what the effect is (as 6+ makes it a critical hit)

Cheers,
MBM

Sylvesr
September 5th, 2020, 17:24
MBM I am not the most FG competent user ...that said I am very excited to see this coming to fruition. Thank you for making it happen.

Xargun
September 5th, 2020, 18:37
Folks,

Updated the extension to v1.0.1.

Spacecraft (NPC) Record sheet - the Weapon actions now respond to the lock status
Spacecraft (NPC) Attack rolls now roll, but don't report hit success
Spacecraft (NPC) Damage rolls now roll and report the total

Now working on calculating if the Attack roll hits and what the effect is (as 6+ makes it a critical hit)

Cheers,
MBM

How do we know which version of the extension we currently have? Also, how do I add weapons to a ship? Do I have to create them as items and then add?

Thanks for doing this. Had my first space combat last night and had to do it all by hand. This extension will make future combat much easier.

Xargun

esmdev
September 5th, 2020, 19:26
When you load the campaign, if the extension is loaded, it should say what the version is in the chat window. If in doubt, just redownload the newest from the original post. :)

Xargun
September 5th, 2020, 19:36
It only says MGT2E PC Spacecraft BETA. Do extensions auto update ?

Xargun

esmdev
September 5th, 2020, 19:57
It only says MGT2E PC Spacecraft BETA. Do extensions auto update ?

Xargun

No, extensions need to be manually updated.

Eventually the extension will be incorporated into the core code, but it is easier to test the new features as an extension because it doesn't need to go through the normal update channel which means it can be patched as often as MBM has something to post. Additionally, people who don't want to be involved with a test, and the potential problems that might arise can ignore it.

Xargun
September 7th, 2020, 17:07
How do I add weapons to a ship ?

Xargun

chumbly
September 10th, 2020, 00:58
Yeah, I am not seeing any weapon actions in PC Spacecraft either, also
I don't have any crew positions in the crew tab, until I drop a pc into the window, then they show up,
and pc still doesn't show up in the crew positions window. Using 1.0.1 extension 1.03 MG2TE tried the test 1.04 no difference.
Btw, when I try to drop a pc in the crew, the token for the ship is changed to the PC's token

Just reporting what I see for bug reporting not being critical. Love, we are getting this.

Chumbly

MadBeardMan
September 10th, 2020, 15:48
Yeah, I am not seeing any weapon actions in PC Spacecraft either, also
I don't have any crew positions in the crew tab, until I drop a pc into the window, then they show up,
and pc still doesn't show up in the crew positions window. Using 1.0.1 extension 1.03 MG2TE tried the test 1.04 no difference.
Btw, when I try to drop a pc in the crew, the token for the ship is changed to the PC's token

Just reporting what I see for bug reporting not being critical. Love, we are getting this.

Chumbly

Weapon actions are available for the Spacecraft (NPC), as you can't edit the reference spacecraft you need to copy an existing and edit it.
No crew at the moment, see the 1st post it tells you what's working and what's being worked on

Thanks for pointing out the token, I'll have to see if there's a way to know from where the token came from. Though I suspect this might be why in Starfinder you need to use the Party Sheet for connecting PC's to ships.

There's a further update coming this weekend with the next few bits, also Pirates is almost finished...

Cheers,
MBM

Xargun
September 16th, 2020, 15:04
Hows it coming ?

Xargun

MadBeardMan
September 18th, 2020, 10:35
Hows it coming ?

Xargun

Slowly, my kids are back at school and that's causing a lot of issues and time lost, Hope to have the next update over the weekend, weapon attacks will be added to the PC sheets and armour values should function also.

Cheers,
MBM

ianmward
September 19th, 2020, 09:09
Hi there,

just trying this with v1.1.4 and I see some issues (I posted some issues on the general bugs post for 1.1.4 without the extension, this is with the extension loaded.

On startup, I immediately see the following Warnings in the Console:
Runtime Notice: Host session started
Ruleset Warning: framedef: Top edge width (-80) of frame (charsheet) less than minimum suggested width (3)
Ruleset Warning: framedef: Bottom edge width (-80) of frame (charsheet) less than minimum suggested width (3)
Ruleset Warning: framedef: Middle width (-80) of frame (charsheet) less than minimum suggested width (3)

As without the extension, when opening my copy of the Patrol Corvette, I see:
Ruleset Warning: Could not load script file (Extension: MGT2E PC Spacecraft) (/ref/scripts/spacecraft_main.lua)
Ruleset Warning: Could not load script file (/ref/scripts/spacecraft_main.lua)

And unlocking it gives:
Script Error: [string "spacecraft"]:1: attempt to call field 'update' (a nil value)
Script Error: [string "spacecraft"]:1: attempt to call field 'update' (a nil value)

The sheet has the weapon list but does not allow drag and drop of weapons from the item list (maybe that is not done yet...)

MadBeardMan
September 27th, 2020, 19:04
Hi Folks,

Been fixing up some bugs today and noticed, if you have the MGT2 Spacecraft Extension that messes up action rolls, and could be the cause for the oddness reported. Please do not use it until I update it.

I've removed the extension for the moment.

Cheers,
MBM