Playmobill's mapping corner - share your work and exchange tips & tricks for all things "Worldbuilder"
- Posts: 1
- Joined: 07 Feb 2019, 21:34
I've working on a little project - an alternative mode for BK. I'm pretty experienced on SCAR, but having some issues unlocking commander tree techs.
Basically I'm using
Code: Select all
Cmd_InstantUpgrade(playerId, UPG.COMMANDER_TREE.ALLIES.AIRBORNE_01, ITEM_UNLOCKED)
This is correctly adding the icon for this power to the commander bar, but it is locked because the player does not have a Weapons Support centre. The player in question cannot build a base, so I need an alternative to unlock this requirement.
Couldn't find anything in the SCAR CONSTS for BK mod, is there an available tech to call and unlock this via code? There used to be something similar in Original COH. I'll need this for all the airborne/commando doctrines, so a list would be great.
Can anyone help?
- Global Moderator
- Posts: 63
- Joined: 27 Sep 2016, 14:24
Im sorry Sando, my knowledge in scar is pretty much limited to spawning units and making things undestructible
Also you might be asking in the wrong section tho
" No bastard ever won a war by dying for his country. He won it by making some other poor dumb bastard die for his country. "
George S. Patton
- Team Member
- Posts: 2025
- Joined: 29 Mar 2015, 05:22
it sounds like your issue isn't unlocking the command tree for doctrines but changing the requirements for all units to not need basebuildings (since you said that a player won't build a base)
there are two ways i think you can solve this, i'm not sure if one of them works:
i think the best way for you to solve this is change all the requirements of units you want in the attrib files (some macros let you do this automatically but i haven't tried doing it myself yet)
the other way is to look through the attrib files and find the requirements for the units you want and add those to your list of things to upgrade at the start of a game.
let me know what you're working on because i'd like to learn more about scar. i had a few failed attempts i gave up on trying to make new game modes. maybe we can work together to add more flavor to BK.