Author Topic: Message.tbl / mod.tbl changes  (Read 6270 times)

0 Members and 1 Guest are viewing this topic.

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Message.tbl / mod.tbl changes
I've made some changes to the way both mod.tbl and message.tbl work that might affect some mods so I just wanted to give everyone a heads up.

Basically I've moved the Praise Self settings from mod.tbl to message.tbl and altered the code to expose several hardcoded options that allow modders to choose how often builtin messages are sent.
 AFAIK the Praise Self settings have never been used in any released campaigns so I simply removed them (meaning that any campaign using them will break) but if they have been used I'll change things again so that mod.tbl won't choke on them. For unreleased mods, please update as I'm about to describe.

Message.tbl now has a new section which goes right at the top before #Personas

Code: [Select]
#Message Frequencies

$Name: Praise Self
+Occurrence Chance: 10
+Maximum Count: 5
+Minimum Delay: 60

#Personas

Name is the name of the builtin message type, the same ones used later on in the table.
Occurrence Chance is the % chance that a message will be sent (For Praise Self, if a wingman gets a kill, for Check, if you have an enemy behind you).
Maximum Count is the maximum number of times you'll hear this message in a single mission.
Minimum Delay is the time that must pass after this builtin message has been sent before another one can appear from any wingman.

Although you can specify all 3 fields for any builtin message only a few of them will have any effect. The  changes to maximum count and minimum delay only apply to "Check 6" "Praise" "Praise Self" and "Help". You can only use Occurrence Chance with "Praise Self" at the moment.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: Message.tbl / mod.tbl changes
Cool, thanks for the heads up  :yes:
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 z64555

  • 210
  • Self-proclaimed controls expert
    • Steam
Re: Message.tbl / mod.tbl changes
Is this in trunk? if so, which revision was this done?
Secure the Source, Contain the Code, Protect the Project
chief1983

------------
funtapaz: Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Juche.
z64555: s/J/Do
BotenAlfred: <funtapaz> Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Douche.

 
Re: Message.tbl / mod.tbl changes
8905
May the Force be with you

 

Offline AndrewofDoom

  • In A.D. 2366 war was beginning
  • 29
  • Permanent yuri goggles.
    • Skype
    • Steam
    • Twitter
Re: Message.tbl / mod.tbl changes
AFAIK the Praise Self settings have never been used in any released campaigns so I simply removed them (meaning that any campaign using them will break) but if they have been used I'll change things again so that mod.tbl won't choke on them.

Dimensional Eclipse uses it. It's been released for some time now.
My Efforts:
SF Knight

20:08:19   AndrewofDoom: Though I find it mildly disturbing that a loli is giggling to mass destruction.
20:10:01   Spoon: I find it mildly arrousing
20:10:07   AndrewofDoom: Woah
20:10:15   Spoon: sound like my kind of loli
20:10:21   Spoon: and im not even a lolicon

 

Offline z64555

  • 210
  • Self-proclaimed controls expert
    • Steam
Re: Message.tbl / mod.tbl changes
Ok, tried to create a new page for Mod.tbl, but The Force says that page already exists (Game_settings.tbl)?
Secure the Source, Contain the Code, Protect the Project
chief1983

------------
funtapaz: Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Juche.
z64555: s/J/Do
BotenAlfred: <funtapaz> Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Douche.

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Message.tbl / mod.tbl changes
Basically, that's what it's called now. I don't know why, but Mod.tbl has been re-named to Game_settings.tbl when it actually was implemented.

 

Offline z64555

  • 210
  • Self-proclaimed controls expert
    • Steam
Re: Message.tbl / mod.tbl changes
Well, are we going with the Mod.tbl name or the Game_settings.tbl name?
Secure the Source, Contain the Code, Protect the Project
chief1983

------------
funtapaz: Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Juche.
z64555: s/J/Do
BotenAlfred: <funtapaz> Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Douche.

 

Offline MatthTheGeek

  • Captain Obvious
  • 212
  • Frenchie McFrenchface
Re: Message.tbl / mod.tbl changes
The file already exists. It's Game_settings.tbl. Most people still call it Mod.tbl because that's how we've always called it even before it was added to the engine, but the filename is game_settings.tbl
People are stupid, therefore anything popular is at best suspicious.

Mod management tools     -     Wiki stuff!     -     Help us help you

666maslo666: Releasing a finished product is not a good thing! It is a modern fad.

SpardaSon21: it seems like you exist in a permanent state of half-joking misanthropy

Axem: when you put it like that, i sound like an insane person

bigchunk1: it's not retarded it's american!
bigchunk1: ...

batwota: steele's maneuvering for the coup de gras
MatthTheGeek: you mispelled grâce
Awaesaar: grace
batwota: oh right :P
Darius: ah!
Darius: yes, i like that
MatthTheGeek: the way you just spelled it it means fat
Awaesaar: +accent I forgot how to keyboard
MatthTheGeek: or grease
Darius: the killing fat!
Axem: jabba does the coup de gras
MatthTheGeek: XD
Axem: bring me solo and a cookie

 

Offline z64555

  • 210
  • Self-proclaimed controls expert
    • Steam
Re: Message.tbl / mod.tbl changes
The file already exists. It's Game_settings.tbl. Most people still call it Mod.tbl because that's how we've always called it even before it was added to the engine, but the filename is game_settings.tbl

Holy confusion batman.
Secure the Source, Contain the Code, Protect the Project
chief1983

------------
funtapaz: Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Juche.
z64555: s/J/Do
BotenAlfred: <funtapaz> Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Douche.

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Re: Message.tbl / mod.tbl changes
Dimensional Eclipse uses it. It's been released for some time now.

Damnit! I was hoping that I wouldn't have to support the mod table entry since it never appeared in an official build.

Oh well, I'll add it back in first chance I get.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

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

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Re: Message.tbl / mod.tbl changes
Damnit! I was hoping that I wouldn't have to support the mod table entry since it never appeared in an official build.

There is something to be said for this... the "nightly" builds already carry the disclaimer that features are not considered permanent and may change.

Back in the day, one of the Inferno releases (might have been INF:Alliance) relied on difficulty.tbl, but difficulty.tbl was deprecated in favor of ai_profiles.tbl.  The Inferno people were slightly miffed, but released an update.  Could the Dimensional Eclipse guys do the same?

 

Offline AndrewofDoom

  • In A.D. 2366 war was beginning
  • 29
  • Permanent yuri goggles.
    • Skype
    • Steam
    • Twitter
Re: Message.tbl / mod.tbl changes
Right, I guess I'll need to change it then.

...Or Droid can do it. :p
My Efforts:
SF Knight

20:08:19   AndrewofDoom: Though I find it mildly disturbing that a loli is giggling to mass destruction.
20:10:01   Spoon: I find it mildly arrousing
20:10:07   AndrewofDoom: Woah
20:10:15   Spoon: sound like my kind of loli
20:10:21   Spoon: and im not even a lolicon

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Re: Message.tbl / mod.tbl changes
Especially since to use game settings table, they would have had to be offering post-3.6.14 trunk builds... and we aren't really doing nightlies right now.
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
Re: Message.tbl / mod.tbl changes
Especially since to use game settings table, they would have had to be offering post-3.6.14 trunk builds... and we aren't really doing nightlies right now.
Precisely.  In fact, this is the very reason we aren't offering nightlies. :D

 

Offline mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Re: Message.tbl / mod.tbl changes
Is the wiki updated with this information? :nervous:
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline z64555

  • 210
  • Self-proclaimed controls expert
    • Steam
Re: Message.tbl / mod.tbl changes
Is the wiki updated with this information? :nervous:

It hasn't been in a release build yet... so no.
Secure the Source, Contain the Code, Protect the Project
chief1983

------------
funtapaz: Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Juche.
z64555: s/J/Do
BotenAlfred: <funtapaz> Hunchon University biologists prove mankind is evolving to new, higher form of life, known as Homopithecus Douche.

  

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: Message.tbl / mod.tbl changes
and we aren't really doing nightlies right now.
Remember when we used to have nightlies?
It's been so long ago... I can hardly recall what that time was like  :p
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 mjn.mixael

  • Cutscene Master
  • 212
  • Chopped liver
    • Steam
    • Twitter
Re: Message.tbl / mod.tbl changes
Is the wiki updated with this information? :nervous:

It hasn't been in a release build yet... so no.

We have 3.6.15 tags for that. Also game_settings.tbl is on the Wiki.

and we aren't really doing nightlies right now.
Remember when we used to have nightlies?
It's been so long ago... I can hardly recall what that time was like  :p

Inorite. 3.6.12 was a 5 month RC period... we are going on 8...
Cutscene Upgrade Project - Mainhall Remakes - Between the Ashes
Youtube Channel - P3D Model Box
Between the Ashes is looking for committed testers, PM me for details.
Freespace Upgrade Project See what's happening.

 

Offline MatthTheGeek

  • Captain Obvious
  • 212
  • Frenchie McFrenchface
Re: Message.tbl / mod.tbl changes
Nightlies ? Cool guys compile the code themselves.
People are stupid, therefore anything popular is at best suspicious.

Mod management tools     -     Wiki stuff!     -     Help us help you

666maslo666: Releasing a finished product is not a good thing! It is a modern fad.

SpardaSon21: it seems like you exist in a permanent state of half-joking misanthropy

Axem: when you put it like that, i sound like an insane person

bigchunk1: it's not retarded it's american!
bigchunk1: ...

batwota: steele's maneuvering for the coup de gras
MatthTheGeek: you mispelled grâce
Awaesaar: grace
batwota: oh right :P
Darius: ah!
Darius: yes, i like that
MatthTheGeek: the way you just spelled it it means fat
Awaesaar: +accent I forgot how to keyboard
MatthTheGeek: or grease
Darius: the killing fat!
Axem: jabba does the coup de gras
MatthTheGeek: XD
Axem: bring me solo and a cookie