Home   Help Search Login Register  

Author Topic: Pre-requisite for "canfloat=true"  (Read 1069 times)

0 Members and 1 Guest are viewing this topic.

sanam

  • Guest
Pre-requisite for "canfloat=true"
« on: 23 Jan 2004, 10:51:54 »
 ???

In the config ref, the line "canfloat" only appears as true for apc's.
but...
there's a MonsterTruck, by CAF, with this line workin'all right.
my model is inherited from the motorcycle class && the line is not working:
 :o I'm just drowning! :-\.

CanFloat=True;

Does someone got an idea of what other parameters comes into play when it's about floating ?

Please, get me out of the water, it's getting cold.

PeacePunk.

asmodeus

  • Guest
Re:Pre-requisite for "canfloat=true"
« Reply #1 on: 24 Jan 2004, 00:34:42 »
Do you have a copy of the monster truck .cpp for us to look at?  

If so, please post both that one and your .cpp for everyone to be able to compare and hopefully help you.   ;)

Asmo

sanam

  • Guest
Re:Pre-requisite for "canfloat=true"
« Reply #2 on: 24 Jan 2004, 01:35:28 »
Thank Asmo, but the CAF MonsterTruck is a Bin-type config: With my tools here, I can only see that the line is present, but can't read properly.
And my cpp is, well, very long, as in the process of fine-tuning I've taken a lot of parameters in my class.

cfgmodel is "car"
cfgvehicle class inheritance is "all... till ...Jawa"
no weapon. Prameters involved: (alphabetical order)

accuracy=3;
armorWheels=1000;
armor=10000;
armorStructural=10;    
 ;)audible=0.5;
autocenter=False;
brakeDistance=0.25;
camouflage=2;
canFloat=true;
cargo=0;
cost=50000;  
damperForce = 0.00001;  Â Â Â Â Â Â 
damperSize = 0.00005;         
destrType=DestructDefault;
driverAction=ManActT72GunnerOut;
driverCanSee = "2+8+16";
driverCastShadow = true;
formationX=5;
formationZ=5;
fuelCapacity=6000;
getInAction = ManActGetInCar;
getOutAction = ManActGetOutCar;
gunnerCanSee = "2+8";
hasDriver=1;
hasgunner=0;
HideUnitInfo=false;
insideSoundCoef = 1;
mapSize = 6;
maxSpeed=400;
nameSound="car";
precision=1.2;
predictTurnPlan=1.0;        
predictTurnSimul=1.0;        Â Â Â Â Â Â 
preferRoads=True;
reversed=True;
sensitivity=0.9;       
sensitivityEar=0.09;       
scope=public;
steerAheadPlan=0.2;            
steerAheadSimul=0.1;            
terrainCoef=0.3;              
threat[]={0.9, 0.2, 0.9};
transportSoldier=1;
turnCoef=6;                    
type=VSoft;
unitInfoType="UnitInfoCar";
unloadInCombat = true;
wheelCircumference=1;




I warned you. ;)


But maybe someone can send a working example ?

The PeacePunk




« Last Edit: 24 Jan 2004, 01:37:44 by PeacePunk »

asmodeus

  • Guest
Re:Pre-requisite for "canfloat=true"
« Reply #3 on: 27 Jan 2004, 21:55:26 »
Hmmm

Just a shot in the dark here.. But what if the monstertruck is based off the APC class so that the floating works??

Otherwise, I'm not sure.

Asmo

sanam

  • Guest
Re:Pre-requisite for "canfloat=true"
« Reply #4 on: 28 Jan 2004, 03:01:07 »
CAF_MSLVW is a 5t truck class...
Thanks Asmo
 :'(

some1 to now how to properly open a .bin file ?
Or other cpp example that is not out of the APC class ?

PeacePunk.