Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Teleports independently
Author Message
Russian
Journeyman
*

Posts: 75
Likes Given: 4
Likes Received: 2 in 2 posts
Joined: Jul 2012
Reputation: 0



Post: #1
Teleports independently
Hello.
This NPC teleports/walk independently through walls if to give the order GO for a wall

Code:
[CHARDEF C_MERCENARY_M]
NAME=Наемник маг
ID=C_MAN
DAM=5
ARMOR=10
MOVERATE=10
FOODTYPE=20 T_CROPS, 20 T_FRUIT, 20 T_MEAT_RAW

ON=@CREATE
F_NPC_EFFECT
COLOR=COLORS_SKIN
NPC=BRAIN_HUMAN
STR={200 225}
DEX=25
INT=375
KARMA=5000
FAME=1000
MAGERY=100.0
WRESTLING=10.0
PARRYING=50.0
TACTICS=50.0

ITEMNEWBIE=RANDOM_MALE_HAIR
COLOR=COLORS_HAIR
ITEM=I_EVENT_SHIRT
ITEM=I_EVENT_PANTS
ITEM=I_EVENT_BOOTS

What is it necessary to change, NPC stopped in a wall and didn't teleport independently for it.

This NPC works correctly:
Code:
[CHARDEF 0D9]
DEFNAME=c_dog
NAME=Щенок
SOUND=snd_ANIMALS_DOG1
ICON=i_pet_DOG
CAN=MT_WALK|MT_RUN
ANIM=017ff
DAM=5
ARMOR=3
RESOURCES=3 I_RIBS_RAW
FOODTYPE=T_MEAT_RAW

ON=@CREATE
F_NPC_EFFECT
NPC=brain_animal
FAME=10
KARMA=100
STR={27 37}
DEX={28 43}
INT=0
PARRYING={28.0 53.0}
MAGICRESISTANCE={22.0 47.0}
TACTICS={19.0 31.0}
WRESTLING={19.0 31.0}
TAMING=3.0
07-30-2012 06:44 PM
Find all posts by this user Like Post Quote this message in a reply
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #2
RE: Teleports independently
I've seen this with GO. NPCs that can't reach the target teleport.

I don't know a solution except to use HOME instead and keep the original home in a tag. Restore once they're done moving.

Current Projects: Necromancy SCP overhaul. Custom Faction AI/System. Imbuing.
07-31-2012 05:55 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)