View Single Post
Author Message
Desktop
AlliedModders Donor
Join Date: Sep 2009
Location: C:\Users\Default\
Old 05-14-2021 , 17:13   Create functional NPC? (Boss-like, player-like)
Reply With Quote #1

Hello, i've been searching information about NPCs here in alliedmods, but still haven't found anything useful to achieve what i really need to do.

The idea is the following one:
- Im trying to make a replica of players, that has a pattern to hide in places, attack other entities and simulates to be a player, but NOT A BOT.

My idea's heart is to create a gamemode that you can play being alone in the server, creating waves of attackers while you have to survive.

These attackers cannot be bots, because they consume an actual slot in the server, so.. they must be NPCs.

But.. that's a very complex task to achieve this, i've found some includes, even modules with API that can create NPCs very easily, but the physics are not even close to be fine..

Those are the issues i found with that:
1. When you set the npc to be offensive to players, they approach players but if the player is at a mountain, and the npc is in the floor, it will fly towards the player.
2. No animation controller.
3. No pathroute can be defined so they look like common enemies.

And some more, does anyone have any piece of code or idea that figures this out?

I would thank a lot (and obviously release the final code when achieved)!!

This is from @rogeraabbccdd: https://github.com/rogeraabbccdd/CSGO-Monster-API
__________________
Massive Infection:: Piu-Games

Last edited by Desktop; 05-14-2021 at 17:16.
Desktop is offline