Is it possible to have an overlay system that would work like the modular ships in Battleships Forever and Gratuitous Space Battles?
I envision that overlays could have weapons (turrets + firearcs >:D ), armors, and their own shields.
The problem is if overlays as of right now can be smooth enough to make it look nice (as I can fake most of the above through code).
Any ideas?
Overlay System
-
- Fleet Admiral
- Posts: 2876
- Joined: Thu Feb 03, 2011 5:21 am
- Location: Hmm... I'm confused. Anybody have a starmap to the Core?
Tutorial List on the Wiki and Installing Mods
Get on Discord for mod help and general chat


Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
Get on Discord for mod help and general chat


Der Tod ist der zeitlose Frieden und das leben ist der Krieg
Wir müssen wissen — wir werden wissen!
I don't want any sort of copyright on my Transcendence mods. Feel free to take/modify whatever you want.
I've played battleships forever, and bringing a system like that to Trans would be amazing 

Matix's Revolutionary Repair Items! Get it here !
Stronger Centauri! Download it here
Matix's Weapon Pack!: Find it here!
Preview: Momentum Cannons! Get it here!
IRC (Love it!
):
[10:54] * matix pokes Guest33555
[10:55] * matix thinks its dead....
[10:55] * Katami shoots Guest33555 in the foot
[10:55] <matix> O.o
[10:55] <Hatsya> don't worry, it's a water gun
Stronger Centauri! Download it here
Matix's Weapon Pack!: Find it here!
Preview: Momentum Cannons! Get it here!
IRC (Love it!

[10:54] * matix pokes Guest33555
[10:55] * matix thinks its dead....
[10:55] * Katami shoots Guest33555 in the foot
[10:55] <matix> O.o
[10:55] <Hatsya> don't worry, it's a water gun
- Aury
- Fleet Admiral
- Posts: 5526
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
I've pestered george about letting us have overlay turrets, but nothing has come of that yet.
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
-
- Developer
- Posts: 2998
- Joined: Thu Jul 24, 2003 9:53 pm
- Contact:
- Aury
- Fleet Admiral
- Posts: 5526
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
But that won't actually give us indep. rotating turrets.
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
-
- Developer
- Posts: 2998
- Joined: Thu Jul 24, 2003 9:53 pm
- Contact:
You're right; you would have to call objSetOverlayRotation from inside OnFireWeapon (or something).Wolfy wrote:But that won't actually give us indep. rotating turrets.
- Aury
- Fleet Admiral
- Posts: 5526
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.

That... is very interesting! I didn't even know that we could do that.
Now if only we could get it to track the target nicely...
Maybe an <onTargeting> event that occurs whenever a turreted/swivel weapon has a target within range, and provides variables giving the target, the direction from the /weapon/ (esp. important on large ships targeting close-by ships), etc.
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
- alterecco
- Fleet Officer
- Posts: 1658
- Joined: Wed Jan 14, 2009 3:08 am
- Location: Previously enslaved by the Iocrym
Don't we have code that lets us target perfectly? If you just have a loop running that targets the closest ship, or some other algorithm, then you would have independently rotating turrets.
- Aury
- Fleet Admiral
- Posts: 5526
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
But would we know that is what is actually being targeted by that weapon?
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
- Aury
- Fleet Admiral
- Posts: 5526
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
The closest enemy ship. The ship may be assigned a target, the closest ship might be out of the fire arc. There are a lot of variables to consider.
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
- Aury
- Fleet Admiral
- Posts: 5526
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
Another problem is when you have a weirdly shaped ship and parts of it would need to occlude the turrets on it.
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
the ships would probably have to be larger to use those rolating turrets...such as Britania like-size...
A further note for this: This would, if adapted, make the current Auton AI actually function in combat without having to be told to attack things. Currently autons have forward-facing weapons, so they can either follow the ship, or turn to attack an enemy...and following takes priority, so they usually never fire their guns while following the player. A system used for modular construction could probably be modified so that a ship can thrust "Forward" in one direction, while actually facing and firing in another. Normally that'd be fairly cheatish, but for autons it might work (the Tenhove autosentinel [yeah, not technically an auton] in particular, since it *looks* like it has a turret but it actually doesn't.)
Mischievous local moderator. She/Her pronouns.