Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: .::Tin Can::. on March 16, 2004, 09:49:15 pm

Title: Karajorma Said...
Post by: .::Tin Can::. on March 16, 2004, 09:49:15 pm
Well, I IM's Karajorma not too long ago about a problem with media.vp, and he recently responded with this:

I asked why it is that sometimes the head.ani files for pilots, will suddenly pot the ANI that they are being shot down. Their death ANI just pops up, taking the place of the first one, and he told me that they were working on it OR it has been reported, but he also told me to post a message reminding anyone working with media.vp, or if its a problem with fs2_open. Either way, just a message from Karajorma:

How do we fix it?
Title: Karajorma Said...
Post by: redmenace on March 16, 2004, 09:59:43 pm
are you using a -mod option by any chance?
Title: Karajorma Said...
Post by: jdjtcagle on March 16, 2004, 10:06:57 pm
is WMCoolmon still working on the VP??? I haven't heard from him in a looong time!!   I was suposed to start the VP's for him but then I got grounded and now the only time I can get on the computer is when my parents are not around. WMCoolmon was informed of this but I havent heard from him
Title: Karajorma Said...
Post by: .::Tin Can::. on March 17, 2004, 01:58:46 am
Im not using a -mod option, for the record. I installed the basics on my friends computer, and the guys looked like they were dying too. I dont know why, and even KJ doesnt know why either. All I know is I cant tell who is shot down and who is alive.
Title: Karajorma Said...
Post by: karajorma on March 17, 2004, 05:33:57 am
Okay. Blame me why don't you :D

Anyway I get this exact same problem too. At first I assumed it was a mistake in the campaign I was playing at the time (homesick) but when I noticed it appearing in missions I wrote myself it became obvious the problem lay elsewhere.

AFAIK this isn't a media.vp problem since the media.vp doesn't override the tables in anyway and doesn't include any persona ani files.  I'm guessing it's actually FS2_open itself that has the problem.

IIRC Kazan's races code is the only thing that has touched anything remotely connected to the personas so it might be worth starting there (View expressed as someone who has hardly looked at the code though so no aspersions cast :D )

I'll try to test this with the vp disabled in a bit to see if we can definately exclude it as the cause.
Title: Karajorma Said...
Post by: .::Tin Can::. on March 17, 2004, 11:17:24 am
Atta boy. But if I said that it was just something that "I" noticed in the campaign or a problem, people would yell at me. :D
Title: Karajorma Said...
Post by: karajorma on March 17, 2004, 01:15:11 pm
If you make a good bug report then no one will complain :D
Title: Karajorma Said...
Post by: .::Tin Can::. on March 17, 2004, 01:57:53 pm
I suppose that would work. Even with me....
Title: Karajorma Said...
Post by: Flipside on March 17, 2004, 02:01:51 pm
hehehehe You're bouncy, you can take it ;)
Title: Karajorma Said...
Post by: .::Tin Can::. on March 17, 2004, 02:08:44 pm
I dunno... some pretty idiot people around here with nothing better to do cept critisize me...
Title: Karajorma Said...
Post by: Flipside on March 17, 2004, 02:20:10 pm
They are also very very talented artists/coders etc. Don't discard what they are saying, even if you don't like the way they say it, different people have different personalities, and don't get worked up when someone tells you you're idea sucks, remember they have their own opinion and they are entitled to it, just as you are entitled to yours ;)
Title: Karajorma Said...
Post by: Goober5000 on March 17, 2004, 02:28:59 pm
It's been around since FS1, and it's been fixed.
http://mgo.maxgaming.net/mantis/bug_view_page.php?bug_id=0000009

It's both a mission problem and a bug.  The mission problem is the FREDder messing up in one of two ways:
1) assigning a wingman head ani and a command persona a message
2) assigning a wingman head ani and *no* persona to a message (the persona defaults to command, so this is basically the same as #1)

The bug is FS not handling these possibilities properly.  There's a 33% chance of selecting the third head, which is valid for command but not for wingmen.

I fixed both possibilities.  The changes are in missionmessage.cpp if anyone wants a look.
Title: Karajorma Said...
Post by: karajorma on March 17, 2004, 05:23:04 pm
Hang on a sec you mean the only way to avoid this problem before you fixed it would have been to make sure any ship which could send a message had a persona in the ships editor?

If so that would explain it. Thanks to the persona forgetting bug FRED has (had?) I've gotten into the habit of assigning a persona as one of the absolute last things I do in a mission.
Title: Karajorma Said...
Post by: Goober5000 on March 18, 2004, 12:31:19 am
Quote
Originally posted by karajorma
Hang on a sec you mean the only way to avoid this problem before you fixed it would have been to make sure any ship which could send a message had a persona in the ships editor?
Actually I think it's the message editor.  The code wasn't completely clear on which persona it was using for this particular thing but I'm 80% sure it was the message persona, not the ship persona.

Quote
If so that would explain it. Thanks to the persona forgetting bug FRED has (had?) I've gotten into the habit of assigning a persona as one of the absolute last things I do in a mission.
Yeah, that's annoying.  Which reminds me: that should be in Mantis.  Want to add it? :)
Title: Karajorma Said...
Post by: karajorma on March 18, 2004, 08:09:55 am
I can't remember the exact details to be honest. Just that there was a problem so I stopped entering personas.