
Toxic_Rhino
Joined: Jul 13, 2007
|
Posted: Apr 9, 2008 01:30 PM
Msg. 1 of 8
I set up one of the ai on my map as a biped so that I could put a nav point marker on him. That worked fine. He walks around fine and all but he has no weapon, I went into his biped tag in gorilla and added the weapon I wanted him to have (the shotgun) but in sapien and in the game he walks around aimlessly without a weapon. What do I do to make him carry a weapon.
The biped I added is captain keys and I know he is able to carry a weapon because he carryies one in one part of the campaign and I have played a SP map where you can play as him...
Thank you for your help... (if you actually try to help me)
|
|
|

Enzo03
- Screenshot Guru -
Joined: Aug 3, 2007
I'd rather go without than take what you'd bring.
|
Posted: Apr 9, 2008 07:05 PM
Msg. 2 of 8
?
You need to modify his ACTOR VARIANT and place him as AI if you wa... wait... no... bipeds can hold weapons...
I do not know... I tried. Edited by Enzo03 on Apr 9, 2008 at 07:06 PM
|
|
|

Toxic_Rhino
Joined: Jul 13, 2007
|
Posted: Apr 9, 2008 07:20 PM
Msg. 3 of 8
Well he is a biped that follows an encounter I set up with a script... I just need to know how to give him a weapon!
|
|
|

DarkZealot
Joined: Jan 1, 2008
Time management: 40% Xbox, 30% PC, 30% Skating
|
Posted: Apr 9, 2008 07:27 PM
Msg. 4 of 8
Look in the biped, and make sure he can hold the weapon in the .model_animations tag.
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Apr 9, 2008 07:28 PM
Msg. 5 of 8
Quote: --- Original message by: Enzo03 ?
You need to modify his ACTOR VARIANT and place him as AI if you wa... wait... no... bipeds can hold weapons...
I do not know... I tried. Edited by Enzo03 on Apr 9, 2008 at 07:06 PM You were on the right track. In the actor_variant tag, there should be a "weapon" field near the top. Refer to the weapon you want your AI to use there. The biped's weapons don't affect what weapon an AI holds.
|
|
|

DarkZealot
Joined: Jan 1, 2008
Time management: 40% Xbox, 30% PC, 30% Skating
|
Posted: Apr 9, 2008 07:29 PM
Msg. 6 of 8
He could use ai_attach to give him Artificial Intelligence you know. I did that once with a player, and he could do AI stuff that players can't.
|
|
|

Me KS
Joined: Feb 2, 2008
Desire is Reality. Xfire: jetmaster23
|
Posted: Apr 9, 2008 07:35 PM
Msg. 7 of 8
True, because AI can refer to animations such as diving, evading, signaling, etc; while players are limited to what their controls allow.
|
|
|

Toxic_Rhino
Joined: Jul 13, 2007
|
Posted: Apr 9, 2008 11:00 PM
Msg. 8 of 8
ok, so I found a Ranged Combat tab under the captain.actor_variant tag. I set it to the shotgun.weapon tag but he still doesn't hold any gun... ? ??!?? !?? ?!?
|
|
|