Home   Help Search Login Register  

Author Topic: Suicide?? Cant believe they want to!  (Read 823 times)

0 Members and 1 Guest are viewing this topic.

Offline OFPfreak

  • Members
  • *
  • Who is da operation flashpoint freak now, freak?!
    • OFP NFS mod
Suicide?? Cant believe they want to!
« on: 22 Dec 2004, 02:46:02 »
When I set waypoints for my cars they go off the road even when i set them careless or safe.. I think my data file is dammaged! Luckily I was able to fix it with 1 mission, but the others are going to be a disaster!
ofp nfs REBORN! All new nitro, neon, customized cars, off-road, on-road, rally, bikes, racer models and more!
ofp nfs's homepage

Offline Blip

  • Members
  • *
  • ...Old OFP FART...
Re:Suicide?? Cant believe they want to!
« Reply #1 on: 22 Dec 2004, 06:17:57 »
you do put: preferroads=true : in there init line right?  ???

Blip  :joystick:
...NIGHT WALKER....

Offline OFPfreak

  • Members
  • *
  • Who is da operation flashpoint freak now, freak?!
    • OFP NFS mod
Re:Suicide?? Cant believe they want to!
« Reply #2 on: 22 Dec 2004, 06:46:40 »
what the hell does that do?  ???
ofp nfs REBORN! All new nitro, neon, customized cars, off-road, on-road, rally, bikes, racer models and more!
ofp nfs's homepage

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Suicide?? Cant believe they want to!
« Reply #3 on: 22 Dec 2004, 07:45:12 »
Not a lot as far as I can see, unless it is some undocumented feature.  It is not April so I am puzzled.  Come on Blip - explain.

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Suicide?? Cant believe they want to!
« Reply #4 on: 22 Dec 2004, 09:49:39 »
preferRoads is config cpp value (operator or what the hell they are actually called...)
Won't do anything in scripts/inits/triggers etc...
If you put that into a init field, it just makes a global variable preferroads and sets it true...
(afaik)


Instead of that, try setting the car's skill all the way up...
That might not help much though because OFP AI is so crappy that they just don't know how to drive...
Randomly they actually can do that, but it seems to be quite a rare luxury ::)...
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Suicide?? Cant believe they want to!
« Reply #5 on: 22 Dec 2004, 13:54:06 »
I've noticed that if there is a tree or something similar on the side of the road, cars will try to go around the tree when they could go right past it...
another ai bug  >:(

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Suicide?? Cant believe they want to!
« Reply #6 on: 22 Dec 2004, 14:17:01 »
There are three things I know of that will help AI saying on road.
1. driver setbehaviour "careless"; driver setcombatmode "blue"
2. driver setskill 1
3. insert the waypoint directly on top of the road.

The problem with the AI driving behaviour is that they try to avoid crashing into everything too[/] much. Another issue is that the AI tries to get to it's waypoint via the shortest and safest route.

There should really be a 'unit disableai "don't think, just drive" command :P
Not all is lost.

Offline Blip

  • Members
  • *
  • ...Old OFP FART...
Re:Suicide?? Cant believe they want to!
« Reply #7 on: 22 Dec 2004, 19:16:57 »
Quote
what the hell does that do?  


I asked this same question in some other forum a ways back and that was the answer I got.  Now, since then I have never had a problem with cars, tanks, or whatever staying on the road.  However, since it apparently isn't common knowledge, I am starting to get the feeling that the guy was just yanking my chain and fed me a line of BS.   :-[

So I played with it in the editor and actually ended up seeing no difference in having it and not having it.  My advice is to listen to these other guys and take there advice.  I will look into whether or not that preferroads thing is real or not.  Probably not, and so I now look like a fool.  :tomato:

My apologies if I got your hopes up.

Later,

Blip  :joystick:
...NIGHT WALKER....

Offline OFPfreak

  • Members
  • *
  • Who is da operation flashpoint freak now, freak?!
    • OFP NFS mod
Re:Suicide?? Cant believe they want to!
« Reply #8 on: 22 Dec 2004, 20:15:47 »
ehhe that helped... And also when I played rocks down the roads, from the editor addons, they just stop in front of those rocks while they are split up and theres a big enough gap for 2 cars to fit trough the 2 rocks (ambush place)
ofp nfs REBORN! All new nitro, neon, customized cars, off-road, on-road, rally, bikes, racer models and more!
ofp nfs's homepage

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Suicide?? Cant believe they want to!
« Reply #9 on: 22 Dec 2004, 20:22:17 »
Indeed preferRoads is a config.cpp parameter setting for vehicles.



Planck
I know a little about a lot, and a lot about a little.

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Suicide?? Cant believe they want to!
« Reply #10 on: 22 Dec 2004, 21:31:31 »
try spreading the rocks a little more

Offline OFPfreak

  • Members
  • *
  • Who is da operation flashpoint freak now, freak?!
    • OFP NFS mod
Re:Suicide?? Cant believe they want to!
« Reply #11 on: 23 Dec 2004, 02:18:13 »
doesnt work either triggerhappy!  :P
But I got fantastic good news becuase I just finished a campaign called (renamed) OFP NFS: The Beginning! Its in the mission beta area (the post of it showing the link to the campaign) I still gotta put it on the site but thats done in 5 minutes!  ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D ;D
ofp nfs REBORN! All new nitro, neon, customized cars, off-road, on-road, rally, bikes, racer models and more!
ofp nfs's homepage