Skip to content

Incorporate Boilerplatting - #13

Closed
LuytenFS wants to merge 14 commits into
mainfrom
feature/boilerplate-generation-within-table-files
Closed

LuytenFS wants to merge 14 commits into
mainfrom
feature/boilerplate-generation-within-table-files

Conversation

@LuytenFS

Copy link
Copy Markdown
Owner

This will be a long PR. Basically this will add the ability for the app using a new argument flag, to generate table files containing their boilerplate code for the modder to get started right away.

Numbers (float/int) will be defaulted to zero.
For XSTR will default the numbers to (-1)
Strings? Those will be defaulted to placeholders.
Booleans will default for FSO, either NO, or false.

This is a rather stripped variant. But the weapons table will contain boilerplates for; a beam, a primary weapon, a secondary weapon, a flak weapon, a secondary weapon that is summoned (look at: Infyrno's spawned warheads when it detonates).

#Primary Weapons
$Name: placeholder
+Title: XSTR("placeholder", -1)
+Description: XSTR( "placeholder", -1)
$end_multi_text
+Tech Title: XSTR("placeholder", -1)
+Tech Anim: placeholder
+Tech Description: XSTR("placeholder", -1)
$end_multi_text
$Model File: placeholder
@ Laser Bitmap: placeholder <<<< No space between "at" and "Laser" (Github only)
@ Laser Glow: placeholder
@ Laser Color: 0, 0, 0
@ Laser Color2: 0, 0, 0
@ Laser Length: 0.0
@ Laser Head Radius: 0.0
@ Laser Tail Radius: 0.0 <<<< No space between "at" and "Laser", (Github only)
$Mass: 0.0
$Velocity: 0.0
$Fire Wait: 0.0
$Damage: 0
$Armor Factor: 0.0
$Shield Factor: 0.0
$Subsystem Factor: 0.0
$Lifetime: 0.0
$Energy Consumed: 0.0
$Cargo Size: 0.0
$Homing: NO <<< This will always default to NO if so the case, including booleans also defaulting for false.
$LaunchSnd: 0
$ImpactSnd: 0
$Flags: ( )
$Icon: placeholder
$Anim: placeholder
$Impact Explosion: placeholder
#End

@LuytenFS LuytenFS added the enhancement New feature or request label Apr 11, 2026
@LuytenFS LuytenFS mentioned this pull request Apr 11, 2026
3 tasks
@LuytenFS

Copy link
Copy Markdown
Owner Author

Due to out of scope this PR will be abandoned.

@LuytenFS LuytenFS closed this Sep 20, 2026
@LuytenFS
LuytenFS deleted the feature/boilerplate-generation-within-table-files branch September 20, 2026 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant