Flying Mod Help

Imdement

Chieftain
Joined
May 21, 2006
Messages
10
Location
Annapolis, MD
I have made choppers that can fly over water with cargo.

Just one thing I can't figure out. I have a transport chopper and special force unit that can load on a ship separately, but will not load if the spec ops unit is already loaded on the chopper. Is there a way around this? My spec ops unit can load/unload if the ship is next to the shore, where my chopper can fly out to the ship and load. As you can see the dilemma is I want to fly out to the ship with my spec ops unit on the chopper and then load both.

Also can you assign multiple domain names as cargo types. Like aircraft carriers that can have planes, troops and choppers? Right now I have only figured out how to place land units on other ships but cannot place them on carriers with planes.
 
Imdement said:
I have made choppers that can fly over water with cargo.

Just one thing I can't figure out. I have a transport chopper and special force unit that can load on a ship separately, but will not load if the spec ops unit is already loaded on the chopper. Is there a way around this? My spec ops unit can load/unload if the ship is next to the shore, where my chopper can fly out to the ship and load. As you can see the dilemma is I want to fly out to the ship with my spec ops unit on the chopper and then load both.

Also can you assign multiple domain names as cargo types. Like aircraft carriers that can have planes, troops and choppers? Right now I have only figured out how to place land units on other ships but cannot place them on carriers with planes.

Since both the chopper and the special ops unit are DOMAIN_LAND you should be able to load them just like any other transport

Code:
<SpecialCargo>NONE</SpecialCargo>
<DomainCargo>DOMAIN_LAND</DomainCargo>

If nothing else, you could always unload the choppers first onto a coastal square and then move the special ops guys to the chopper. They will load automatically. Then the next turn you could fly the choppers over land.

Roger Bacon
 
Roger

The proplem is not with off loading separetly by the coast. It's more of a problem flying out in the middle of the ocean a transport chopper with troops on it to meet up with a ship. Both units are domain land with the transport chopper sporting your flying tag and no impassible terrain. You see my ultimate goal is to have certain ships have multiple roles. For instance a carrier that has a squad of jets (domain air), a couple of fast attack boats with spec ops loaded on them (domain sea coastal waters only), one transport chopper that can fly land troops out and then land and unload on the carrier (domain land and flying tag with no impassible terrain for the chopper, the spec ops would just be domain land), I would also want a couple attack choppers (domain land flying tag coastal waters only). I have tried doing this a couple ways and had no success. I have never messed with any programing until this last week when I saw 2 three mods I liked and modified their xml's to work with each other through a little trail and error. It seemed simple till I tried changing yours.

Any help and maybe a piont in the right dirrection would be great. I know many other mods that could use this mod. please help.

Thanks.
 
Tholish said:
Will the AI use this anyway?.

The AI will use them to fly over water, and will use the ship to hold troops. I am not sure that they would fly units out and off load them on a ship though. They would probably see it easier to just walk to battle.
 
Imdement said:
Roger

The proplem is not with off loading separetly by the coast. It's more of a problem flying out in the middle of the ocean a transport chopper with troops on it to meet up with a ship. Both units are domain land with the transport chopper sporting your flying tag and no impassible terrain. You see my ultimate goal is to have certain ships have multiple roles. For instance a carrier that has a squad of jets (domain air), a couple of fast attack boats with spec ops loaded on them (domain sea coastal waters only), one transport chopper that can fly land troops out and then land and unload on the carrier (domain land and flying tag with no impassible terrain for the chopper, the spec ops would just be domain land), I would also want a couple attack choppers (domain land flying tag coastal waters only). I have tried doing this a couple ways and had no success. I have never messed with any programing until this last week when I saw 2 three mods I liked and modified their xml's to work with each other through a little trail and error. It seemed simple till I tried changing yours.

Any help and maybe a piont in the right dirrection would be great. I know many other mods that could use this mod. please help.

Thanks.

Probably the game doesn't let units that are loaded with other units load onto a new unit. You could fly the loaded chopper out to one square away from your amphibious assault ship and then unload the infantry from the chopper on to the ship. Then you could load your chopper on to the ship. That would probably be the easiest way.

Roger Bacon
 
Roger

That works fine, except then you can't off-load your troops from the ship back to the chopper or another ship. You have to visit the shoreline to get your troops off. Is there a change that could be made to the SDK or some other file. I thought of a possible change that seems workable, I just don't know how to do it. If you could add multiple domain names and special cargo's to one unit. The chopper would be domain land and domain transport(would have to create this one), with a ship having cargo abilities of domain land and domain transport. Kinda like giving a transport the ability to carry a transport. Anyway to do something like this or change the code somewhere else?
 
Back
Top Bottom