Scripts / [SOLVED] Can use usingRealPhysics for AI ?

Author
Message
simonS
User Offline
Joined: 9th Aug 2023
Location:
Posted: 5th Sep 2023 14:22
Gave the AI a projectile weapon usingRealPhysics, but the bullets never reached player, Is there any way to fix this?

thanks,

https://www.youtube.com/watch?v=gJ4Ph2FmWBM

The author of this post has marked a post as an answer.

Go to answer
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 5th Sep 2023 16:56
hard to tell without more info, make sure the firespot is clear and rotated correctly.
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
simonS
User Offline
Joined: 9th Aug 2023
Location:
Posted: 6th Sep 2023 12:45
Interestingly, the bullets move towards the direction of the camera. When the player looks backward, their bullets will reach this way.

"accuracy" and "avoidPlayerPenetration" were not related.
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 6th Sep 2023 14:50
"characters/rocket man" still works fine so use that as a template to guide yours
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
simonS
User Offline
Joined: 9th Aug 2023
Location:
Posted: 7th Sep 2023 10:10
Thanks, this finally convinced me that dynamic weapons cannot be used for AI.

Creating a grenadier will be difficult.
PM
bluemeenie195
5
Years of Service
User Offline
Joined: 28th Oct 2018
Location:
Posted: 7th Sep 2023 11:43
This post has been marked by the post author as the answer.
smallg made a great grenadier script for GG classic.
https://forum.game-guru.com/thread/207801?page=10#msg2528215
PM
simonS
User Offline
Joined: 9th Aug 2023
Location:
Posted: 8th Sep 2023 13:53
This script like a charm!
PM

Login to post a reply

Server time is: 2024-02-22 03:57:48
Your offset time is: 2024-02-22 03:57:48