What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

How to use the "VehicleBehavior" quest behavior?

Megser

Well-Known Member
Joined
Apr 17, 2010
Messages
1,389
Reaction score
73
As title says, how would the code look like? Because I can't get it working.

Mine:

PHP:
        <CustomBehavior File="VehicleBehavior" QuestId="24502" VehicleMountId="48526" VehicleId="37179" AttackButton="1" FireHeight="0.35" FirePoint="X="-8250.97" Y="1484.26" Z="41.4213" TargetPoint="X="-8297.378" Y="1484.756" Z="44.36009" />

I get this error, I have tried removing the X Y Z:

PHP:
[VehicleBehavior(error)]: Attribute 'FireLocationX' is required, but was not provided.
[VehicleBehavior(error)]: Attribute 'FireLocationY' is required, but was not provided.
[VehicleBehavior(error)]: Attribute 'FireLocationZ' is required, but was not provided.
[VehicleBehavior(error)]: The 'FireHeight' attribute's value (saw '0.35') is malformed.
[VehicleBehavior(error)]: Attribute 'TargetLocationX' is required, but was not provided.
[VehicleBehavior(error)]: Attribute 'TargetLocationY' is required, but was not provided.
[VehicleBehavior(error)]: Attribute 'TargetLocationZ' is required, but was not provided.
[VehicleBehavior(warning) @line 78]: Attribute 'FirePoint' is not recognized by this behavior--ignoring it.
[VehicleBehavior(warning) @line 78]: Attribute 'TargetPoint' is not recognized by this behavior--ignoring it.
[VehicleBehavior(error) @line 78]: Stopping Honorbuddy.  Please repair the profile!
 
Well, the wiki is abit outdated there, you will need this:

HTML:
<CustomBehavior File="VehicleBehavior"
		QuestId="13514"
		VehicleMountId="43742"
		VehicleId="43742"
		AttackButton="1"
		FireHeight="15"
		FireLocationX="7343.95"
		FireLocationY="-1496.636"
		FireLocationZ="160.3504"
		TargetLocationX="7317.898"
		TargetLocationY="-1561.457"
		TargetLocationZ="161.536" 
	/>
That said, still cant get it to work :( The bot goes into the vehicle, but then it goes towards the firelocation, but then it stop at some point and wont move anywhere. If you try to move it yourself, it will come back to this point it decided to camp at...
 
Last edited:
vehicles are a huge pita. i really wish the behavior devs would make auto scanning / adjusting ones :(
 
Back
Top