Posted: Thu Jul 30, 2020 3:54 am Post subject:
I want to make a new Paradrop Weapon
Yes just as the title says, I want to make a new Paradrop Superweapon besides Tech Airport & American HQ's.
What should I do?
Thanks in advance. QUICK_EDIT
It's simple.
First thing's first: naming the SW, then adding it to the SuperWeaponTypes list. This list already exists in base rules. Just add the SW you want with the number you want.
Code:
[SuperWeaponTypes]
+=ParadropClone
Of course, don't forget to attach the SW to something (SuperWeapon, SuperWeapon2 (or something) or Ares' SuperWeapons), or at least use AuxBuilding.
Code:
[ParadropClone]
Type=AmerParaDrop ;;can also be ParaDrop.
Action=Custom ;;not sure if this has to be Custom or can be something else.
Money.Amount= ;;should be at least value of the payload (5 GIs being dropped here so this SW should cost 5 * E1>Cost)
You can also set Designators and Inhibitors on the SW, if you want it. (note Designators can only be your own units, not your ally's)
SW.Designators=UNIT_ID, UNIT_ID2
Use the custom ranges on the units (InhibitorRange and DesignatorRange) if you don't want to be limited by the TechnoType's Sight.
If you want limited range SWs (SW.RangeMaximum and SW.RangeMinimum), remember you can only use them if the SW is actually attached to the building with the SuperWeapon(s)= flags, and not SW.PostDependent (or maybe also AuxBuilding), because in such a case the range requirements are never met and you can't ever fire the SW.
If you want three planes, each sending specific payload, use this:
_________________ One and only developer of the Command & Conquer Dune "C&C D" mod.
m7 wrote:
I tend to release things I create so that assets are never lost to hard drive problems, accidental deletion, or me having to pretend to care about rippers taking things from my project when it is done.
Last edited by TAK02 on Thu Jul 30, 2020 5:35 am; edited 2 times in total QUICK_EDIT
The problem is here. I've done everything with the name & cameo. I've copied the code you gave me but when I clicked to use it, I can't "select target" like the other two Paradrops, and it automatically goes on cooldown and absolutely nothing happens.
Money.Amount comment is his own methodology to how he prices SWs, if you go by that you won't understand it.
A simple search in the documentation will lead you to:
[SuperWeapon]?Money.Amount= (integer - credits)
This many credits are added to the firing player’s account when the super weapon is fired. Use a negative number to subtract credits. Defaults to 0. _________________
ayylmao on Discord QUICK_EDIT
try removing Action=Custom from your SW code. I'm pretty sure Action='s function is replaced by Cursor= and the various Targetting tags. It may be interfering. 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