OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: brsseb on 09 Oct 2002, 17:23:40
-
Hi
Just wanna tell that Lesson 2 of my tutorial site is out:
"Lesson 2 - Your first car in ofp"
http://ofp.info/brsseb/
Simple, lots of pics; easy for the beginner. Hope you like it.
brsseb
-
Great tutorial man this really helped me with vehicals!
-
By lookin' through it, it looks pretty good.
But does it cover flat tires? :o
In those D/L-able .pbo's of the original models, there is a jeep which you could model it off.
Never-the-less, another good job!
Keep up the good work! :)
P.S The model ain't that bad ;D
8)PEACE
-
Just what the doctor ordered, I'll be giving this a go tonight :thumbsup: :cheers:
-
By lookin' through it, it looks pretty good.
But does it cover flat tires? :o
No, it doesnt cover flat tires. But that involves the HitPoints LOD and some selections. I left that one out since it wasnt neccesary to get the car up and running. And anyone who understod my lesson will easily be able to implement that LOD all by them selves by checking out how its done in another car addon.
And anyway, flat tires are the most ANNOYING thing with cars in ofp anyway 8)
brsseb
-
if i pbo the pre-lesson p3d + config I can't get in the car :o
although the tutorial suggests you can start driving around the crap version immediately
am I a noob or what? ???
i'm making my own car right now: can you just add a config to make sth into a car or do you have to add the proxy too
-
yes i am stupid
setting the car as playable makes a difference indeed
-
did i miss something ? i read the tut. i did everything the right way (at least think i did ;) ) but the car doesn't work. i put the car on the map, try to play the mission i created but as soon as it loads it returns to desktop without error messages
-
Hmmm
Strange. Did you try placing an EMPTY and one CIVILIAN on the map (not moth on the same map, one at a time), its been a while since i did the car tut, and the configfile work on it isnt exacly awardwinning...Also, i think i used the Cfgmodels class and that may have some issues with version 1.46. So if you got 1.46, delete the CfgModels { .... }; thingy
brsseb
-
empty doesn't work either. i'm using the newest version of the game + resistance. i startet the game with the ofp link instead of the resistance.
i also played a bit around with the config but got no good results :(
but your weapons tutorial is great and worked ;)
-
check the path to your model.
The cpp is checked for typos and '{' missing as flashpoint loads up. Ctd normally happens to me when I have changed a filename and loaded up without changing cpp
eg config has model="\panther\panther23";
then in working I save as panther24.p3d and PBO the folder. Then the game will crash to desktop.
Post your cpp here along with the path to your model. It'll be something simple.
-
i'm not at home atm, but i think i can say for sure, that the path is correct. first time i tried i used the config which was included in the tutorial .zip and changed nothing. didn't work. and i guess that config has to be ok, because it worked for other ppl :(
-
i guess all will laugh now, it was sooo simple :)
i simply forgot the landcontact :))
i'd suggest you'd add that to the tutorial so that ppl don't do the same stupid mistake i did ;) because the tutorial says that it is possible to use the car the way it is in the zip file , well it doesn't work that way :)
-
The car works without landcontact LOD. Its not needed, but youre in for a bumoy ride. I got now v1.91 ofp and i testet the start-model, its got just 0.000 and geo-lod and nothing more and im able to compile it and drive around, and i dont get any crashes to desktop or anything, tried both using Cilvilian->Car->My First Car and Empty->Car->My first car
But its hard to get into the empty car due to the fact that we havent made a "pos driver/cargo" vertex in Memory LOD. And i assume that these start locations are at the model origo by default when nothing is specified, so if you want to get into the empty start-model, you must run into it (the geo isnt very good, it seems) and get to the center of the car, then the Get in action will appear.
Hope this clear things up a bit.
brsseb
-
I'm trying to get the wheels to turn and have made and named the selections for each wheel. But when I get in OFP, only the left from wheel does anything. All of the others don't rotate when your moving or turn left/right when you turn.
-
Then im sure its just a Typo or 3 in your selection naming. Sure you named them in the right LOD? (0.000 and possibly View Cargo/Pilot)
If my memory is correct, the vehicle selection names are:
levy predni (left front)
pravy predni (right front)
levy zadni (left rear)
pravy zadni (right rear)
brsseb
-
There are no typos that I can see and its in the right LOD. And I'm pretty sure the selections are for the correct tires. Heres the p3d maybe someone can look at it and see whats wrong. p3d (http://members.cox.net/olrbengax/firstcar.p3d)
-
Well....
I d/l the file, and compiled it and got the same problem as you: only one front wheel working properly, for no apparent reason.
I assume its just a rare o2 issue or something, i deleted all four wheels and the selections and did the wheel structure and selection naming over again and then it worked fine. Have NO CLUE whatsoever, must have been a o2 glitch, or something. Anyway, it works most of the time..damn learning o2 is learning life;take one step at the time, its full of suprices and you NEVER, NEVER finnish learning it.... ;D
Just delete wheels and their selection and try again. Will most likely work this time.... ::)
BRSSEB