Feature Request: Make ship AI a separate equippable item for NPCs
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 30/100
Direzione di ricerca
Inizia con i percorsi di esempio core/assets/items/ai/imperialAI/imperialAI.json e systemsConfig.json, poi traccia come vengono configurati l’equipaggiamento degli NPC e l’AI delle navi. Il lavoro è completo quando un oggetto AI può definire parametri comportamentali, può essere equipaggiato su un NPC tramite la configurazione del sistema e non è disponibile per essere raccolto o acquistato dal giocatore.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Why?
Currently, the game's AI is fixed functionality that acts the same regardless of the ship. While in many cases this is fine, allowing it to be a separate equippable item (e.g. core\assets\items\ai\imperialAI\imperialAI.json) with parameters that define it's accuracy, firing frequency, preferred distance from player, etc. can open possibilities for adjustable difficulty levels, as well as unique ship behavior characteristics from different ships, especially within the context of factions having ships whose AI behaves distinctly from other factions.
How?
Make moduleName\assets\items\ai\nameAI\nameAI.json a valid example, whose config file may look something like this, but may include more parameters for more detailed behavior definition:
{ "fixedGunAccuracy": 0.5, "firingFrequency": 0.7, "preferredDistanceFromPlayer": 100 }
Where:
fixedGunAccuracyrefers to a value between 0 and 1 that determines the percentage of it's aiming accuracy with fixed gunsfiringFrequencyrefers to a value between 0 and 1 that determines the percentage of how willingly it will fire, 1 being always, whenever it is aimed at the playerpreferredDistanceFromPlayerrefers to how much of a unit measurement of distance in which it will try to achieve before firing at the player
Equipping on NPC
It should not be an item the player can pick up or buy, but can be equipped on an NPC within a config file such as systemsConfig.json. Example:
{ "hull": "core:imperialBig", "items": "core:fixedGun core:fixedShotGun core:mediumArmor+core:heavyArmor core:shield+core:bigShield core:imperialAI", "density": 3 }
- Lingua principale
- Java
- Stelle
- 351
- Fork
- 125
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di MovingBlocks/DestinationSol
-
Bundled desktop JRE is Java 11 while engine compiles to Java 17; afterEclipseImport never runs Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
MovingBlocks/DestinationSol#740 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
MovingBlocks/DestinationSol#739 ·
-
Destiatio Sol Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
MovingBlocks/DestinationSol#735 · 1 commento ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
MovingBlocks/DestinationSol#733 · 1 commento ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
MovingBlocks/DestinationSol#732 ·
Tutte le issue di MovingBlocks/DestinationSol
Issue simili
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
apache/cloudstack#14222 ·
-
[BUG]茶杯方块在取茶时会引发崩溃 Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Cannot differ own consent and managed consents in My Consents view and detailed consent view. Aperta1.0.0-alpha2 Type/Improvement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
wso2/dpdp-accelerator#272 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
infinispan/infinispan#18150 ·
-
area/frontend
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100