In a map I'm working on I have a CIS SBD unit whose only weapon is the Wrist Tri-Shot. I noticed that this unit essentially NEVER fired its gun. I found this odd since I haven't modified the stock weapon in any way. So I looked at its ODF and discovered that it contains the lines:
MinRange = "0"
OptimalRange = "0"
MaxRange = "0"
Is this normal? I don't *think* I've messed around with my assets ever... But it doesn't seem right to me. I took the default lines from com_weap_inf_shotgun:
MinRange = "0"
OptimalRange = "24"
MaxRange = "48"
plugged them in, and now it works just fine. But still, was the wrist tri-shot intended to be a human only weapon? And if not, my assets must be corrupted, so does anyone know the "proper" values for this weapon?
AI doesn't use Wrist Tri-Shot?
Moderator: Moderators
-
razac920
- 2nd Lieutenant

- Posts: 365
- Joined: Sun Jan 16, 2011 12:42 am
-
Bob
- Brigadier General

- Posts: 633
- Joined: Thu May 27, 2010 4:28 am
- Location: at home
Re: AI doesn't use Wrist Tri-Shot?
The values in my assets are the same and I'm 100% sure that I've never changed them. So yes, the AI aren't supposed to use it. Maybe it caused problems with the game balance since the Trishot is somewhat better than the Clone Rifleman's Blasterpistol.
-
Dreadnot9
- Chief Warrant Officer

- Posts: 341
- Joined: Wed Jun 06, 2012 2:05 pm
- Projects :: Rising Conflict CW v2.0
- xbox live or psn: Steam is Dreadnot9
Re: AI doesn't use Wrist Tri-Shot?
Try adding these lines to the weapon's odf:
That should make the AI fire them a bit more.
You can of course adjust the numbers to suit your fancy.
Hidden/Spoiler:
You can of course adjust the numbers to suit your fancy.
-
razac920
- 2nd Lieutenant

- Posts: 365
- Joined: Sun Jan 16, 2011 12:42 am
Re: AI doesn't use Wrist Tri-Shot?
Bob, thank you for clearing that up for me.
Dreadnot9, yes, those lines can get AI to fire their guns more often, but I had noticed that they weren't firing at ALL, and instead were just running up to me/each other. This must have been them trying to get to Range = 0 (which is impossible) to shoot, and never reaching it. Since changing the range values for the tri-shot, though, they now behave normally, shooting from a distance. So thanks, but that code isn't necessary; plus, no one can shoot the tri-shot more than twice at a time due to it overheating.
Thread solved.
Dreadnot9, yes, those lines can get AI to fire their guns more often, but I had noticed that they weren't firing at ALL, and instead were just running up to me/each other. This must have been them trying to get to Range = 0 (which is impossible) to shoot, and never reaching it. Since changing the range values for the tri-shot, though, they now behave normally, shooting from a distance. So thanks, but that code isn't necessary; plus, no one can shoot the tri-shot more than twice at a time due to it overheating.
Thread solved.
-
Dreadnot9
- Chief Warrant Officer

- Posts: 341
- Joined: Wed Jun 06, 2012 2:05 pm
- Projects :: Rising Conflict CW v2.0
- xbox live or psn: Steam is Dreadnot9
Re: AI doesn't use Wrist Tri-Shot?
My mistake. Glad you solved your problem.
