Finally a new Version of the Combat System is finished !!!.
You can find it in my current reposistory under
https://github.com/aherber/Terasology. Its still buggy right now. I dont want to make a pull request before i haven't updated everything to the current state of development.
If you want to test it you have to do the following. Start a new Game with the mod Combat Gamplay and the Portal mod activated. Get the 3 Bow items from your chest in your Inventory. Place one or more Portal Blocks in your world. If you want to use your bow now the Model of the projectile is not rendered. This Problem only occurs after placing one or more portal blocks in your world. In order to fix this you have to leave and reload your world. Now everything works fine and the projectile are rendered correctly. I dont know whats the reason for this error.
Projectiles also collide with billborded Blocks like Grass and Flowers because they are using the same collsiongroup as normal blocks (world). I may solve this problem by getting rid of the riggid body component completyly and only consider the triggerComponent for the collsion handling of projectiles and check if the colliding block is penetrable or not.
The other posibilty would be to introduce a new collisionGroup for passable blocks like grass and flowers to distinguish them from solid blocks.
Anyway just shoot the gelcubes that are spawning from the portal blocks. The damage of the arrows kill them with one hit. Because there is currently no death animation for the gelcubes i added a tempory one. The Gelcube become a dynamic rigged collsinon object and is pushed around. This may look funny. This is just a temporary solution and works as a "tell" that the gelcubes have been hit and died.
Whats new:
A Bow with reflecting arrows, that are fired in a straigth line and not beeing influenced by gravity.
A Bow with piercing arrows that fly in a parabolic path and stick to any block that is hit.
A Bow with bouncing arrows that fly in a parabolic path and bounce of blocks.
Be careful you can hit yourself with your own arrows at the moment.
Well i hope you have fun with it. If you run into any problems just let me know.