AI trying to ram pilots rather than shoot them.
Moderators: GSH, Commando, Red Devil, VSMIT
- MrTwosheds
- Recycler
- Posts: 3059
- Joined: Sat Feb 19, 2011 8:37 am
- Location: Outer Space
- Contact:
Re: AI trying to ram pilots rather than shoot them.
The ai cannot get aimed up on your model so it never shoots... Scale?
The Silence continues. The War Of Lies has no end.
- bigbadbogie
- Bull Dog
- Posts: 586
- Joined: Mon Feb 21, 2011 8:12 am
- Location: Ecuadorian Embassy
Re: AI trying to ram pilots rather than shoot them.
GeometryScale = 1.0
The same size as an ISDF pilot.
The same size as an ISDF pilot.
"You think that you can wipe out an entire civilisation without consequences?" - Rachel
http://www.moddb.com/mods/qf2-essence-to-a-thief
https://www.indiedb.com/games/husky-ashcon-i/
http://www.moddb.com/mods/qf2-essence-to-a-thief
https://www.indiedb.com/games/husky-ashcon-i/
- Zero Angel
- Attila
- Posts: 1536
- Joined: Mon Feb 21, 2011 12:54 am
- Contact:
Re: AI trying to ram pilots rather than shoot them.
Well a few things I suspect could be the case:
1) hp_com exists outside of the pilot's model. Much like how it works with mines, if the hitbox exists in an 'illegal' place, like under the ground, then the AI won't even attempt to shoot at the thing.
2) The model might be 'inside out' (is this a thing?) or something might be wonky with the way the verts and such are set up. The AI thinks that it has to go into the model to get a clear shot, then having gotten 'close enough' it decides that it no longer has to move, but also doesnt fire because it doesnt think it has a clear shot. (maybe use path editor to see what the AI is thinking)
3) The pilot may use a weapon which has a model that duplicates the pilot's own hardpoints (e.g. hp_hand_1, hp_com). I think this can cause problems to happen with the pilots.
1) hp_com exists outside of the pilot's model. Much like how it works with mines, if the hitbox exists in an 'illegal' place, like under the ground, then the AI won't even attempt to shoot at the thing.
2) The model might be 'inside out' (is this a thing?) or something might be wonky with the way the verts and such are set up. The AI thinks that it has to go into the model to get a clear shot, then having gotten 'close enough' it decides that it no longer has to move, but also doesnt fire because it doesnt think it has a clear shot. (maybe use path editor to see what the AI is thinking)
3) The pilot may use a weapon which has a model that duplicates the pilot's own hardpoints (e.g. hp_hand_1, hp_com). I think this can cause problems to happen with the pilots.
Regulators
Regulate any stealin' of this biometal pool, we're damn good, too
But you can't be any geek off the street
Gotta be handy with the chains if you know what I mean
Earn your keep
Regulate any stealin' of this biometal pool, we're damn good, too
But you can't be any geek off the street
Gotta be handy with the chains if you know what I mean
Earn your keep
- bigbadbogie
- Bull Dog
- Posts: 586
- Joined: Mon Feb 21, 2011 8:12 am
- Location: Ecuadorian Embassy
Re: AI trying to ram pilots rather than shoot them.
Bear in mind that this happens to 4 completely different QF2 pilot model designs (different races).
hp_com_1 didn't even exist before in the model files. GBD suggested I should add it, but it changed nothing (yes, within the model).
None of them are inside out.
Pilot weapons don't have any hardpoints inside their files.
I'm completely lost as to what could possibly cause this. Stock units exhibit the exact same behaviour in regards to these pilots. They either sit there and get shot at, try to ram the pilots or actually shoot at them (for only a few seconds before switching to one of the other behavioural options). It's not my QF2 units at fault.
The pilots don't have anything particularly special (as far as I could tell) in their ODFs.
So, I ask again, what ODF parameters, or what parameters of any kind, cause units to attempt to ram pilots? Does anyone actually know?
hp_com_1 didn't even exist before in the model files. GBD suggested I should add it, but it changed nothing (yes, within the model).
None of them are inside out.
Pilot weapons don't have any hardpoints inside their files.
I'm completely lost as to what could possibly cause this. Stock units exhibit the exact same behaviour in regards to these pilots. They either sit there and get shot at, try to ram the pilots or actually shoot at them (for only a few seconds before switching to one of the other behavioural options). It's not my QF2 units at fault.
The pilots don't have anything particularly special (as far as I could tell) in their ODFs.
So, I ask again, what ODF parameters, or what parameters of any kind, cause units to attempt to ram pilots? Does anyone actually know?
"You think that you can wipe out an entire civilisation without consequences?" - Rachel
http://www.moddb.com/mods/qf2-essence-to-a-thief
https://www.indiedb.com/games/husky-ashcon-i/
http://www.moddb.com/mods/qf2-essence-to-a-thief
https://www.indiedb.com/games/husky-ashcon-i/
- Zero Angel
- Attila
- Posts: 1536
- Joined: Mon Feb 21, 2011 12:54 am
- Contact:
Re: AI trying to ram pilots rather than shoot them.
If you think its possibly your pilot ODFs, just take ispilo.odf and have it use your model. If the problem persists then its 100% most definitely a model problem.
Regulators
Regulate any stealin' of this biometal pool, we're damn good, too
But you can't be any geek off the street
Gotta be handy with the chains if you know what I mean
Earn your keep
Regulate any stealin' of this biometal pool, we're damn good, too
But you can't be any geek off the street
Gotta be handy with the chains if you know what I mean
Earn your keep
- Red Devil
- Recycler
- Posts: 4398
- Joined: Fri Feb 18, 2011 5:10 pm
- Location: High in the Rocky Mountains
Re: AI trying to ram pilots rather than shoot them.
there's nothing wrong with the stock units, so that leaves your stuff.
try tweaking some of these. also, what team are the pilots on? are they allied with the craft?
[GameObjectClass]
canDetect = 0/1 // can attack other pilots through attack command
canTarget = 0/1 // can target
heatSignature = 0.1
imageSignature = 0.1
radarSignature = 0.1
isStealth = 0/1
[CraftClass]
detectRange = 0/1
try tweaking some of these. also, what team are the pilots on? are they allied with the craft?
[GameObjectClass]
canDetect = 0/1 // can attack other pilots through attack command
canTarget = 0/1 // can target
heatSignature = 0.1
imageSignature = 0.1
radarSignature = 0.1
isStealth = 0/1
[CraftClass]
detectRange = 0/1
If given the truth, the people can be depended upon to meet any national crisis. The great point is to bring them the real facts - and beer.
Abraham Lincoln
Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV
Lifetime member of JBS and NRA
Abraham Lincoln
Battlestrat, FE, G66, In The Shadows, Starfleet, Uler, & ZTV
Lifetime member of JBS and NRA
Re: AI trying to ram pilots rather than shoot them.
As I've said many times, provide a minimal savegame. You can make a test map -- e.g. dunesi.bzn with /nobodyhome , and add your pilot odfs and xsi/msh files versus some stock units. None of your custom textures needed. Then, you can make a private bug on bugzilla (readable only by you and me) and attach map + your pilot odf/xsi/msh. (Or, email me a download link separately.) I'm not going to leak any of your assets. Seriously.
If you want things fixed, then you need to follow my procedures. Same as anyone/everyone else. Writing paragraphs doesn't really get anything fixed. And if you manage to fix it on your end but not submit any files, then you're a selfish person who doesn't want anything really fixed for the next person to poke at this area.
-- GSH
If you want things fixed, then you need to follow my procedures. Same as anyone/everyone else. Writing paragraphs doesn't really get anything fixed. And if you manage to fix it on your end but not submit any files, then you're a selfish person who doesn't want anything really fixed for the next person to poke at this area.
-- GSH
Re: AI trying to ram pilots rather than shoot them.
I've also found out that if you link ODF's you more easilly presented with some unexplainable crashes. Can reproduce it, but not properly as I cant pin it down properly.
- MrTwosheds
- Recycler
- Posts: 3059
- Joined: Sat Feb 19, 2011 8:37 am
- Location: Outer Space
- Contact:
Re: AI trying to ram pilots rather than shoot them.
Possibly could be an animation thing, they can do funny stuff if you don't get em set up just right.
The Silence continues. The War Of Lies has no end.
Re: AI trying to ram pilots rather than shoot them.
Do you mean inheritance or something else?Red Spot wrote:I've also found out that if you link ODF's you more easilly presented with some unexplainable crashes. Can reproduce it, but not properly as I cant pin it down properly.
battlezone.wikia.com needs your help!