Switching playership ingame?

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
Xephyr
Militia Captain
Militia Captain
Posts: 857
Joined: Fri Dec 14, 2007 1:52 am
Location: Orion Arm, Milky Way
Contact:

I remember from my earlier days on these forums that some of you were interested in switching your playership in-game.

I was just wondering if anybody figured out how this would be done? I'm working on a mod that will let you change your ship at Black Market and Ringer shipyards.
Project Renegade (Beta) : "The Poor Man's Corporate Command!"
Real programmers count from 0. And sometimes I do, too.
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

Apart from what has been done here nothing has changed. It is still not doable :(
schilcote
Militia Captain
Militia Captain
Posts: 726
Joined: Sat Feb 02, 2008 7:22 pm

alterecco wrote:Apart from what has been done here nothing has changed. It is still not doable :(
Ah, but I remember a discovery made by Perculi some time ago. He found a way to make devices and device slots appear and disappear. I think that's all you would need to make a convincing ship-change.
[schilcote] It doesn't have to be good, it just has to not be "wow is that the only thing you could think of" bad
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

True, there is a hack where you can add slots, but you can not change what kind of items can go in them. In addition you can not change a ships base stats, such as it's max cargo, thrust, maneuver, maxSpeed, mass, etc... Some of those stats can be influenced by using various virtual items, but not reliably enough and easily enough to warrant doing it. In general, you can emulate a ship that is a bit different from you current, but the work necessary to do it does not match the gain. In addition, changing the graphics of the ship with an overlay does not change the hitbox of the ship, so, you could be flying a peanut that looks like a star destroyer, but it would still only be a peanut
User avatar
Xephyr
Militia Captain
Militia Captain
Posts: 857
Joined: Fri Dec 14, 2007 1:52 am
Location: Orion Arm, Milky Way
Contact:

So you can change the graphics of the ship, and add/remove device slots?

Alright, that should be enough for me to get by, until myself or someone else can use some sort of exploit or something to change thrust/maneuver/etc.
Project Renegade (Beta) : "The Poor Man's Corporate Command!"
Real programmers count from 0. And sometimes I do, too.
schilcote
Militia Captain
Militia Captain
Posts: 726
Joined: Sat Feb 02, 2008 7:22 pm

You could change the thrust of the ship by having the base ship have a speed of 0 and just putting a drive on it to set the thrust amount.

It's a pretty big hack altogether, but it might work.
[schilcote] It doesn't have to be good, it just has to not be "wow is that the only thing you could think of" bad
User avatar
Arisaya
Fleet Admiral
Fleet Admiral
Posts: 5535
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

I thought it still wasn't possible to center the overlays... right?
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
User avatar
Prophet
Militia Captain
Militia Captain
Posts: 826
Joined: Tue Nov 18, 2008 6:09 pm

There are a number of problems with hacking in ship changes. Overlays can be centered but the original ship will appear on the map, not the overlay. Thrust and max speed can be increased from the base ship but not reduced. As Schilcote said, you can overwrite the ships and set the base stats to 0 (I have tried this and worked alright) but this should only be done in a total conversion mod. You're still stuck with the base maneuverability which cannot be modified in any way at the present time. Armor segment weight restricitions are another sticky point.
Another problem, as alterecco mentioned, is that the game engine treats the new ship graphic (using an overlay) as though it weren't there and shot collisions are calculated using the old ship graphic. This would lead to shots passing over/under the overlay graphic and only contacting the original ship.

Basically, it can be done now but it will be evident that you're not actually flying your new ship but actually flying your old ship that looks like the new one. It's best left to full conversion mods that use custom starting ships that can mitigate some of the stickier points.
Coming soon: The Syrtian War adventure mod!
A Turret defense genre mod exploring the worst era in Earth's history.
Can you defend the Earth from the Syrtian invaders?
Stay tuned for updates!
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

I don't think centering the overlay is any issue... the real issue I see is the hitbox. I mean, unless the ship you change to has the same shape you will get totally weird shield and armor hits.

As for getting realistic stat changes through some exploit, I just need to say, don't get your hopes up. I think it is very unrealistic, and I have really spent a lot of time trying stuff out. At present time we should be content with changing ships at game start (a bit like you can't change class in nethack), and maybe hope for some script functions that can change base stats in the future... Hitbox changes I don't see happening until George implements real ship changing in vanilla.

Just my 5 cents
User avatar
Arisaya
Fleet Admiral
Fleet Admiral
Posts: 5535
Joined: Tue Feb 05, 2008 1:10 am
Location: At the VSS Shipyards in the frontier, designing new ships.

The game's balance isn't set up for this anyways; for it to be truly balanced AND a useful part of the game, it would necessarily be implemented in something as wide-scope as a TC.
(shpOrder gPlayership 'barrelRoll)

<New tutorials, modding resources, and official extension stuff coming to this space soon!>
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

If not combined with an expanded playership list it could work. Transcendence doesn't really have the linear fighters/quadratic wizards trope.
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

can we eventually use <OnDamageOverlay> to emulate the new hitbox ? That of course is a limited solution because we cannot change the total number of armor layers installed on the ship, or can we ?
Jeoshua
Militia Lieutenant
Militia Lieutenant
Posts: 163
Joined: Sat Sep 06, 2008 3:48 pm

I've been thinking of doing something just like this in a mod I'm planning. It's sort of a combination of a few ideas that people have had over the years but never saw through.

As was said before, in a conversion or adventure mod it could work, but one would have to use custom ships, all roughly the same size and shape. The base ship would have to be zeroed out and virtual devices used to make the "shell" ship take on the desired stats. The map picture isn't a problem if the default graphic for the ship were something simple and map-like.
Post Reply