Opened 18 years ago

Last modified 13 years ago

#1 closed enhancement

Player Properties — at Version 14

Reported by: Stuart Walpole Owned by: historic_bruno
Priority: Should Have Milestone: Alpha 5
Component: Core engine Keywords:
Cc: Patch:

Description (last modified by historic_bruno)

  • Ideally JS variables should be attachable to the Player object (via localPlayer?) to declare and set any properties affiliated with the current player. (eg player.resource.food; modder could alter it to add/remove any resources he wishes.)
  • Civilisation: Celt, Greek, etc ... Chosen from session config. (--> Currently there is a concept of civ, but it's not choosable in the GUI.)
  • Colour: Player colour, chosen from session config.
  • Team: In session config, players can choose to be on the same team (allied at start).
  • Various team settings, such as allowing teams to have "shared control" and being able to command each other's units.
  • Alliance: Diplomatic settings (who's an ally, who's an enemy).
  • array of players matching slot numbers, 1: enemy, 2: ally (Not choosable from GUI yet though.)
  • Phase: The starting "age" for the player (defaults to village). If otherwise, the player begins with the phase upgrade already researched.
  • Resource: Quantities of each of the resources gathered by the player.
    • Currently resources are tracked by the GUI; every player should have their own set of resources and the entity scripts and GUI should be updated to work with this.
  • Start Location: Position on the map where the player will begin.
    • Camera should also start centered on this location.

Change History (14)

comment:1 by Stuart Walpole, 18 years ago

Description: modified (diff)

comment:2 by Stuart Walpole, 18 years ago

Description: modified (diff)

comment:3 by Matei, 18 years ago

Owner: set to Matei

comment:4 by Matei, 18 years ago

Description: modified (diff)

comment:5 by Matei, 18 years ago

Description: modified (diff)

comment:6 by Erik Johansson, 15 years ago

Owner: Matei removed

comment:7 by historic_bruno, 14 years ago

Some of these are being addressed now.

Discussion

comment:8 by (none), 14 years ago

Milestone: Playability Demo

Milestone Playability Demo deleted

comment:9 by Andrew, 14 years ago

Milestone: Backlog
Owner: set to historic_bruno

comment:10 by Сергей, 14 years ago

Milestone: BacklogAlpha 4

comment:11 by historic_bruno, 13 years ago

Description: modified (diff)

comment:12 by historic_bruno, 13 years ago

Description: modified (diff)

comment:13 by historic_bruno, 13 years ago

Description: modified (diff)

comment:14 by historic_bruno, 13 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.