J.A.C.K.

J.A.C.K.

View Stats:
My model suddenly is unable to walk?
Hey guys,

I've been mapping for Half-Life for over 20 years now, and just recently I started a new project. I encountered a strange problem:

My model (barney in this case) is unable to walk or run to a scripted/aiscripted_sequence! When I flag the "Move to Position" as "Instantaneous", it works, but he does not walk or run there.

No, he is not stuck in the ground.
No, I did not forgot to put a trigger in the level (then "Instantaneous" wouldn't work either).
No, I did not do the naming wrong:

trigger_once:
Target: "m1"

monster_barney:
name: "bob"

aiscripted/scripted_sequence:
name: "m1"
Targeted_monster: "bob"
Move to Position: "Walk"/"Run" (both don't work)

I just want to walk him from A to B, no animation, no nothing. This is such an easy and noobie beginner thing, and I've done this for decades now, and everytime it worked. Has anything changed in the last two years?

Any ideas?
Originally posted by tetoforever:
In your map, the move type is set to none. If I change it to walk or run, bob co-operates with me. If you turn SmartEdit off, the value of "m_fMoveTo" should be "1" (for walking).

If this works for you, but it still doesn't work in your actual map (with either walk or run), could you please upload that map (or just that section from it)?
< >
Showing 1-6 of 6 comments
Do you have AI nodes?
No, I don't. Just tried, but didn't work either. I can't remember you would need them for movement... as far as I am concerned, nodes are used if your level has a lot of corners where you have to "steer" them on the right track. But not for a basic movement for like 2 meters. But thanks for committing though.
If the movement is simple enough or can be triangulated, then nodes won't be used.

In the engine, try the command "developer 2" to log additional AI messages, then restart the map and trigger the sequence. Does it say anything useful in there?

I can't immediately think of anything else, but if you could upload your map I could take a look at it. I followed what you did and it works perfectly for me, so here's my version. Does this work on your end?
https://pastebin.com/GPTtmXg8

(click download and save it as a .map file if you get a chance to, or rename it to be .map instead of .txt, when you go to File > Open... in J.A.C.K. set the file type to "All supported formats" or "Quake MAP" so it shows up)
It's like it doesn't like me. Your map works flawlessly. I switched on "developer 2", and your triggers give the exact same results as mine. I don't get it. What is wrong here??

It's late, so I hastly thrown together this map. If it doesn't work on your end, we may have a point going here.

https://drive.google.com/file/d/1iCMDKGveetYf3r7pPmaMtd-ZHycw4U9o/view?usp=sharing
The author of this thread has indicated that this post answers the original topic.
In your map, the move type is set to none. If I change it to walk or run, bob co-operates with me. If you turn SmartEdit off, the value of "m_fMoveTo" should be "1" (for walking).

If this works for you, but it still doesn't work in your actual map (with either walk or run), could you please upload that map (or just that section from it)?
Suddenly it works. Even on the other map where it did not (and where I did not forget to switch on the "Walk" and "Run" flag). Strange things happen here.

Thanks for the help, you were great!
< >
Showing 1-6 of 6 comments
Per page: 1530 50