Transportable Ships/Aircraft

Transportable Ships/Aircraft

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Transportable Ships/Aircraft

Post by Google_Frog »

Does anyone have working transportable ships or aircraft? I know that at some time in the past ZK had transportable ships but this is no longer the case. They are meant to be transportable and I don't think anything has changed modside. Has anyone had success? Is the engine broken?
User avatar
Deadnight Warrior
Posts: 183
Joined: 08 Jun 2009, 17:59

Re: Transportable Ships/Aircraft

Post by Deadnight Warrior »

Did you look into modrules.lua? (this is a sample from XTA)

Code: Select all

local modrules  = {
...
...
  transportability = {
    transportGround = 1,  -- defaults to 1
    transportHover  = 0,  -- defaults to 0
    transportShip   = 0,  -- defaults to 0
    transportAir    = 1,  -- defaults to 0
  },
...
...
In XTA you should be able to load aircraft into transporters, but it doesn't seem to work.
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: Transportable Ships/Aircraft

Post by Google_Frog »

Yes, as I said it used to work. My modinfo.lua should allow transporting of everything except aircraft.
User avatar
knorke
Posts: 7971
Joined: 22 Feb 2006, 01:02

Re: Transportable Ships/Aircraft

Post by knorke »

the collision between transporter and passenger changed a bit, in a way that some units could not be picked up anymore. maybe in zk too?
Google_Frog
Moderator
Posts: 2464
Joined: 12 Oct 2007, 09:24

Re: Transportable Ships/Aircraft

Post by Google_Frog »

Ships and aircraft are unable to be targeted by a load command. So it is not the collision bug. I even tried transporting amphibious units which are on the sea floor and the transport would try to lift the unit even though all it did was jitter on the sea surface.
Post Reply

Return to “Game Development”