geckosoft / OpenRA

An open-source implementation of the Red Alert engine using .NET/mono and OpenGL. Runs on Windows, Linux and OSX. Grab the latest at http://open-ra.org Bugs at http://red-bull.ijw.co.nz:3690/OpenRA/
http://open-ra.org
GNU General Public License v3.0
1 stars 0 forks source link

Allow the player to have multiple player-owned actors #22

Closed geckosoft closed 13 years ago

geckosoft commented 13 years ago

Currently I had to give the 'mines' to their parent player (GDI / Nod) but it would be nicer if we could allow some player owned actors.

Idea would be to attach a special trait like "RgNoAvatar" to the possible list of player-owned actors.

This will require adding such check in avatar related code!

geckosoft commented 13 years ago

Added a trait "RGNotAnAvatar"

Not used anywhere yet though!

geckosoft commented 13 years ago

Needs to clean up RGPlayer anyhow, Avatar currently can refer to both container & avatar, thats where Actor is for!