Author Topic: Tech-add-Intel  (Read 3395 times)

0 Members and 2 Guests are viewing this topic.

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Hi there,

I need a little help here :

I have this entry in species.tbl :

Code: [Select]
$Entry:
$Name: XSTR("Zartoth",-1)
$Anim: intel_zartoth
$AlwaysInTechRoom: 0
$Description:

Now I'm trying to add this in the SEXP in Fred, making this :

-tech-add-intel
   -zartoth

But Fred is complaining about the name of the intel.

What am I doing wrong ?
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline Tolwyn

  • The Admiral
  • Administrator
  • 214
  • Ridiculously Old Fraud
    • Wing Commander Saga
Here is the error message :)

[attachment deleted by admin]
Wing Commander Saga: A Legend Is Reborn | WingCenter
 
Tolwyn’s reputation for risk taking with other people’s lives was considered  to understate the facts. The admiral’s willingness to sacrifice anyone or anything to achieve his objectives had long been lauded in the popular press. He was “the man who got things done”.- Colonel Blair

No errors, no random CTDs, just pure fun and proof of why getting hit with missiles is a bad thing.
-WC Saga's beta tester


Report Wing Commander Saga bugs with Mantis

 

Offline Turey

  • Installer dude
  • 211
  • The diminutive form of Turambar.
    • FreeSpace Open Installer Homepage
Hi there,

I need a little help here :

I have this entry in species.tbl :

Code: [Select]
$Entry:
$Name: XSTR("Zartoth",-1)
$Anim: intel_zartoth
$AlwaysInTechRoom: 0
$Description:

Now I'm trying to add this in the SEXP in Fred, making this :

-tech-add-intel
   -zartoth

But Fred is complaining about the name of the intel.

What am I doing wrong ?


Where'd you add the entry? to default species.tbl? Did you make sure that your running FRED with a mod folder?
Creator of the FreeSpace Open Installer.
"Calm. The ****. Down." -Taristin
why would an SCP error be considered as news? :wtf: *smacks Cobra*It's a feature.

 

Offline Tolwyn

  • The Admiral
  • Administrator
  • 214
  • Ridiculously Old Fraud
    • Wing Commander Saga
Saga is stand alone. That means, that we have replaced all FS2 tbls with out own :)
Wing Commander Saga: A Legend Is Reborn | WingCenter
 
Tolwyn’s reputation for risk taking with other people’s lives was considered  to understate the facts. The admiral’s willingness to sacrifice anyone or anything to achieve his objectives had long been lauded in the popular press. He was “the man who got things done”.- Colonel Blair

No errors, no random CTDs, just pure fun and proof of why getting hit with missiles is a bad thing.
-WC Saga's beta tester


Report Wing Commander Saga bugs with Mantis

 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
I have had this happen too. It seems to be a bug in FRED2; the game doesn't complain about it.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
It's nothing you're doing wrong as far as I can see. I can get the same error using the same SEXP in BtRL.

The problem lies somewhere in the syntax checking functions in sexp.cpp or sexp_tree.cpp but I don't really know that code well enough to figure out where the problem lies. Mantis it and let Goober or Taylor handle it as they know that code much better than I do.

CP is right that FS2 ignores the problem though.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
K, thanks for the info.

@Tolwyn : I will send you the updated mission then, and guess who can play through the campaign again to figure out if it works or not  ;7   :lol:
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline Tolwyn

  • The Admiral
  • Administrator
  • 214
  • Ridiculously Old Fraud
    • Wing Commander Saga
@Tolwyn : I will send you the updated mission then, and guess who can play through the campaign again to figure out if it works or not  ;7   :lol:

If I were you I would avoid going near me. I could tear you apart :)
Wing Commander Saga: A Legend Is Reborn | WingCenter
 
Tolwyn’s reputation for risk taking with other people’s lives was considered  to understate the facts. The admiral’s willingness to sacrifice anyone or anything to achieve his objectives had long been lauded in the popular press. He was “the man who got things done”.- Colonel Blair

No errors, no random CTDs, just pure fun and proof of why getting hit with missiles is a bad thing.
-WC Saga's beta tester


Report Wing Commander Saga bugs with Mantis

 

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
Good thing there are still 100km distance between us :D
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline Tolwyn

  • The Admiral
  • Administrator
  • 214
  • Ridiculously Old Fraud
    • Wing Commander Saga
well, I'll need 2 hours to get to you, 1, if I am really angry (which I am, I assure you):)
Wing Commander Saga: A Legend Is Reborn | WingCenter
 
Tolwyn’s reputation for risk taking with other people’s lives was considered  to understate the facts. The admiral’s willingness to sacrifice anyone or anything to achieve his objectives had long been lauded in the popular press. He was “the man who got things done”.- Colonel Blair

No errors, no random CTDs, just pure fun and proof of why getting hit with missiles is a bad thing.
-WC Saga's beta tester


Report Wing Commander Saga bugs with Mantis

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
I'm having the same problem with Steadfast...

FRED complains me but the intel will work.Perfect.

Anyway when I select the tech room,there are no Intelligence entries...
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 Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga

FRED complains me but the intel will work.Perfect.

Anyway when I select the tech room,there are no Intelligence entries...


That's a little paradox. Does it work, or does it not work ? :)  I'm not fully sure, but these tech-add-data or tech-add-intel might only work when used inside a campaign
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Adding the tech-add-intel SEXP only when the mission is inserted in a campaign...I don't know.

tech-add-data works ok with standalone missions.The problem with intels is that FreeSpace wants a new default intel setting.
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 karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
It's not a campaign thing. FRED doesn't care about that when making a mission. It's definitely a bug in the FRED sexp syntax checking code or the tree handling code but I don't know either well enough to figure it out.

The result is that FS2 doesn't crash because it's not running that bit of code.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

 

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
Like any other "innocent" complain.
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 taylor

  • Super SCP/Linux Guru
  • 212
    • http://www.icculus.org/~taylor
FRED never parses species.tbl, so as far as it's concerned none of the intel entries exist and it will complain about them.  The regular game does parse species.tbl though, which is why it works fine there.  I updated the Mantis bug for this with the problem/solution and simply adding a missing init call should fix it.

  

Offline Mobius

  • Back where he started
  • 213
  • Porto l'azzurro Dolce Stil Novo nella fantascienza
    • Skype
    • Twitter
    • The Lightblue Ribbon | Cultural Project
It's a bit off-topic...

Intel entries do not appear in the techroom. Why?
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 taylor

  • Super SCP/Linux Guru
  • 212
    • http://www.icculus.org/~taylor
Intel entries do not appear in the techroom. Why?
Usually due to pilot file problems.  Three things to try though: 1) check species.tbl for anything that is set to also show in the tech room, and make sure that it does, 2) use the Ctrl-Shift-S combo in the techroom and make sure that all available intel entries show up (to rule out a tbl problem), and 3) try with a fresh pilot and see if the entries show up as expected.

But you only need to bother with #3 if #1 and #2 don't help you out any.  And for #3, all you really need to do (if you don't care to save your progress) is simply go into the campaign room and reset the campaign.  That will clear out the campaign savefile, which is where the intel entries that you are supposed to see get stored.

To help avoid pilot file problems, don't use the same pilot with both CVS builds and the 3.6.9 builds.  The unstable CVS builds aren't getting checks to make sure that pilot files are still compatible so there is the chance that a problem exists in there which is introducing a compatbility issue between the two different types of builds.