Posted: Wed Aug 12, 2020 11:45 pm Post subject:
AI-only version of SpecailPower?
i was trying to create an AI-only version of specialpower, so player and AI could have different settings and kinda like similar powers. as i thought to create a clone-spechialpower, one only needs to:
- create copy of special power with another name
- add SW.AllowAI=no to initial one and SW.AllowPlayer=no to AI-copy
- list this new power in [SuperWeaponTypes]
- add to SuperWeapon= of proper building
but apparently smt is missing, as doing so AI seems to get nothing and player looses the initial("player-only") power too.
what am i doing wrong, as i definitely saw it working in mods?. QUICK_EDIT
Also Known As: evanb90 Joined: 20 Feb 2005 Location: o kawaii koto
Posted: Wed Aug 12, 2020 11:57 pm Post subject:
It can help if you post the version of Ares you're using, as well as relevant INI code _________________ YR modder/artist, DOOM mapper, aka evanb90
Project Lead Developer, New-Star Strike (2014-)
Former Project Lead DeveloperStar Strike (2005-2012), Z-Mod (2006-2007), RA1.5 (2008-2013), The Cold War (2006-2007) QUICK_EDIT
Also Known As: evanb90 Joined: 20 Feb 2005 Location: o kawaii koto
Posted: Fri Aug 14, 2020 2:58 am Post subject:
I'm running a slightly older version of Ares, but this SW works fine for both the AI and the player in my testing.
Are you using SuperWeapon= to list both SWs? If so, that might be the issue.
SuperWeapon= only takes 1 SW. Use SuperWeapon2= for the 2nd, or Ares specific SuperWeapons= to list both. _________________ YR modder/artist, DOOM mapper, aka evanb90
Project Lead Developer, New-Star Strike (2014-)
Former Project Lead DeveloperStar Strike (2005-2012), Z-Mod (2006-2007), RA1.5 (2008-2013), The Cold War (2006-2007) QUICK_EDIT
Are you using SuperWeapon= to list both SWs? If so, that might be the issue.
SuperWeapon= only takes 1 SW. Use SuperWeapon2= for the 2nd, or Ares specific SuperWeapons= to list both.
damn, i didn't know there are 2 commands with difference in single "S" = checked other buildings in mod that have several SWs and you're right. thank you.!
now i need to solve in neighbour topic why AI doesn't build the building for that SWs, to check it for sure to work here. 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