Adding new Recruits

Krishjan

First time out of the vault
Hi, I know this is an old question but is there any tutorial on making new recruits? I kinda like to add new Character in the recruits can you help me :)
 
Super easy! (I think... never tried it yet, but I'm certain it's the way to do it!) And sorry if my example is soo dumb.

A
_____________________________________________
1. Go in campaign.txt in core/campaigns
2. Go under the line "recruitsPool = {"
3. Add some recruits, like this : "{mission01;add;entities/recruits/hm11.ent},"

("mission01" is any word that you will use in a TRIGGER to CALL one or more recruit(s) in the recruits pool. You use the trigger only ONCE to add this or these recruit(s) to the pool. As you can see, it is written "add" in the line, which means the recruit will be added to the list when you will use the proper script. Let's say that instead of "mission01" you choose "Family" with 5 family members, that means :

{Family;add;entities/recruits/father.ent},
{Family;add;entities/recruits/mother.ent},
{Family;add;entities/recruits/child1.ent},
{Family;add;entities/recruits/child2.ent},
{Family;add;entities/recruits/child3.ent},

That will add, using only one script, all 5 family members!


B (you do that each time you update campaign.txt. Sorry if it's a lot, but you must do it!!!)
_____________________________________________
1. Open Campaign Editor
2. Open bos.cam
3. Under Tools, choose "Import Recruits"
4. Select campaign.txt file


C
_____________________________________________
Finally, in the map editor, use the trigger :

Condition : Always (DON'T TICK Preserve!)
Actions : Modify recruits tagged Family in the RecruitPool list

In the triggers, Modify means "add" for the editor, because you wrote "add" in your campaign.txt lines.

That's it! Tell me if it works! If not, I'll try it myself and come back to you with the solution.
 
Back
Top