PDA

View Full Version : DFXMed 2.59: Attaching AI to weapons


AceGoober
May 2nd, 2005, 21:15
Howdy all!

I have been trying to attach an AI to a minigun mounted on a sandbag bunker but end up with a sysdump everytime I start the map. Here is the event I am using:

IF: Trigger Type: Group
--->Trigger Condition: Has X Players
--->Trigger if: True
--->Group 1: Blue Players
--->Num Units: 1

THEN: Action Type: Attach SSN to Emplaced Weapon
------->SSN: 42 - DF1 Russ01, w_AK47

Obviously, there is something I am missing though I have not determined what. Any assistance would be appreciated.

alexBlue
May 4th, 2005, 13:16
I just tried it and got the same with a friendly SAW dude on a 360º 50 cal MG. You could try it with a WAC. file instead, may work though i cant really help you there cause i havent ventured much into editing yet and i never bothered with BHD and JO so im not very familiar with WAC. files and the available scripts.

Sazza
May 4th, 2005, 13:20
Use "Redirect group or SSN to waypoint list 125, ssn" of vehicle or weapon.

check sample mission HERE (http://web.comhem.se/~u73702739/vechile.zip)

alexBlue
May 4th, 2005, 14:07
I did that with 2 pilots and a blackhawk, one guy went for the minigun while the other one was there looking around lol, i also tried to put some guys in cargo but it didnt work.. thank you for the tip though, i thought waypoint list 123, 124 and 125 were for vehicals and that atach to nearest emplaced weapon would work.

Deathwish99
May 4th, 2005, 15:17
Well I know you can make the Start person start on an emplaced wepon my turning them to red team....you could try that.

AceGoober
May 5th, 2005, 18:56
Sazza, thank you very much! I did not know there were pre-listed events at the bottom of the list for AI manipulation. I had thought they were events which needed to be specified. It worked quite well. The AI punched holes in me (after I tweaked the .mis before compiling ;) ) from over 450 meters away. Thanks a whole bunch!

I am going to feel sorry for the people that play my first map in DFX lol