Home   Help Search Login Register  

Author Topic: Drive on what ever happens  (Read 514 times)

0 Members and 1 Guest are viewing this topic.

Offline Kuro

  • Former Staff
  • ****
  • 2./FschJgBtl 251 Green Devils
    • VBS2 Mission Download Site
Drive on what ever happens
« on: 16 Apr 2004, 02:43:04 »
Hello,

i have three questions:
a) i have a Hummer with a MG on its roof. How can i make it driving on  whatever happens (Answer set it on careless). But he gunner should attack possible targets left and right of the street.
b) how can i put units in an empty vehicle at the start of the mission.
c) i noticed that if i set the skill of a unit in the editor on the lowest possible setting (marker to the left). The mission.sqm still says skill = 0.2 . Is it possible to lower the skill of a unit even more if i edit the mission.sqm.

Thanks Kuro

Offline myke13021

  • Contributing Member
  • **
  • Myke
Re:Drive on what ever happens
« Reply #1 on: 16 Apr 2004, 03:07:41 »
a)
make an empty hummer with mg and give it a name (hmmvee1 i.e)
make an loon which drives the Hummer, move him in as driver (see below)
make a loon which will be gunner, make sure he is NOT grouped with driver, move him in as gunner (see below)

in the init line of the Driver, besides the assignas and movein commands, put:
this setbehaviour "CARELESS"
in the init line of the gunner, besides the assignas and movein commands, put:
this setbehaviour "COMBAT"

b)
for driver: unit assignasdriver vehic; unit moveindriver vehic
for gunner: unit assignasgunner vehic; unit moveingunner vehic
for commander: unit assignascommander vehic; unit moveincommander vehic
for cargo: unit assignascargo vehic; unit moveincargo vehic

unit is the name of your loon
vehic is the name of the vehicle

basically the movein command would be enough, but your loon wont know then he is in a vehicle...can give problems when you want them to disembark.

c)
you can always use:

loon setskill 0

in the init line of a unit.

Tom Norman

  • Guest
Re:Drive on what ever happens
« Reply #2 on: 16 Apr 2004, 07:41:51 »
Is that right about moving them in?  I've never had any problems with it.  What sort of problems are you talking about?  

Kuro, what HMMVW are you using?  I've been looking for a good HMMVW with a .50 cal mounted on top, but I've only found desert ones.  I guess they were inspired by Blackhawk Down.

Offline myke13021

  • Contributing Member
  • **
  • Myke
Re:Drive on what ever happens
« Reply #3 on: 16 Apr 2004, 13:50:22 »
well, i had sometimes problems when i movein loons in a vehic without assigning them too....somehow AI doesn't recon itself that he's in a vehic.
The problem is not that you can't make them disembark by order...i guess AI will react somehow like "oh, i'm in a vehic...didn't know" ;D and just get out.

I guess somehow the movein command is some sort of "improved setpos" command ;D
It will place the unit, but don't tell him where he is.

Main problem is, unit's which aren't assigned to a vehic (even when they're in it) will not get out if vehic reaches a certain dammage level.

This doesn't happen all the time, but it CAN happen. So i suggest to prevent this from the beginning, you assign them...it is just one more line to type  ;)

Tom Norman

  • Guest
Re:Drive on what ever happens
« Reply #4 on: 16 Apr 2004, 14:08:57 »
Well now, I never knew that.   :)

Offline Kuro

  • Former Staff
  • ****
  • 2./FschJgBtl 251 Green Devils
    • VBS2 Mission Download Site
Re:Drive on what ever happens
« Reply #5 on: 19 Apr 2004, 02:32:47 »
Many thanks for the answers.

They helped a lot.  Concerning the Hummers. I use the desert versions.
There is also a normal version around but they are in development stage and have problems with the cargo proxy (passengers hover over the vehicle).
If you are intersted i will search the link.

Greetings Kuro

Tom Norman

  • Guest
Re:Drive on what ever happens
« Reply #6 on: 19 Apr 2004, 23:42:34 »
That would be great.  Considering the lack of desert locations on the core maps (ie. one), it's kind of pointless making desert camo vehicles.  All the new desert maps out there are so boring and featureless.  I for one have seen enough of the bloody desert to last a lifetime.