Page 1 of 1

More Awards ?

Posted: Tue Jun 30, 2009 3:33 pm
by Labj
Now, now... can i create more medals and awards ? If yes, then how many ?

Re: More Awards ?

Posted: Tue Jun 30, 2009 4:21 pm
by AQT
You can't create more medals and awards.

Re: More Awards ?

Posted: Tue Jun 30, 2009 4:51 pm
by Labj
Why not ?

Re: More Awards ?

Posted: Tue Jun 30, 2009 5:05 pm
by RogueKnight
Labj wrote:Why not ?
Its hardcoded.

Re: More Awards ?

Posted: Tue Jun 30, 2009 5:24 pm
by Labj
Aaah, thats diferent, but what do you mean?And where it is?

Re: More Awards ?

Posted: Tue Jun 30, 2009 5:33 pm
by Frisbeetarian
DarthRogueKnight wrote:
Labj wrote:Why not ?
Its hardcoded.
I'm pretty sure that that's wrong. You would have to edit the shell at the very least to get your new medal to show up in the stats screen. I could be totally off base, but do you really need new medals and awards so long as you can have weapons that work as award weapons?

They would work the same way that award weapons work now, but they would be implemented differently. You would just use your Lua script to add a new weapon for a unit. You would not be able to replace the weapon (since you can't change the weapon in weapon slot 1), the new weapon would just be a different weapon choice for that unit, like the award rocket launcher.

Another way to do it would be to replace the original award weapon ODF with a new ODF, but you'd have to play around with that since I'm not sure of every reference between the original and the award weapons.

Re: More Awards ?

Posted: Tue Jun 30, 2009 5:50 pm
by Labj
So its just that. thanks, I will try

Re: More Awards ?

Posted: Wed Jul 01, 2009 12:19 pm
by [RDH]Zerted
To have more awards, you have to:
1) When a map starts load up your saved stats
2) If wanted, change class properties to enable/disable effects/weapons based off of your stats
3) Write scripts that run on every map to collect your battle stats
4) When the map ends, save the new stats
5) Rewrite the shell to load your saved stats and to have a screen space to display them

However, I don't see a point to doing any of that. It would all be SP only. And if thats the case, it would be easier to just write a custom user script (supported by v1.3 patch) to create a few new FakeConsole commands that give you those effect/weapon changes manually.

If you didn't want to change any class properties, but only wanted to see more stats in the 'player stats screen' after the end of each map, then you only need to do steps 3 and 5, and it would work in MP. That actually wouldn't be too hard, assuming you already know the basics of how swbf2 creates its screens. (I really wish I hadn't lost the v1.3 source code. For the stuff I've learned since then, we could have had a v1.4 :( )

Re: More Awards ?

Posted: Wed Jul 01, 2009 2:51 pm
by Labj
What if i want to do a medal that needs 48 points and it may change the number of points when you get to veteran, elite and legend ?

My plans for this are:

That up there with regeneration. Can be called War Leader or something cool.
Grenadier ( Use secondary weapon )
A medal with a blade, you know meele attacks. What about Sworsman
Another points medal with 60 that duplies your HP. i dont know uh... it would be called Supporter
Have you played Renegade Squadron, OK what about Hero Killer, kill the hero ( duh!! )
One of them needs a new effect, that can be done with PE right ?