Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Black Wolf on April 18, 2004, 11:51:54 am

Title: Adding medals
Post by: Black Wolf on April 18, 2004, 11:51:54 am
I've drawn up my bage, adjusted the monochrome, moved the other medals around the case and put an entry into medals.tbl, when I realized there was no way to actually define where my new medal should go, as such, not in the way the mainhall can be defined anyway. So, is this possible, or should I have posted in the SCP forum?
Title: Adding medals
Post by: Gloriano on April 18, 2004, 12:30:21 pm
Did you try edit medal.tbl??

intresting..

But I think New medal adding would be another SCP Feature request
Title: Adding medals
Post by: Taristin on April 18, 2004, 01:34:13 pm
Most likely a SCP thing, as HIG said.  It'll probably require all new art, and locations coding in the barracks.
Title: Adding medals
Post by: Black Wolf on April 19, 2004, 02:37:58 am
The Art's done, at leats for my particular addition. I'm not adding a medal as such, but a badge, so it was relatively simple. The rest was the movement of the monochrome, a similar movement on the coloured imgae, a little clone brush to cover the edges, and an outer bevel to fill the hole. Very basic stuff really. But if it's a SCP thing then I wont even be able to get them to think about it until post 3.6. Damn.
Title: Adding medals
Post by: Goober5000 on April 19, 2004, 04:24:20 am
Might be the same as the other interface art, where the shade of the white part of the mask determines the number of the medal that goes there.
Title: Adding medals
Post by: Black Wolf on April 20, 2004, 01:13:02 am
It does? Hmmmmmmm..... will test and report back.
Title: Adding medals
Post by: ShadowWolf_IH on April 20, 2004, 02:20:25 am
The problem i've encountered with this is that i have retextured an existing medal, made the correct tbl entries, and even changed the name of the medal.  I can't get the new textures to show up.  And they are in the correct format.  When i got the medal in the mission, it showed me the old texture on it, but when i went to look in the medal case the game froze, and shut off.  Also, nowhere that i can see does it tell you in the tbl which medal goes for which time winning it (1st time received, 2nd time, 3rd)......nor does it allow you to switch the voice file accompanying it (namewise i mean).

So the problem isn't just with adding new medals, it's also with getting the retextured medals recognized with the new textures, and then trying to switch the voice file somehow.  At least those are problemns i have encountered.

Now simply renaming the medal in the tbl works just fine.  It'll accept and show you the new name.  but not new textures.  don't know why, so any help on this would rock.
Title: Adding medals
Post by: Black Wolf on April 21, 2004, 06:44:28 am
Got it figured.

I actually had several problems - Goober appears to have been right about the colours of the "white" defining the position of the medal, which I'd done wrong. I'd also not done any 640x480 art, so I missed the fact that it wasn't calling my medal pic (as it had no 2_ in front of the name).

But it seems most important, I was beaten simply by a table limit of, 18 I think (or however many medals there are in the case) so, err, could this be bumped for 3.6? I guess it's kindof a bug...
Title: Adding medals
Post by: ShadowWolf_IH on April 21, 2004, 07:21:21 am
good thing i was planning on learning interface art then.......
Title: Adding medals
Post by: Goober5000 on April 21, 2004, 11:06:32 am
Quote
Originally posted by Black Wolf
so, err, could this be bumped for 3.6? I guess it's kindof a bug...
No.  And that's a pretty annoying thing to say, given our code freeze policy. :p Especially considering this...
Code: [Select]
// ARGH. IMPORTANT : do not change NUM_MEDALS without talking to DaveB first. It will
// affect the size of the scoring struct and hence, will break a lot of PXO related
// stuff. SEE ALSO : MAX_SHIP_TYPES
#define NUM_MEDALS                      18
Title: Adding medals
Post by: kasperl on April 21, 2004, 11:08:10 am
that's clear enough.......

anyone who wants to redo the netcode so we can get more then 130 ships and more medals?
Title: Adding medals
Post by: Goober5000 on April 21, 2004, 11:10:44 am
Ask Kazan.
Title: Adding medals
Post by: kasperl on April 21, 2004, 11:15:56 am
he is scared of the netcode, he told me.
Title: Adding medals
Post by: Black Wolf on April 22, 2004, 03:11:02 am
Quote
Originally posted by Goober5000
Code: [Select]
// ARGH. IMPORTANT : do not change NUM_MEDALS without talking to DaveB first. It will
// affect the size of the scoring struct and hence, will break a lot of PXO related
// stuff. SEE ALSO : MAX_SHIP_TYPES
#define NUM_MEDALS                      18
[/B]


Right - that seems pretty unequivocal then. I suppose you'll all be getting the Epsilon Pegasi Liberation medal after OR then :D