Scripts / Zombies over distance

Author
Message
TheMuffinMan
8
Years of Service
User Offline
Joined: 15th Jul 2015
Location:
Posted: 15th Jul 2015 15:07
I have found that over a medium/large distance, zombies will not detect you. Seeing as they also dont follow waypoints, what would I have to edit/add to make a small hoard walk out a forest and go to a base(where the player will be), and could you send screenshots/detail how, as im a lua newb :3
PM
Pirate Myke
Forum Support
13
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 15th Jul 2015 15:35
open the script in note pad, find the line that say 600, and change it to 3000. Save the script assign it to the AI, save and reload the level.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

TheMuffinMan
8
Years of Service
User Offline
Joined: 15th Jul 2015
Location:
Posted: 15th Jul 2015 15:36
I tried that all the way up to 6000, and still they dont respond. I've even removed all the terrain obsticles and the like, so they have a clear view of me.
PM
Pirate Myke
Forum Support
13
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 15th Jul 2015 15:41 Edited at: 15th Jul 2015 15:45
once you have changed the script then in the properties panel of the AI, change the View range to 3000 or more, and the view angle to 120, then try again.

If they are further then 3000 units away from you, they will be inactive.
But within that they should notice you and come at you. If all else fails and you need a few further away, set the always active field to yes. Dont get carried away with this or you will bug the engine down.

find this section in the script:


Change it to this:
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

TheMuffinMan
8
Years of Service
User Offline
Joined: 15th Jul 2015
Location:
Posted: 15th Jul 2015 15:52
Okay, many thanks. This is the ai_fastzombie, right? Or wal... Dont want to put it in the wrong one xD
PM
TheMuffinMan
8
Years of Service
User Offline
Joined: 15th Jul 2015
Location:
Posted: 15th Jul 2015 16:02
Chucuked it in, launched it all up... Still not working. Had to run up as close as normal to them as usual to get a response...
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 15th Jul 2015 17:56 Edited at: 15th Jul 2015 18:48
edit; here's a start
https://forum.game-guru.com/thread/207801?page=9#msg2524340
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11
Pirate Myke
Forum Support
13
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 16th Jul 2015 05:19
Thanks smallg.
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz, 2400 Mhz, 4 Core(s), 4 Logical Processor(s), 8gb RAM, Nvidia gtx660, Windows 7 Pro 64bit

Login to post a reply

Server time is: 2024-05-08 18:33:54
Your offset time is: 2024-05-08 18:33:54