Author Topic: quick question regarding corkscrew flag  (Read 1690 times)

0 Members and 1 Guest are viewing this topic.

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
quick question regarding corkscrew flag
Does anyone have an example table entry for me with corkscrew working?
Just adding the corkscrew flag works but I have no idea where I can to fit in the parameters as shown here http://www.hard-light.net/wiki/index.php/Weapons.tbl#.24Corkscrew:
I always get an error when I do and a forum search revealed me nothing.
(I guess that a bit of a problem with all table entries, its often hard to tell what goes where without breaking the 'correct order')
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Re: quick question regarding corkscrew flag
Straight from INFASA, but with proper censoring:

Quote
$Name: Something
+Title: XSTR("GTM-XX Something", -1)
+Description:
XSTR("A Weapon, Like Many Others", -1)
$end_multi_text
+Tech Title: XSTR("GTM-XX Something", -1)
+Tech Anim: techdefault
+Tech Description:
XSTR( "Do you really want to know?.", -1)
$end_multi_text
$Model File: classified.pof

[...]

$FlyBySnd: -1
$Rearm Rate: 0.02
$Flags: ( "in tech database" "Big Ship" "Huge" "Bomb" "Corkscrew" )
$Trail:
+Start Width: 0.5
+End Width: 3.0
+Start Alpha: 1.0
+End Alpha: 0.03
+Max Life: 1.5
+Bitmap: MissileTrail04
$Icon: iconshocker
$Anim: mdefaultea
$Impact Explosion: ExpMissileHit1
$Impact Explosion Radius: 25.0
$Corkscrew:
 +Num Fired: number
 +Radius: number.0
 +Fire Delay: number
 +Counter rotate: 1
 +Twist: 1


« Last Edit: June 24, 2009, 01:52:45 pm by Mobius »
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: quick question regarding corkscrew flag
Thanks Mobius, that did it.
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline Qent

  • 29
Re: quick question regarding corkscrew flag
I guess that a bit of a problem with all table entries, its often hard to tell what goes where without breaking the 'correct order'
Generally, if you put entries in the same order as they appear in the wiki, you'll be fine.

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: quick question regarding corkscrew flag
Yeah, I just follow the order in the wiki. Haven't really ran into any problems that way.
(´・ω・`)
=============================================================

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: quick question regarding corkscrew flag
I was starting to doubt the wiki order (cause I was sure I placed it correctly) but with help from the example here, I figured out that the actual flaw was in the parameters I typed down.
It's just that the error message was not really telling me much. So I was looking at the wrong thing to fix.

Fun fact, if you give the tempest the corkscrew parameter (probably the case for all not homing secondaries) it will shoot straight down for some reason.
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Re: quick question regarding corkscrew flag
Values are very important... they can even cause crashes. Some parameters are supposed to be written using the "x.x" formula while others should be written using the "x" formula. It took me a few minutes to get that table entry working...
The Lightblue Ribbon

Inferno: Nostos - Alliance
Series Resurrecta: {{FS Wiki Portal}} -  Gehenna's Gate - The Spirit of Ptah - Serendipity (WIP) - <REDACTED> (WIP)
FreeSpace Campaign Restoration Project
A tribute to FreeSpace in my book: Riflessioni dall'Infinito

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: quick question regarding corkscrew flag
Well, the wiki does say stuff about it like "float" "value" or "integer", which gives you SOME idea of what usually goes there, but often it's not explained very well...
(´・ω・`)
=============================================================

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: quick question regarding corkscrew flag
Something being a float (ie. floating point value) just defines it as a (rational) number which may have decimal point in it should the number require them. It does NOT require them to have decimal points. Integers however don't really understand the decimal points being what they are... that is integers.

For moar reference...
   http://en.wikipedia.org/wiki/Floating_point
   http://en.wikipedia.org/wiki/Integer_(computer_science)
Do not meddle in the affairs of coders for they are soggy and hard to light

  

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: quick question regarding corkscrew flag
Yeah, that's what I meant.
If you know what a FLOAT or an INT is, then you'd know how to format it, however, not everyone knows what it is.
Those references should probably be linked somewhere (or just be mentioned in the article).
(´・ω・`)
=============================================================