Figure 5: Second test result (Photo/Picture credit: Original).
The ChatGPT3.5 had given the answer
successfully and faster than Ollama the. Response
was looks at you with a hint of mischief in her eyes*
Oh, I'm the one and only Hououin Kyoukai, but my
friends call me Diao Mu. *smirks*You can just call
me Houhou for short, though. What's your story?
This not only solves the problem of the large language
model depending on CPU, GPU and RAM, but also
reduces the internal storage of the program and
provide a better experience for the players.
4 CONCLUSIONS
This paper linking the large language model into the
non-player characters in games to achieve having
Intelligent dialogue with non-player characters and it
can also improve the Interactivity and player
experience of games. This paper successfully
completed the model deployment of the game, API
programming, programming in Unity, text display
and interaction design and optimization. During the
working process of this paper which had face a lot of
challenges including chose better large language
model, improved the efficiency of the model,
improved the efficiency of the model, and make sure
that naturalness and coherence of dialogue. This
paper not only solved all the problems by effective
solutions and optimization measures, but also ensures
the smooth experience for players when they are
talking to the non-player characters.
This paper not only had improved the immersion
and interactivity of the game successfully, but also
allows players to have an intelligent dialog with the
non-player characters. Therefore, during the working
process this paper had have accumulated many
valuable experience and technology and provided
some new ideas and methods for the development of
games in the future.
In the future, this system can be optimized and
expanded to achieve more application scenarios and
functions in the future. Overall, this paper has not
only achieved the technical goals and functions, but
also provides a successful mothed for the intelligent
dialogue system in games. This paper hopes to
provide some references and research direction for
the research in this field in the future.
REFERENCES
Aguas, L., Toasa, R., Urdaneta, M., Martinez, D., & Suárez,
L., 2024. Desarrollo de "machay": Un videojuego de
misiones espaciales en unity con metodología árcade.
[Development of'Machay': A Space Mission Video
Game in Unity with Arcade Methodology] Revista
Ibérica De Sistemas e Tecnologias De Informação,
564-577.
Meng, S. Q., 2015. Research on Intelligent behavior of
Non-Real Player (non-player characters) based on
Unity3D. Beijing Forestry University.1-66
Lin, Z., Zhang, Z., Sun, X., Zheng, H. T., 2024. Make non-
player characters More Realistic: Design and Practice
of a Hybrid Stealth Game non-player characters AI
Framework Based on OODA Theory. In: Stephanidis,
C., Antona, M., Ntoa, S., Salvendy, G. (eds) HCI
International 2024 Posters. HCII 2024. Commu-
nications in Computer and Information Science, vol
2117. Springer, Cham.
Mao, X. Y., 2016. Intelligent behaviour analysis of non-real
players (non-player characters) based on Unity3D.
Digital Technology and Application, (11):115
Chen, Q. j., 2024. AI transforming Game Industry.
Economic Observer, 19.
Degen, C., 2024. Managers racing to keep ahead of growing
threats: AI making detection more difficult, making it a
'cat and mouse game'. Pensions & Investments, 52(8), 13.
Wang, M., 2023. Based on the reinforcement learning
problem of game AI pathfinding research. Xi An
university of electronic science and technology, 1-79.
Min, G. H., 2020. Design and Implementation of AI system
for card games based on Supervised Learning.
Huazhong university of science and technology, 1-58.
Zhou, H. Y., Zhang, Y. C., 2023. On the New Form of
Posthuman Communication Opened by Soft Artificial
Life: An Analysis of the Media Relationship of non-
player characters in Intelligent Games in the Context of
ChatGPT. Media Criticism, 170-188.
Liu, R. Y., 2023. Case design and practice of casual game
based on Unity3D. Tomorrow’s fashion, 90-92.