Basic Config.cpp files., Place here basic config files for newbies :P |
Basic Config.cpp files., Place here basic config files for newbies :P |
Jul 30 2010, 03:36
Post
#1
|
|
Member Group: Members Posts: 131 Joined: 22-May 10 Member No.: 7,651 |
Hi all!
I've made this post 'cause I took some config files from a tut and neither of any that I took worked.. So now, I'm asking YOU (dood that knows about config files) to place here the basic config files needed for an addon to work... I was actually looking for the config to get a car into ArmA I... I have this one (witch doesn't work): CODE class CfgModels { class default {}; class Vehicle: default {}; class Car: Vehicle {}; class Jeep: Car {}; class firstCar: Jeep {}; }; class CfgPatches { class firstCar { units[] = {firstCar}; weapons[] = {}; requiredVersion = 1.0; }; }; class CfgVehicles { class All {}; class AllVehicles: All {}; class Land: AllVehicles {}; class LandVehicle: Land {}; class Car: LandVehicle {}; class Jeep: Car {}; class firstcar: Jeep { displayName="HUMVEE REWORKED"; // Displayname in editor model= \firstcar\firstcar; // our p3d model path side=3; // Its on the civilian side crew="Civilian2"; // The default driver are civilians maxSpeed=300; // Max speed transportSoldier=0; // Right now just driver, no cargo }; } I may remark that this tutorial is made for OFP... dunno if there's any difference... but my firstcar.p3d doesn't appear under Civilian>Cars>HUMVEE REWORKED (or under any other drop-down menu) Thanks to all! This post has been edited by SGJackson: Jul 30 2010, 03:37 |
|
|
Jul 31 2010, 11:25
Post
#2
|
|
Gee, I wish we had one of them doomsday machines. Group: Moderators Posts: 2,037 Joined: 13-November 06 From: Wales Member No.: 155 |
Ok, I don't think you've set up the LODs correctly. Each LOD is essentially a different model. The yellow "ghost" model is just the lowest resolution LOD, so you can see the basic outline of the model when creating other LODs. To change between LODs you have to doubleclick them on the LOD panel.
If you've got stuff that's on the wrong LOD, you can cut/paste it as with any other program. Named selections will be preserved. The "big" error is down to the positions of your driver entry points on the memory LOD. You should create a point called "pos driver" for the entry point, and "pos driver dir" close to it to show which direction the animation should play. -------------------- The Rules - Nothing too complicated, follow these and we'll have no problems.
Moderation Feedback Thread - Tell everyone how much you Site Issues Thread - Complain about site issues here. We might even fix them! Community Chatter Thread - Furthest Mud-sling gets a free subscription to "JdB Monthly". QUOTE(Major Mike Shearer) We can categorically state that we have not released man-eating badgers into the area. QUOTE(Brace Belden) A machine gun is like a woman, I don’t understand it, I’m afraid of it, and one day I’ll accidentally be killed by one. |
|
|
Lo-Fi Version | Time is now: 17th May 2024 - 03:11 |