View Single Post
tpr
Junior Member
Join Date: Aug 2014
Location: where my heart is
Old 05-17-2021 , 18:31   Re: Create functional NPC? (Boss-like, player-like)
Reply With Quote #2

Quote:
Originally Posted by Desktop View Post
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

Nice Idea.

I had this idea too .

I will give it a try for CsS.


For 1 : Maybe you can force NPCs to attack the players that are near to them and not too higher !?
for example not higher than 1 meter ?
__________________
Mireda

Last edited by tpr; 05-17-2021 at 18:35.
tpr is offline