Jump to content
Sign in to follow this  
Marcus4

A Raft

Recommended Posts

ok, i have this raft model, but i cant/dont know how to config and make all the proper lods for it, so if someone could tell me how to do it/do it for me biggrin_o.gif, it would be a big help

thanks smile_o.gif

Share this post


Link to post
Share on other sites
)rStrangelove @ Jan. 01 2006,12:25)]ARRRRR now we need 2 shipwrecked pirates. tounge2.gif

Or a Johnny Depp like model dressed as Captain Sparrow! biggrin_o.gif

Klavan

Share this post


Link to post
Share on other sites
its my first major madel biggrin_o.gif but i need someone still crazy_o.gif

tell us what you want, so we might could lead you to a solution, and so you'd learn a bit too by doing it on your own then smile_o.gif

Share this post


Link to post
Share on other sites

tounge2.gif i should have been more specifec, what i need to know is

What lods do i need to make (and what to name them)

how to config it where the driver will use a anim i made

how to config it to the driver is not useing a gun

thanks guys

Share this post


Link to post
Share on other sites

Hi,

Very nice work you did there, if you would like to learn how to deal with boats cpp then unpbo one of these following "boats" addons

->Link

And get a look on their cpp in order to learn how it works.

Quote[/b] ]how to config it where the driver will use a anim i made

This is defined in the cfgmoves and cfgvehicleactions, the best advice would be to check out a 'main' config.cpp in order to see how it's established and to follow the same way in order to define your animation.

Quote[/b] ]how to config it to the driver is not useing a gun

If the class of your raft would be derived from 'class boatw:smallship' then you won't need to define that, it's automatically done, just make sure that 'hasGunner' is 1.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">hasGunner=1;

smile_o.gif

Good luck!

Best Regards

Thunderbird84

Share this post


Link to post
Share on other sites

sad_o.gif it wont load into the game, i think it has to do with my config, it says there is not class for smallboat, anywas here is the config

#define TEast 0

#define TWest 1

#define TGuerrila 2

#define TCivilian 3

#define TSideUnknown 4

#define TEnemy 5

#define TFriendly 6

#define TLogic 7

#define true 1

#define false 0

#define private 0

#define protected 1

#define public 2

#define CanSeeRadar 1

#define CanSeeEye 2

#define CanSeeOptics 4

#define CanSeeEar 8

#define CanSeeCompass 16

#define CanSeeRadarC CanSeeRadar+CanSeeCompass

#define CanSeeAll 31

class CfgPatches

{

class Marcus_raft

{

units[] = {Marcus_raft};

weapons[] = {};

requiredVersion = 1.75;

};

};

class CfgModels

{

class Default{};

class Ship : Default{};

class raft : ship{};

};

class CfgVehicles

{

class All{};

class AllVehicles:All{};

class Land:AllVehicles {};

class SmallShip:Ship{};

class BoatW:SmallShip{};

class marcus_raft:boatw

{

displayName="Marcus-Raft";

accuracy=0.80;

fuelCapacity=100;

model="\Marcus_raft\raft.p3d";

vehicleClass="Armored";

scope=public;

hasGunner=0;

hasCommander=0;

driverIsGunner=1

getInAction="ManActGetOutCar";

getInRadius=10;

driverAction="rudder";

cargoAction[]={"ManActCargo"};

soundEngine[]={\Marcus_raft\motor.wav,db-25,1};

ejectDeadDriver=1;

ejectDeadGunner=1;

ejectDeadCargo=1;

nameSound="ship";

simulation="ship";

audible=2;

side=TWest;

type=VSoft;

crew="SoldierWCrew";

maxSpeed=15;

brakeDistance=5;

steerAheadSimul=2;

steerAheadPlan=2;

predictTurnSimul=3;

predictTurnPlan=3;

cost=2000000;

armor=30;

armorStructural=2.000000;

};

};

help???

Share this post


Link to post
Share on other sites

Wrong:

Quote[/b] ]class CfgVehicles

{

class All{};

class AllVehicles:All{};

class Land:AllVehicles {};

class SmallShip:Ship{};

class BoatW:SmallShip{};

class marcus_raft:boatw

Correct:

Quote[/b] ]class CfgVehicles

{

class All{};

class AllVehicles:All{};

class Ship:AllVehicles {};

class SmallShip:Ship{};

class BoatW:SmallShip{};

class marcus_raft:BoatW

You needed to replace Land with Ship.

Share this post


Link to post
Share on other sites

Man, this looks spiffy. smile_o.gif Nice job on the textures. Might I suggest, though, planar-mapping a separate texture on the ends of the beams? Would add that finishing touch to it. smile_o.gif

Share this post


Link to post
Share on other sites

this has been on the backshelf for a littlewhile, i am trying to dust it off biggrin_o.gif

Share this post


Link to post
Share on other sites

btw......

Goingdown.jpg

SOS! We are going down!, crazy_o.gif

well, i think this is where the lods come in, what are the need'd lods? i have these

0.000

Geomtry

landcontact

Memory

i have 2 box's in geo lod, one called, Component01, the other Component02

in land contact, i have 4 points, they are called Component01

memory has posdriver

i want this to work sooooo badddd!

confused_o.gifconfused_o.gif

Share this post


Link to post
Share on other sites

I suppose the raft might be a little too thin so when the sea get's elevated the raft gets submerged. So make it thicker by adding logs under it.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×