Jump to content

Giving a goal shared by the 2 teams a role just for 1 team


Recommended Posts

Good afternoon,

 

A little question regarding a goal shared by the 2 teams, but for which I'd like to give a role just for one team

 

For instance, a neutral CP, for which on Allied side any spawn is equidistant, but that's not the case for Axis

 

The idea was to give Axis a role so there's at least a bot or two having a different, closer spawn, and going for it

 

But, once set, the Allies basically just ignore it

 

Is it required to have a role on both teams in order for it to work like this?

 

At this point of the map, the objective is straight, so there were no roles from that point, if this is a piece of information that can interfere

 

Extra question:

Can I modify an existing role to 'reuse' it, like Map.Roles.ALLIES.ATTACKER3.spawnpt = 0;? IIRC I've tested or previously asked, but the old forums are gone ^^'

Or is it, like, statically loaded on map load, and then it's over?

 

Thank you

Link to comment
Share on other sites

  • Moderators

You can create new custom BUILD and PLANT goals for Axis and then restrict neutral goals to Allies. But it is too much complicated. I think it would be better to set a goal range instead of role. Range is useful so that bots don't go to the goal if they are too far away from it.

Bots get roles only on map load or when they change team (if balancing is enabled) or when some bot disconnects. You can't change roles dynamically.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...