Product Chat / Zombie and waypoint

Author
Message
Bisella
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 30th Apr 2014
Location: Verona - Italy
Posted: 16th Jul 2015 13:21
Only now () I realized that the zombies do not follow the waypoint ..... I do not believe .....


I looked at the old post , where it was recommended to change the script.lua concerning the zombies .

I tried to edit the file lua
if PlayerDist < 6000 and ai_soldier_state[e] ~= "idle" then (old value is 1000)

Nothing has changed ..... zombies are like statues

is possible mix and create a script that works for all the characters ?

how can I do to fix it?

forgive my english
The software I use? ... Autocad, sketchup, Spazio3D, pconplanner, Kerkythea, wings3d, paint.net, torque3d, AxixGameFactory, PD particles.......maybe blender
PM
synchromesh
Forum Support
11
Years of Service
Recently Online
Joined: 24th Jan 2014
Location:
Posted: 16th Jul 2015 13:30
Really .... Mine are seem relentless now
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
HarryWever
3D Media Maker
15
Years of Service
User Offline
Joined: 14th Jan 2010
Location: below Sea level
Posted: 16th Jul 2015 13:33
Smallg made a script..

https://forum.game-guru.com/thread/207801?page=9

harry
Harry
PM
Jerry Tremble
GameGuru TGC Backer
12
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 16th Jul 2015 13:46
Quote: "Smallg made a script.."



Of course he did! LOL, Thank you Smallg!
MAME Cab PC: i7 4770@3.4Ghz (passmark 9945), 12GB RAM, Win 8.1/64, GeForce GTX645 (passmark 1898); Shiny new laptop: i7 4800MQ@2.7Ghz (passmark 8586), 16GB RAM, Win 8.1/64, GeForce GTX870M (passmark 3598); Old laptop: i5@2.3Ghz, 8GB RAM, Win 7/64, Intel 3000 graphics
PM
Bisella
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 30th Apr 2014
Location: Verona - Italy
Posted: 16th Jul 2015 14:12
Very interesting scripts created by smallg .... although I think there is not what I mean ..... anyway thanks . This is the best community ever
The software I use? ... Autocad, sketchup, Spazio3D, pconplanner, Kerkythea, wings3d, paint.net, torque3d, AxixGameFactory, PD particles.......maybe blender
PM
Jerry Tremble
GameGuru TGC Backer
12
Years of Service
User Offline
Joined: 5th Nov 2012
Location: Sonoran Desert
Posted: 16th Jul 2015 14:24 Edited at: 17th Jul 2015 01:12
Bisella, I just tried both of those scripts (ai_zombie_waypoint_walk.lua and ai_zombie_waypoint_run.lua), and they follow waypoints now. In fact, they work amazingly well! If your zombies are just standing still, have you tried verifying your game cache with Steam? I just read somewhere that the zombies apparently don't download very well. They are zombies, after all.
MAME Cab PC: i7 4770@3.4Ghz (passmark 9945), 12GB RAM, Win 8.1/64, GeForce GTX645 (passmark 1898); Shiny new laptop: i7 4800MQ@2.7Ghz (passmark 8586), 16GB RAM, Win 8.1/64, GeForce GTX870M (passmark 3598); Old laptop: i5@2.3Ghz, 8GB RAM, Win 7/64, Intel 3000 graphics
PM
synchromesh
Forum Support
11
Years of Service
Recently Online
Joined: 24th Jan 2014
Location:
Posted: 16th Jul 2015 15:33
Quote: "They are zombies, after all."


This is true ...Lee has told them time and time again to attack ..... they just don't listen or being brainless they forget ...
The only person ever to get all his work done by "Friday" was Robinson Crusoe..
PM
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 16th Jul 2015 18:30 Edited at: 16th Jul 2015 18:31
Quote: "In fact, they work amazingly well!"

thank you and good to know

@Bisella if you have a requirement the scripts aren't covering please post it and i'm sure someone can help
life\'s one big game

windows vista ultimate

i5 @3.3ghz, 4gb ram, geforce gtx460, directx 11
Bisella
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 30th Apr 2014
Location: Verona - Italy
Posted: 17th Jul 2015 15:47
Quote: "Bisella, I just tried both of those scripts (ai_zombie_waypoint_walk.lua and ai_zombie_waypoint_run.lua), and they follow waypoints now. In fact, they work amazingly well! "


omg.....forgive me guys....too many hours of work have incinerated my brain....now I am the zombie

where i can find this script? --> ai_zombie_waypoint_walk.lua and ai_zombie_waypoint_run.lua

thanks
The software I use? ... Autocad, sketchup, Spazio3D, pconplanner, Kerkythea, wings3d, paint.net, torque3d, AxixGameFactory, PD particles.......maybe blender
PM
Inertia
9
Years of Service
User Offline
Joined: 12th Jul 2015
Location: SoCal, USA
Posted: 17th Jul 2015 15:56
@Bisella, here's a link in case you're still looking: https://forum.game-guru.com/thread/207801?page=9#msg2524340
Win7 x64 | i5 @3.3GHz | 4GB RAM | GTX580 1.5 GB
PM
Bisella
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 30th Apr 2014
Location: Verona - Italy
Posted: 17th Jul 2015 16:15
thanks Inertia.....you save me.....and my brain
The software I use? ... Autocad, sketchup, Spazio3D, pconplanner, Kerkythea, wings3d, paint.net, torque3d, AxixGameFactory, PD particles.......maybe blender
PM
Bisella
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 30th Apr 2014
Location: Verona - Italy
Posted: 18th Jul 2015 11:24
Sorry guys .... I'm still in difficulty
I tried the script " ai_zombie_waypoint_walk.lua and ai_zombie_waypoint_run.lua " and work fine . Now I have another problem ...... zombies move and are very far away from me (see pitcure) ..... but I hear their roar as if they were at 1cm away . Is there any line in the script that can make them roar proportional to the distance ?

forgive my english
The software I use? ... Autocad, sketchup, Spazio3D, pconplanner, Kerkythea, wings3d, paint.net, torque3d, AxixGameFactory, PD particles.......maybe blender

Attachments

Login to view attachments
PM
Inertia
9
Years of Service
User Offline
Joined: 12th Jul 2015
Location: SoCal, USA
Posted: 18th Jul 2015 16:41 Edited at: 18th Jul 2015 16:44
Quote: "s there any line in the script that can make them roar proportional to the distance ?"


What if the zombie(s) only roar when the player is within a certain distance? You could do that easily. Just search for the only occurrence of "PlaySound(e,0)" and put it inside a conditional statement as follows...



smallg will probably have a better way but this works in the meantime.
Win7 x64 | i5 @3.3GHz | 4GB RAM | GTX580 1.5 GB
PM
Bisella
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 30th Apr 2014
Location: Verona - Italy
Posted: 18th Jul 2015 18:30
thanks a lot Inertia
The software I use? ... Autocad, sketchup, Spazio3D, pconplanner, Kerkythea, wings3d, paint.net, torque3d, AxixGameFactory, PD particles.......maybe blender
PM
Bisella
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 30th Apr 2014
Location: Verona - Italy
Posted: 19th Jul 2015 13:37
I may have done something wrong

The software I use? ... Autocad, sketchup, Spazio3D, pconplanner, Kerkythea, wings3d, paint.net, torque3d, AxixGameFactory, PD particles.......maybe blender

Attachments

Login to view attachments
PM
Pirate Myke
Forum Support
14
Years of Service
User Offline
Joined: 31st May 2010
Location: El Dorado, California
Posted: 19th Jul 2015 14:02
It is saying there is not enough end statements. One is missing around the function around line 33.

Best I can say without testing it.
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

Bisella
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 30th Apr 2014
Location: Verona - Italy
Posted: 19th Jul 2015 14:11
ok....you can copy code snippet and try it
The software I use? ... Autocad, sketchup, Spazio3D, pconplanner, Kerkythea, wings3d, paint.net, torque3d, AxixGameFactory, PD particles.......maybe blender
PM
Inertia
9
Years of Service
User Offline
Joined: 12th Jul 2015
Location: SoCal, USA
Posted: 19th Jul 2015 15:23
Hi Bisella, as Myke said it just needs another 'end' statement. Search for "PlaySound(e,0)" and put a blank line after it, then add 'end' on that new line.

Cheers,
Rick
Win7 x64 | i5 @3.3GHz | 4GB RAM | GTX580 1.5 GB
PM
Bisella
GameGuru TGC Backer
10
Years of Service
User Offline
Joined: 30th Apr 2014
Location: Verona - Italy
Posted: 19th Jul 2015 17:21
ok thanks
I'll try
The software I use? ... Autocad, sketchup, Spazio3D, pconplanner, Kerkythea, wings3d, paint.net, torque3d, AxixGameFactory, PD particles.......maybe blender
PM

Login to post a reply

Server time is: 2025-04-21 22:57:54
Your offset time is: 2025-04-21 22:57:54