Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spectator Improvements #5083

Merged
merged 5 commits into from May 5, 2017
Merged

Spectator Improvements #5083

merged 5 commits into from May 5, 2017

Conversation

kymckay
Copy link
Member

@kymckay kymckay commented Apr 15, 2017

When merged this pull request will:

This can be merged now, but I'll leave it open for a little bit in case anyone wants to review.
Forgot the new system requires a review from someone else 馃憤 It's been a while 馃槅

Finally found out how to do this. Having search enabled on the unit tree might seem useful, but it doesn't interact well with keyboard shortcuts used for other purposes like camera control as it causes the tree to jump around unexpectedly.
Making good use of the new `select` CODE syntax.
- A `displayName` shown in the 3DEN multiplayer attributes display
- A `respawnTypes` array to define which respawn types the template is compatible with (currently only includes `2,3` - need to investigate compatibility with other types further).
The default values of the arrays manipulated by these functions overwrite
any changes applied before settings have finished initalising. This won't
be an issue after #4456 is merged in future.
@kymckay kymckay added kind/bug-fix Release Notes: **FIXED:** kind/enhancement Release Notes: **IMPROVED:** labels Apr 15, 2017
@kymckay kymckay added this to the 3.10.0 milestone Apr 15, 2017
@kymckay kymckay self-assigned this Apr 15, 2017
onPlayerKilled = QFUNC(respawnTemplate);
onPlayerRespawn = QFUNC(respawnTemplate);
respawnTypes[] = {2,3};
};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe disable conflicting templates in the eden ui?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wasn't aware there is a setting for that, will look into it

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There isn't afaik, but that has never stopped me. I just don't know which modes if any.

@kymckay kymckay merged commit 6394f2b into master May 5, 2017
@kymckay kymckay deleted the spectatorUpdates branch May 5, 2017 22:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug-fix Release Notes: **FIXED:** kind/enhancement Release Notes: **IMPROVED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants