Posted: Fri Jan 11, 2013 9:45 pm Post subject:
Using different pads for different aircraft...
So, we all know that in Tiberian Sun there was more than a type of pad. For sample you had the banshee pad and the other one... whatever (?),
And the banshee coudn't land or reaload if not on it's own pad.
Now, I wanted to have a line of "big aircraft" for my mod, additional to the normal fighter-bomber jets normally seen.
This additions include big carpet bombers, etc.
I have found no great problem when making the aircraft themselves. I also got working the new big airpad, to be contructed in addition to the small ones. And it works.
Only one problem... they don't distinguish each other for anything but the tech tree.
This means my big bombers can still land and reload in small airpads, even though I specifically tagged them NOT to (meaning, I didn't list the small airpads in their list)
This leads to four huge aircraft to be crammed in the normal airpads, and to be mass-constructable this way (instead of just one per big pad), which is (obviously) not intended.
I can post code if you want.
Yet, I don't know is this is an engine limitation now (that should be able to be fixed with Ares?)... _________________ QUICK_EDIT
Joined: 18 Jun 2005 Location: Dordrecht, the Netherlands
Posted: Fri Jan 11, 2013 9:49 pm Post subject:
Re: Using different pads for different aircraft...
NimoStar wrote:
So, we all know that in Tiberian Sun there was more than a type of pad. For sample you had the banshee pad and the other one... whatever (?),
And the banshee coudn't land or reaload if not on it's own pad.
You're probably mistaken with TI, where the Banshee Bomber requires its own airpad to be created. In vTS all aircraft can reload on all airpads (and even be created if you have the right tech). QUICK_EDIT
Can't you set Docks= for the aircraft? I believe there is such a key, to define where it can 'dock' itself. If you set it to the structure that it should land on, it won't go onto the normal ones. _________________
I dont remember if its only for vehicles or if it can also be used for aircraft, but if your using Ares you can try the BuiltAt= feature in conjunction with Dock= _________________
The enemy shall be injected with toxic poison - Venom QUICK_EDIT
In TI, aircraft can still land and reload on other helipads if you give them the direct order to land there.
Only the auto-pilot won't take the "false" helipad. This is the result of the Dock= key on each aircraft, which has only the one special helipad listed and not like in vanilla TS all the helipads.
We also used the alternate warfactory workaround for TI, to get the Banshee bomber only constructible on the special bomber helipad, while other Nod aircraft are produced on the normal helipad. _________________ SHP Artist of Twisted Insurrection: Nod buildings
I have had the same problem with getting seaplanes in D-day to work. I've got it mostly working using Ares BuiltAt= feature but there is still a bug with the build queue not being able to differentiate between the two airfields.
So if you have 2 airfields (1 light, 1 heavy) with 4 pads each, you can queue up 8 light or heavy planes but it will get stuck on the 5th one because it cant build on the other airfield etc.
Of course TS/TI doesn't have this problem because aircraft aren't required to always be docked at a pad when idol. So when you get to the "5th aircraft" it will just spawn next to the airfield instead of getting stuck.
I posted a bug report about this on the Ares bug tracker but it's a low priority so I doubt it will be fixed anytime soon. _________________
Of course TS/TI doesn't have this problem because aircraft aren't required to always be docked at a pad when idol. So when you get to the "5th aircraft" it will just spawn next to the airfield instead of getting stuck..
This can be turned back on. But of course then planes will no longer be dock bound. However a clever solution to this, balance wise, is using Ares new Poweredby logic to make the dock required for the bomber to take flight. Thus bombers can land/park on ground but require dock to be present in order for it to move. _________________ Grab my Map Logic Expansion Pack 5.2 here!
Adds random weather patterns into maps.
More disabled navalyards.
Preplaced Neutral buildings.
Additional new features.
You mean ironically the one that ooks like it has a visual bug? It was actually a base problem, now fixed.
But in fact there's a new barracks building, the old one is used as a special structure "Soviet Statue" that decreases the cost of building infantry (and does not produce by itself).
Quote:
Call the unit "Launcher of Missiles" Buratino!
It's called TOS Buratino on the code , it's also coded to emulate that purpose.
Quote:
Can't you set Docks= for the aircraft? I believe there is such a key, to define where it can 'dock' itself. If you set it to the structure that it should land on, it won't go onto the normal ones.
I use it but it doesn't work as intended.
Quote:
I dont remember if its only for vehicles or if it can also be used for aircraft, but if your using Ares you can try the BuiltAt= feature in conjunction with Dock=
We also used the alternate warfactory workaround for TI, to get the Banshee bomber only constructible on the special bomber helipad, while other Nod aircraft are produced on the normal helipad.
That looks hard and no guarantee it will work on Ares-Patched RA2YR ...
Quote:
This can be turned back on. But of course then planes will no longer be dock bound. However a clever solution to this, balance wise, is using Ares new Poweredby logic to make the dock required for the bomber to take flight. Thus bombers can land/park on ground but require dock to be present in order for it to move.
I think this is not feasible because they are hardcoded to only reload when docked.
Also I think PoweredBy logic is buggy on aircraft (At least I tried it before to make drone bm¿ombers and it did not work right so I had to scrap it)
* * *
Any other ways?
Should I make a blueprint for next Ares? _________________ QUICK_EDIT
BuiltAt= works fine with aircraft other then the bug I mentioned. If it's fixed you'll esaly be able to have light & heavy airfields. _________________
You manually have to send them to reload if there's not enough docks for them to all to reload, further you can send a group at a dock, and they will take turns reloading just like a group of subs being repaired at a naval yard.
This of course acts as an incentive for a player to build more docks to reload faster. It also increases buildspeed of aircraft as well. Also without the aircraft being dockbound you can build more then you have docks for.
Further aircraft can be set to reload ammo on their own, it's not hardcoded like that. This is a matter of choice and balance for modders to set though.
I couldn't find a bugreport on bugtracker about aircraft having issues with poweredby logic. That's not to say their aren't bugs, I just didn't see any.
If there really isn't you should report them.
I only suggested poweredby logic because it acts as a good balancer if you chose to use nondockbound aircraft. _________________ Grab my Map Logic Expansion Pack 5.2 here!
Adds random weather patterns into maps.
More disabled navalyards.
Preplaced Neutral buildings.
Additional new features.
Further aircraft can be set to reload ammo on their own
Yes, but it is a global setting, I would only like to have this for individual aircrafttypes.
Quote:
BuiltAt= works fine with aircraft other then the bug I mentioned. If it's fixed you'll esaly be able to have light & heavy airfields.
Well, thank you, I will try so.
(Should I use the "explicitonly" for the Airfield?)
Quote:
I couldn't find a bugreport on bugtracker about aircraft having issues with poweredby logic. That's not to say their aren't bugs, I just didn't see any.
I think it has to do with when the way it interacts when they are docked- _________________ QUICK_EDIT
Dock only effects where aircraft can land not where they are built. It's also ignored when an aircraft needs to reload, then it will go anywhere there is a free space irreverent if it's listed in Dock or not. _________________
Dock only effects where aircraft can land not where they are built. It's also ignored when an aircraft needs to reload, then it will go anywhere there is a free space irreverent if it's listed in Dock or not.
That's a bit dumb. _________________ MIdAS - Turning wages into beer since 2002 QUICK_EDIT
Yes but they should have though about it. ALso I think they should have given all teams airpads from the start. TS had them... anyways, yes, "dock" is rather a useless function, have something listed and the aircraft will be built and/or go anywhere else anyways. _________________ QUICK_EDIT
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum