Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Skullar on March 06, 2005, 10:16:24 am

Title: Message limit ?
Post by: Skullar on March 06, 2005, 10:16:24 am
Is there still a limit for the amount of radio messages in a mission ?
Title: Message limit ?
Post by: WMCoolmon on March 06, 2005, 02:18:52 pm
If there is, it's probably been bumped several times by request of WCS.
Title: Message limit ?
Post by: Starman01 on March 06, 2005, 02:34:32 pm
Eh, not that I know.  :eek2:

I mentioned one or two times, that I reached the message-limit in one mission, but AFAIk it has never bumped up escpecially for us. (we asked many times for a bumped up message.tbl so that we can add more wingmans, but that's all). :)

Currently, you can insert around 280 empty messages in FRED (kinda strange, I thought I hit the limit some time ago with around 100 messages).
Title: Message limit ?
Post by: WMCoolmon on March 06, 2005, 02:39:10 pm
[/Tongue in cheek] :p
Title: Message limit ?
Post by: Starman01 on March 06, 2005, 02:55:27 pm
Uhm, sorry. What does that mean ? I have problems translating this phrase into propper german, but one meaning of the word "cheek" is rather negative, (I didn't meant to offend you WMC  :nervous: ) but I guess I didn't according to your ":p " (thanks god for the development of emoticons :)
Title: Message limit ?
Post by: StratComm on March 06, 2005, 04:13:04 pm
"Tongue in cheek" means that the material in question was said in jest.  WMC was just joking around.
Title: Message limit ?
Post by: WMCoolmon on March 06, 2005, 04:42:36 pm
It means that WCS has forever been asking to have messages/SEXP limits bumped, so if there is a limit, it's either pretty high, or it's been bumped to be pretty high. ;)

I think this is it though:
Code: [Select]
#define MAX_MISSION_MESSAGES 500
//Bumped to 500 from 300 06/15/2004 -C


So, limit of 500.
Title: Message limit ?
Post by: Starman01 on March 07, 2005, 12:40:34 pm
Thanks for clarify that "tongue in cheek"-thing, sometimes I'm not familiar with these kind of phrases  ;)

500 is certainly waaay to much. Even we do not have more than 150 messages per mission, not to mention that this limit isn't supported in Fred either. So if you have already problems with the memory used, rather reduce this limit , maybe it makes things easier for another SEXp-Node raising. :) (Just a thought, I don't have a real imagination how the exe is controlling it's resources.)

Is the limit somehow calculated on the size of the messages themselve, or is it a real message-counter ?
Title: Message limit ?
Post by: StratComm on March 07, 2005, 01:09:03 pm
My guess is that this number controls how big of an array of sounds can be loaded into memory.  Messages are the only sounds tied to events specifically, so they get their own limit.  However, you'll still be limited by the SEXp nodes cap, and quite frankly I don't see how anyone ever actually got to 300 messages per mission before it was raised.
Title: Message limit ?
Post by: WMCoolmon on March 07, 2005, 05:21:03 pm
It only seems to take up < MB in memory. It was bumped because of a WCS request, which turned out to be a miscommunication. (I think MAX_PERSONAS was really what needed to be bumped)
Title: Message limit ?
Post by: FireCrack on March 07, 2005, 06:39:54 pm
ahh i keep getting WMC and WCS confused!
Title: Message limit ?
Post by: Lynx on March 08, 2005, 10:34:09 am
Easy to mix them up. Both are cool stuff.:p
Title: Message limit ?
Post by: Starman01 on March 08, 2005, 12:42:22 pm
Quote
Originally posted by WMCoolmon
It only seems to take up < MB in memory. It was bumped because of a WCS request, which turned out to be a miscommunication. (I think MAX_PERSONAS was really what needed to be bumped)


Most probably that's the cause, since we always spoke of "bumping up the entries in message.tbl", maybe we misspelled it sometimes.

As said, I can't imagine that someone will need more than 150, or at the biggest maximum 200 messages. (I guess my biggest mission has around 120, I'm not fully sure though). Theoretically you could reduce it down again.
Title: Message limit ?
Post by: NGTM-1R on March 08, 2005, 01:35:56 pm
I believe Axem hit the message limit once...he made a thread about it...
Title: Message limit ?
Post by: Axem on March 08, 2005, 01:50:57 pm
I did...? I remember hitting a SEXP node limit making an ingame cutscene before WMC added those sexps... But not a message limit.

And I never made any thread about it. I'm too much of a lurker to do that. ;)
Title: Message limit ?
Post by: NGTM-1R on March 08, 2005, 04:15:18 pm
I dunno, I recall you mentioning hitting several limits in the same post, and I could've sworn one of them was the message limit...

EDIT: Ah, I found it. It was the cargo variant limit. Ignore any previous statements on this subject that I have made.
Title: Message limit ?
Post by: WMCoolmon on March 08, 2005, 06:38:31 pm
Well, when I looked up the limit I also checked how much memory is used. Turned out to be less than a meg. :p