I would appreciate if you can merge the project in its current state in the trunk.
However there are some things that need to be discussed first.
The projects state reminds me of the state of the swatter item, when it first was merged into the trunk. (It works, but it basically looks ugly.)
What works:
- Protection against offensive powerups and bananas of a player that is shielded.
- Multiple shield "layers". Using a bubble gum as a shield while still having a shield will increase the time the shield is active. A hit will reduce the shield time by the standard amount of time a shield lasts.
- Destruction of the shield when an offensive weapon is used by the shielded player or when the shielded player is attacked.
- Displaying a basic model of the shield.
- Playing a basic (and not that nice) inflation sound when the bubble gum shield is created.
- When receiving a bubble gum powerup, the AI will use it per default as a shield. In the special case that another kart is close behind an AI kart, the gum will be used as a weapon. In the special case when the an AI player is shielded, it will not use an offensive weapons that would destroy the shield.
- Sounds:
- I need to find a sound that is played, when the bubble is destroyed and make it play at the right time.
- Create/ find a sound when a shielded kart and a regular kart crash. (The current metallic sound does not really fit.)
Model: - The model needs a nicer texture (in several attempts I failed to even get it transparent.)
- The model should be replaced by a more smooth and 10% larger one.
- The model should have two animations - one when the shield is created and one when the shield gets destroyed.
- The texture should reflect the strength of the shield, such that the user gets to know whether the shield has several "layers" or whether the shield is about to break.
Miscellaneous: - The debug output needs to be removed.
- There is a weired bug. Somehow at the first 4 (or 3 or 5) plunger hits, a plunger does even destroy a double shield, where the plunger should only be able to destroy a single layered shield. This effect goes away after those first "4" hits.
- Making a bomb that is passed to a shielded kart get defused.
Recently I did not find enough time to really bring the project further. :-( A part of the reason is that I still did not dare tackle blender - the other reason is that I am currently a little bit more busy than expected.
But merging the project in the current state will both boost me to get the project finished and probably encourage others to help me.
In my opinion my project is still not finished even after all those steps are done. That 's because making the bubble gum a dual use weapon will automatically reduce the traditional usage - as a bubble gum on the road. And thus the item swapper weapon gets less attractive. As a quick fix I suggest to make the gum item to be able to last for two times instead of one. As a nicer fix I would suggest to make bubble gums to be replaced (once) by a model of half the size that has a little weaker effect and will be turned into a small nitro bottle by the item swapper.
Then I would say that the shield became well integrated in SuperTuxKart.