Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
C
civilization-iii
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • true-history-committee
  • civilization-iii
  • Wiki
    • 기획서
  • ai 기획서

ai 기획서

Last edited by 17신채호 Sep 01, 2018
Page history
This is an old version of this page. You can view the most recent version or browse the history.

AI 규칙 (ver 0.1)

Last Edited: 2018-02-06 0342

모델 조건

  • https://git.kucatdog.net/true-history-committee/civiii-model-proto/commit/2e1e46ca40184ae424c8d39937daf1f40b2d7861
  • 퀘스트 없음, 궁극기 없음
  • 오직 생산, 배치, 전투, 정복승리만 있음

Basic Algorithm:

  1. Gather all possible tasks by Task do-ers
  2. Score all tasks by table
  3. Sort all tasks by score
  4. Do highest scoring task a) If multiple tasks have same score, choose randomly
  5. Back to 1) and repeat until no more positive-scoring tasks remain
  6. Skip Turn for any units with remaining AP but no positive-scoring task
  7. End Turn

Possible Task Types

  • Attack Enemy Unit/City
  • Move Fighting Unit to Spot
  • Move Pioneer to Spot
  • Build Fighting Unit
  • Build Pioneer
  • Deploy Unit to a City
  • Create City

Priority Score Table

Task Type Context Score
Attack Enemy Unit/City Unit lives after attack 100
Unit dies after attack -50
Enemy Unit lives after attack 25
Enemy Unit dies after attack 50
Enemy City lives after attack 50
Enemy City dies after attack 75
Move Fighting Unit to Spot Unit dies if attacked after moving to spot -150
Unit can attack enemy after moving to spot 50
Unit can be attacked after moving to spot -50
Unit has low HP(<1/3) and is further from enemy after moving to spot 50
Unit has non-low HP and is closer to enemy after moving to spot 50
Unit is closer to City after moving to spot 25
Move Pioneer to Spot Unit is further from enemy after moving to spot 20
Unit is closer to enemy after moving to spot 10
Unit is further from city after moving to spot 10
Unit is closer to enemy after moving to spot 20
Build Fighting Unit 1.5 × (Enemy Fighting Unit Number + Enemy City Number) < Fighting Unit Number -50
Fighting Unit Number < 1.5 × (Enemy Fighting Unit Number + Enemy City Number) 50
Labor Capacity is full -100
Build Pioneer City Number < 1.5 × Enemy City Number 50
1.5 × Enemy City Number < City Number -50
Labor Capacity is full -100
Deploy Unit to a City Unit is Fighting Unit 128 - Distance to enemy from City
Unit is Pioneer Distance to enemy from City + 20
Create City City Number + Pioneer Number < 1.5 × Enemy City Number 50
1.5 × Enemy City Number < City Number + Pioneer Number 30

Task do-ers

  • Fighting Unit - Attack, Move
  • Pioneer - Move, Create City
  • Build Que - Build
  • Deploy Que - Deploy
Clone repository
  • Home
  • 기획서
  • 기획서
    • ai 기획서
    • 궁극기 조건
    • 리소스 기획
    • 명세서
    • 세계 지도
    • 시스템 기획
    • 유닛&건물 목록
    • 잡국
    • 퀘스트 목록
  • 연구실적
  • 재야로딩
  • 제안서
  • 조준엽's-lectures-on-unity
    • 강의자료
More Pages

New Wiki Page

Tip: You can specify the full path for the new file. We will automatically create any missing directories.