Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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