Quantcast
Channel: Questions in topic: "npcs"
Browsing latest articles
Browse All 50 View Live
↧

Open world Waypoints NPC and Cars how?

I would like to know the best way of dealing with making NPC random walk on the side walk and cars travel down the streets. Do I actually have to add way points all across my city or is there an easier...

View Article


talking with a npc

I want to make NPCs that will "talk" to the player character and allow the player to "talk" back by clicking a response from the list below like in WoW, I think this is GUI based but I don’t know and...

View Article


Server + Client NPC Syncing issue

So currently I have an MMORPG in the works. I have it set up so the Game loads a TextAsset called NPCList.txt. In the npc list it loads up the NPC ID, the position, rotation, the walkable area, and the...

View Article

animation quesion

Hello, how do i go about animating people, i need to be able to animate walking npcs, I am familiar with animating objects in unity with the animator but unsure how to animate walking animations, I...

View Article

Trying to destoy an object can a transform be hardcoded?

`var target : Transform; var moveSpeed = 3; var rotationSpeed = 3; var myTransform : Transform; function Awake() { myTransform = transform; } function Start() { target =...

View Article


How to move a travelling npc accross scenes in real time

I'm working on a 3D top down rts/rpg project. To save memory, I'm going to divide the world into numerous scenes (like fallout 2, baldur's gate etc). The problem I face with this is that I want active...

View Article

Which would be the better way to make a game with different levels and...

Hi all! I'm a total noob and I suck at coding, so I have a general doubt regarding the main structure of my game. In my 2D game, I have the first level where you only have a main character and 3 other...

View Article

How to make player and npc interaction?

Hello, I have an isometric game (3D mode). It has 3D world and 2d characters (2d sprites). Player is controlled by keyboard and NPC are NavMeshAgents and they walking by some generated path. I need to...

View Article


NPC Navmesh problem

Hey, So im making a Sci-fi game with robots etc... (I am using RFPS for the Npc's) i baked the navmesh but when i press play the NPC just isnt there. its disappearing. And when i disable the nav mesh...

View Article


dialog on second object is partial. Why?

![alt text][1] Code: int diagIndex = 0; int sizeofDialouge = 0; npcControl npcProp = interObj.GetComponent(); // this retrieves a script from the object nameTxt.text = npcProp.namez; // this is the...

View Article

How to make NPC Routine Movements?

So I am making a topdown 2d game and I want to make NPCs walk around and do some things routinely (like in Skyrim or Stardew Valley) but of course, if we talk to them, they stop. In my game, you can...

View Article

Hi, I am new to unity and need help going about moving enemies NPC and...

Hi, So I only recently started using Unity. I will have to create a game for one of my assignments in college. im currently designing the game and it is coming on nicely but im having real trouble...

View Article

Trying to make a a chase scene

So for my 3d game, I am trying to make it so that when the player encounters the enemy, it triggers a pursuit of the enemy to a specific location. I know how to make an enemy pursue the player, but how...

View Article


NPCs to look in the direction the target is

Hey guys, We're working on a beat em up style game. The NPCs always face th3e direction to the player character, but so far as it stands, they can only look towards the absolute left or right position,...

View Article

Gmod likely spawnmenu on unity.

Ok So i'm making a sandbox game and the problem im having is the Spawnmenu. I want to have like: Spawning Objects,Spawning NPCS/AI And abilty to change player speed. I have tryed making my own But it...

View Article


How to show dialogue when triggered by collision with npc collide box?

Hello guys, im a newbie that have started making 2d game with unity, in which i confused on how i must do to make a dialogue show when i collide with the npc.. at first i thought i will first hide the...

View Article

How to make NPCs check the time?

Hi, I am trying to create a 2d game with a town in which some NPCs have a schedule. Just like Skyrim, the town is a scene and interiors are separate scenes, like tavern is one scene etc. I tried to...

View Article


npc dialogue

i want to have an npc that talks to the player but he needs to give a different dialogue depending on where you are in the story/game. for instance if you first talk to him he tells you to find an...

View Article

How do I keep methods being called until the current one has finished running

Im using a unity event for basic NPC behaviours and am having problems with event flow. It needs to wait until the first method has been run before resuming and running the next one. Is their anyway to...

View Article

how to animate multiple NPC's, each one with different animation?

I created a zombie NPC and imported the animation, the animation is working fine when I have one zombie on the field, but when multiple zombies are spawned the animation gets mixed and when I shoot...

View Article

Character dialogue speaking options not working

I am new to unity so bear with me. When I go to talk with an NPC, the NPC's dialogue will come up, but there will be no speaking options for the player and the player can still move around. I know the...

View Article


Rotate object in direction of movement

Hi all, I know similar questions have been asked but I am still struggling. I have an NPC that randomly moves in the X and Z direction, and I want it to turn to the direction it is moving so as so be...

View Article


Ai Follow Player which moves over a sphere

Hello, I'm trying to implement an Ai character that follows the player around the surface of the sphere. I've successfully implemented player movement around the sphere, but I've been banging my head...

View Article

How to make a object move to a certain point while playing animations ?,How...

hey i am making a 2d dialogue based game like nitw and i want my player to move to a point whenever a dialogue starts by itself while playing his walk animation like mae(a character in nitw) moves to...

View Article

NavMesh Agent Navigating Instantiated Environment?

I am working on a game where the player builds stuff and recruits NPCs to help him, but the NPCs cannot go up steps and other just a tiny bit leveled places, it cannot pathfind inside buildings built...

View Article


[Unity Multiplayer Networking] About NPCs/AIs logic (movement,...

Unity is having a Networking solution (Unity MLAPI).. so I wanted to check it out, but I'm still new to networking. My question is: - If I want to have an AI or a NPC in my multiplayer game which it...

View Article

Want to make npc cycle through text ,I want to be able to cycle through...

public class Talk : MonoBehaviour { public GameObject interact; public GameObject talk; bool triggerStay = false; void Start() { interact.SetActive(false); talk.SetActive(false); } private void...

View Article

How do you make a grapple attack like in Saint's Row 4's Saints of Rage...

Will anyone be able to provide a **detailed explanation** on how to write a script that allows the **playable character** to do a grapple attack so the playable character and the victim of the attack...

View Article
Browsing latest articles
Browse All 50 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>