Vanishing object

Ask questions, discuss ideas, get answers
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Post by freddy »

Win7 doesnt like the latest BFServerManager.exe to run a bf server either. i had to drop a serverhost that updated there system to win7 because of this.

i dont mod much any longer but have a XP install on another drive along with a bootloader and one XP in a wirtual machine.

ill take a look at the files, dont expect to much tho :)

edit: in the Me262 folder, the Me262.con theres a line at the bottom "run effects" but theres dont seem to be any effects.con. not sure if this is the culprit but try rem it out or find the missing effects.
User avatar
Psycho
Posts: 125
Joined: Thu Aug 25, 2011 3:31 am

Re:

Post by Psycho »

freddy wrote:Win7 doesnt like the latest BFServerManager.exe to run a bf server either. i had to drop a serverhost that updated there system to win7 because of this.

i dont mod much any longer but have a XP install on another drive along with a bootloader and one XP in a wirtual machine.

ill take a look at the files, dont expect to much tho :)

edit: in the Me262 folder, the Me262.con theres a line at the bottom "run effects" but theres dont seem to be any effects.con. not sure if this is the culprit but try rem it out or find the missing effects.
Allready done, didnt matter. And in other objects I saw I forgot to erase that line, but the objects work fine anyway.
Maybe I have to start from scratch with the Me262. The weird thing is that I tried with two different planes from different mods, and the result is the same.
I also know now its no limitations in bf or the ed42 thats messing with me. Successfully converted and added a C47 a couple of hours ago.

Are there any odd syntax things I should know about in BF?
I want to live in a created universe. Virtual reality, here I come.
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Post by freddy »

for what i can see it looks like theres missing some soundfiles to the gunbarrel or the pathway may be wrong.

Code: Select all

load @ROOT/Sound/@RTD/CAMG1.wav
theres also this "../../../../../" that need to be the right dept, it should be if you kept the original folder structure from the map you got the plane from.

Code: Select all

ObjectTemplate.loadSoundScript ../../../../../Objects/Vehicles/Air/Common/Sounds/HullRight.ssc
i know faulty sound code kills the game very abrupt so altho im not 100% sure if its this messing with ya, if it had been me i had tried with remming out all soundreferrences just to be sure
User avatar
Psycho
Posts: 125
Joined: Thu Aug 25, 2011 3:31 am

Re: Vanishing object

Post by Psycho »

Code: Select all

load @ROOT/Sound/@RTD/CAMG1.wav
This path works to both for the sound folder in the bf1942 installation and the sound folder in the root of the map. And the sound file is one of the standard files in bf1942.

And of course I keept the orginal folder structure:).

Thanks anyway. I think I have to start methodicly from the beginning.
I want to live in a created universe. Virtual reality, here I come.
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Post by freddy »

no probs. cant see anything obvious wrong in the files so running out of ideas. im sure you find it tho ;)
User avatar
Senshi
Posts: 697
Joined: Sun Oct 18, 2009 1:14 pm
Location: Germany
Contact:

Re: Vanishing object

Post by Senshi »

You really should find yourself a viable solution to get the debugger running. You will find it pretty much essential in bugtracking and it really saves a lot of time and nerve. Especially once you start more complex moddings like batching together various objects or adding multiple vehicles from different sources into one map.
User avatar
Psycho
Posts: 125
Joined: Thu Aug 25, 2011 3:31 am

Re: Vanishing object

Post by Psycho »

Thanks for the "push" Senshi:).

Got the debugger working somehow. It seems that some Templates won't load.
me262bodywing
me262BodyWingVertical
me262EngineRight
me262Engineleft
me262Rudder
me262ElevatorLeft
me262ElevatorRight
me262AileronLeft
me262AileronRight

This is the Physics.con:

Code: Select all

rem ----- me262Engine Left-----
ObjectTemplate.create Engine me262Engineleft
ObjectTemplate.setNetworkableInfo me262_engine_info
ObjectTemplate.loadSoundScript Sounds/me262Engine.ssc
rem -------------------------------------
rem ObjectTemplate.addTemplate lodme262Propeller
rem ObjectTemplate.setPosition 0/0/-2
ObjectTemplate.addTemplate me262GearLeft
ObjectTemplate.setPosition 0.66/0.374/-2.171
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate me262_geardoor_li_m1
ObjectTemplate.setPosition 2.245/0.153/-2.192
ObjectTemplate.setRotation 0/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation -0.3/0/0
ObjectTemplate.setMaxRotation 0.3/0/5000
ObjectTemplate.setMaxSpeed 1000/0/400
ObjectTemplate.setAcceleration 20/0/500
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 20
ObjectTemplate.setDifferential 6
ObjectTemplate.setGearUp 0.7
ObjectTemplate.setGearDown 0.3
ObjectTemplate.setNoPropellerEffectAtSpeed 90

rem ----- me262Engine Right-----
ObjectTemplate.create Engine me262EngineRight
ObjectTemplate.setNetworkableInfo me262_engine_info
ObjectTemplate.loadSoundScript Sounds/me262Engine.ssc
rem -------------------------------------
rem ObjectTemplate.addTemplate lodme262Propeller
rem ObjectTemplate.setPosition 0/0/-3
ObjectTemplate.addTemplate me262GearRight
ObjectTemplate.setPosition -0.579/0.378/-2.171
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate me262GearFront
ObjectTemplate.setPosition -2.208/0.533/1.714
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate me262_geardoor_fr_m1
ObjectTemplate.setPosition -2.049/0.266/0.385
ObjectTemplate.setRotation 0/0/0
ObjectTemplate.addTemplate me262_geardoor_ri_m1
ObjectTemplate.setPosition -2.165/0.148/-2.192
ObjectTemplate.setRotation 0/0/0
rem -------------------------------------
ObjectTemplate.setMinRotation -0.3/0/0
ObjectTemplate.setMaxRotation 0.3/0/5000
ObjectTemplate.setMaxSpeed 1000/0/400
ObjectTemplate.setAcceleration 20/0/500
ObjectTemplate.setInputToRoll c_PIThrottle
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setEngineType c_ETPlane
ObjectTemplate.setTorque 20
ObjectTemplate.setDifferential 6
ObjectTemplate.setGearUp 0.7
ObjectTemplate.setGearDown 0.3
ObjectTemplate.setNoPropellerEffectAtSpeed 90



rem ----- me262Rudder -----
ObjectTemplate.create Wing me262Rudder
ObjectTemplate.setNetworkableInfo me262_wing_info
ObjectTemplate.geometry me262_rudder_m1
ObjectTemplate.setMinRotation 0/-13/0
ObjectTemplate.setMaxRotation 0/13/0
ObjectTemplate.setMaxSpeed 0/13/0
ObjectTemplate.setAcceleration 0/26/0
ObjectTemplate.setInputToPitch c_PIYaw
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/-0.5/0
ObjectTemplate.setWingLift 1.5
ObjectTemplate.setFlapLift 1.0

rem ----- me262BodyWingVertical -----
ObjectTemplate.create Wing me262BodyWingVertical
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/0/0
ObjectTemplate.setWingLift 2

rem ----- me262BodyWing -----
ObjectTemplate.create Wing me262BodyWing
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0/0/0
ObjectTemplate.setWingLift 3

rem ----- me262ElevatorLeft -----
ObjectTemplate.create Wing me262ElevatorLeft
ObjectTemplate.setNetworkableInfo me262_wing_info
ObjectTemplate.geometry me262_elevator_left_m1
ObjectTemplate.setMinRotation 0/-12/0
ObjectTemplate.setMaxRotation 0/12/0
ObjectTemplate.setMaxSpeed 0/12/0
ObjectTemplate.setAcceleration 0/-24/0
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0.5/0/0
ObjectTemplate.rememberExcessInput 1
ObjectTemplate.setWingLift 0.5
ObjectTemplate.setFlapLift 0.75

rem ----- me262ElevatorRight -----
ObjectTemplate.create Wing me262ElevatorRight
ObjectTemplate.setNetworkableInfo me262_wing_info
ObjectTemplate.geometry me262_elevator_right_m1
ObjectTemplate.setMinRotation 0/-12/0
ObjectTemplate.setMaxRotation 0/12/0
ObjectTemplate.setMaxSpeed 0/12/0
ObjectTemplate.setAcceleration 0/-24/0
ObjectTemplate.setInputToPitch c_PIPitch
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPositionOffset 0.5/0/0
ObjectTemplate.rememberExcessInput 1
ObjectTemplate.setWingLift 0.5
ObjectTemplate.setFlapLift 0.75

rem ----- me262AileronLeft -----
ObjectTemplate.create Wing me262AileronLeft
ObjectTemplate.setNetworkableInfo me262_wing_info
ObjectTemplate.loadSoundScript Sounds/HullLeft.ssc
ObjectTemplate.geometry me262_aileron_left_m1
ObjectTemplate.setMinRotation 0/-16/0
ObjectTemplate.setMaxRotation 0/16/0
ObjectTemplate.setMaxSpeed 0/16/0
ObjectTemplate.setAcceleration 0/-32/0
ObjectTemplate.setInputToPitch c_PIRoll
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPitchOffset 0.5
ObjectTemplate.setPositionOffset 0.5/0/0.2
ObjectTemplate.setWingLift 2
ObjectTemplate.setFlapLift 2

rem ----- me262AileronRight -----
ObjectTemplate.create Wing me262AileronRight
ObjectTemplate.setNetworkableInfo me262_wing_info
ObjectTemplate.loadSoundScript Sounds/HullRight.ssc
ObjectTemplate.geometry me262_aileron_right_m1
ObjectTemplate.setMinRotation 0/-16/0
ObjectTemplate.setMaxRotation 0/16/0
ObjectTemplate.setMaxSpeed 0/16/0
ObjectTemplate.setAcceleration 0/32/0
ObjectTemplate.setInputToPitch c_PIRoll
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setPitchOffset 0.5
ObjectTemplate.setPositionOffset -0.5/0/0.2
ObjectTemplate.setWingLift 2
ObjectTemplate.setFlapLift 2

rem ----- me262WheelLeft -----
ObjectTemplate.create Spring me262Wheelleft
ObjectTemplate.geometry me262_wheel_left_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGripWhenOccupied
rem -------------------------------------
ObjectTemplate.addTemplate e_WaterTouchPlane
ObjectTemplate.addTemplate e_wdustPlane
ObjectTemplate.addTemplate e_wdustPlaneL
rem -------------------------------------
ObjectTemplate.setStrength 16
ObjectTemplate.setDamping 8

rem ----- me262Wheelright -----
ObjectTemplate.create Spring me262Wheelright
ObjectTemplate.geometry me262_wheel_right_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGripWhenOccupied
rem -------------------------------------
ObjectTemplate.addTemplate e_WaterTouchPlane
ObjectTemplate.addTemplate e_wdustPlane
ObjectTemplate.addTemplate e_wdustPlaneL
rem -------------------------------------
ObjectTemplate.setStrength 16
ObjectTemplate.setDamping 8

rem ----- me262Wheelfront -----
ObjectTemplate.create Spring me262Wheelfront
ObjectTemplate.geometry me262_wheel_front_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.Grip c_PGFRollGripWhenOccupied
rem -------------------------------------
ObjectTemplate.addTemplate e_WaterTouchPlane
ObjectTemplate.addTemplate e_wdustPlane
ObjectTemplate.addTemplate e_wdustPlaneL
rem -------------------------------------
ObjectTemplate.setStrength 16
ObjectTemplate.setDamping 8
And this the Objects.con:

Code: Select all

rem *** me262 ***
ObjectTemplate.create PlayerControlObject Me262
ObjectTemplate.setNetworkableInfo me262_body_info
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasDynamicShadow 1
ObjectTemplate.drag 0.1135
ObjectTemplate.mass 2000
ObjectTemplate.inertiaModifier 0.6/0.6/0.8
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.explosionRadius 8
ObjectTemplate.explosionDamage 5
ObjectTemplate.hasArmor 1
ObjectTemplate.angleMod 1
ObjectTemplate.speedMod 2
ObjectTemplate.hitpoints 100
ObjectTemplate.maxhitpoints 100
ObjectTemplate.material 24
ObjectTemplate.criticalDamage 55
ObjectTemplate.hpLostWhileCriticalDamage 1.5
ObjectTemplate.explosionForceMod 15
ObjectTemplate.hpLostWhileUpSideDown 10
ObjectTemplate.hpLostWhileDamageFromWater 10
ObjectTemplate.addArmorEffect 95 em_b17Damage -2.293/-0.463/1.739
ObjectTemplate.addArmorEffect 95 em_PlaneDamage -2.293/-0.463/1.739
ObjectTemplate.addArmorEffect 70 em_b17Damage 2.285/-0.463/1.739
ObjectTemplate.addArmorEffect 70 em_PlaneDamage 2.285/-0.463/1.739
ObjectTemplate.addArmorEffect 55 e_StukaFire -2.293/-0.463/1.739
ObjectTemplate.addArmorEffect 55 e_StukaFire 2.285/-0.463/1.739
ObjectTemplate.addArmorEffect 0 e_ExplGas -2.293/-0.463/1.739
ObjectTemplate.addArmorEffect 0 e_ExplGas -2.293/-0.463/1.739
ObjectTemplate.addArmorEffect 0 e_scrapmetal_me262-b 0/0/0
ObjectTemplate.addArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.damageFromWater 1
ObjectTemplate.aiTemplate me262
rem -------------------------------------
ObjectTemplate.addTemplate lodme262
rem -------------------------------------
ObjectTemplate.setSoldierExitLocation -1.5/0/-1.5 0/0/0
ObjectTemplate.GUIIndex 32
ObjectTemplate.setVehicleIcon "Vehicle/icon_me262.tga"
ObjectTemplate.setVehicleIconPos 60/84
ObjectTemplate.setNumberOfWeaponIcons 2
ObjectTemplate.setPrimaryAmmoIcon "Ammo/Icon_bullet.tga"
ObjectTemplate.setPrimaryAmmoBar ABAmmoBar
ObjectTemplate.setSecondaryAmmoIcon "Ammo/Icon_rocket.tga"
ObjectTemplate.setSecondaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.setCrossHairType CHTIcon
ObjectTemplate.setVehicleCategory VCAir
ObjectTemplate.setVehicleType  VTFighter
ObjectTemplate.setToolTipType  TTFighter
ObjectTemplate.setMinimapIcon "Minimap/minimap_icon_plane_16x16.tga"



rem *** lodme262 ***
ObjectTemplate.create LodObject lodme262
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate me262Complex
ObjectTemplate.addTemplate me262Simple
ObjectTemplate.addTemplate me262Wreck
rem -------------------------------------
ObjectTemplate.lodSelector me262LodSelector


rem *** me262Complex ***
ObjectTemplate.create Bundle me262Complex
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate lodme262Cockpit
ObjectTemplate.addTemplate me262Camera
ObjectTemplate.setPosition 0/1.046/-0.5
ObjectTemplate.addTemplate me262Entry
ObjectTemplate.setPosition 0/0/-0.5
ObjectTemplate.addTemplate me262BodyWing
ObjectTemplate.setPosition 0/0/4.9
ObjectTemplate.addTemplate me262aileronleft
ObjectTemplate.setPosition -4.911/0.302/-1.123
ObjectTemplate.setRotation -10/0/-4.5
ObjectTemplate.addTemplate me262aileronright
ObjectTemplate.setPosition 4.906/0.302/-1.123
ObjectTemplate.setRotation 10/0/4.5
ObjectTemplate.addTemplate me262BodyWingVertical
ObjectTemplate.setPosition 0/0/1
ObjectTemplate.setRotation 0/0/-90
ObjectTemplate.addTemplate me262Elevatorleft
ObjectTemplate.setPosition -0.905/0.872/-5.848
ObjectTemplate.addTemplate me262Elevatorright
ObjectTemplate.setPosition 0.915/0.872/-5.846
ObjectTemplate.addTemplate me262Rudder
ObjectTemplate.setPosition 0.007/1.132/-5.967
ObjectTemplate.setRotation 0/0/-90
ObjectTemplate.addTemplate me262Seat
ObjectTemplate.setPosition 0/0.33/-0.5
ObjectTemplate.addTemplate me262EngineLeft
ObjectTemplate.setPosition -2.293/-0.463/1.739
ObjectTemplate.addTemplate me262EngineRight
ObjectTemplate.setPosition 2.285/-0.463/1.739
ObjectTemplate.addTemplate me262Guns
rem -------------------------------------


rem *** lodme262Cockpit ***
ObjectTemplate.create LodObject lodme262Cockpit
rem -------------------------------------
ObjectTemplate.addTemplate me262CockpitExternal
ObjectTemplate.addTemplate me262CockpitInternal
rem -------------------------------------
ObjectTemplate.lodSelector me262cockpitSelector


rem *** me262CockpitExternal ***
ObjectTemplate.create Bundle me262CockpitExternal
ObjectTemplate.geometry me262_fus_m1
ObjectTemplate.hasDynamicShadow 1
rem -------------------------------------
ObjectTemplate.addTemplate me262Cockpit
ObjectTemplate.setPosition 0.004/1.039/-0.576
rem -------------------------------------


rem *** me262Cockpit ***
ObjectTemplate.create SimpleObject me262Cockpit
ObjectTemplate.geometry me262_can_m1


rem *** me262CockpitInternal ***
ObjectTemplate.create SimpleObject me262CockpitInternal
ObjectTemplate.geometry 1p_me262_m1


rem *** me262cockpitSelector ***
LodSelectorTemplate.create DistCompareSelector me262cockpitSelector
LodSelectorTemplate.addLodDistance 10
LodSelectorTemplate.addLodComparison 0.5




rem *** me262Camera ***
ObjectTemplate.create Camera me262Camera
ObjectTemplate.setMinRotation -65/-40/0
ObjectTemplate.setMaxRotation 65/10/0
ObjectTemplate.setMaxSpeed 90/-90/0
ObjectTemplate.setAcceleration 5000/5000/0
ObjectTemplate.setInputToYaw c_PIMouseLookX
ObjectTemplate.setInputToPitch c_PIMouseLookY
ObjectTemplate.toggleMouseLook 1
ObjectTemplate.OutsideHudOffset 0/-0.7/5




rem *** me262Entry ***
ObjectTemplate.create EntryPoint me262Entry
ObjectTemplate.setEntryRadius 5.5


rem *** me262Seat ***
ObjectTemplate.create SeatObject me262Seat
ObjectTemplate.seatFlags c_SeatShowHalfBodySoldier


rem *** lodme262Propeller ***
ObjectTemplate.create LodObject lodme262Propeller
rem -------------------------------------
ObjectTemplate.addTemplate me262PropellerStatic
ObjectTemplate.addTemplate me262PropellerBlurred
ObjectTemplate.setPosition 0/0/-3.3
rem -------------------------------------
ObjectTemplate.lodSelector me262PropSelector


rem *** me262PropellerStatic ***
ObjectTemplate.create SimpleObject me262PropellerStatic
ObjectTemplate.geometry 


rem *** me262PropellerBlurred ***
ObjectTemplate.create SimpleObject me262PropellerBlurred
ObjectTemplate.geometry me262_exhaust_flame

LodSelectorTemplate.create CompareSelector me262PropSelector
LodSelectorTemplate.addLodComparison 0.08


rem *** me262LandingGearL ***
ObjectTemplate.create LandingGear me262GearLeft
ObjectTemplate.loadSoundScript Sounds/LandingGear.ssc
ObjectTemplate.geometry me262_Gear_Left_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate me262WheelLeft
ObjectTemplate.setPosition 0.311/-1.393/-0.011
rem -------------------------------------
ObjectTemplate.setMaxRotation 0/0/80.5
ObjectTemplate.setMaxSpeed 0/0/30
ObjectTemplate.setAcceleration 0/0/75
ObjectTemplate.setGearDownHeight 25
ObjectTemplate.setGearDownEngineInput 0.9
ObjectTemplate.setGearUpEngineInput 0.9


rem *** me262LandingGearR ***
ObjectTemplate.create LandingGear me262GearRight
ObjectTemplate.loadSoundScript Sounds/LandingGear.ssc
ObjectTemplate.geometry me262_Gear_Right_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate me262WheelRight
ObjectTemplate.setPosition -0.277/-1.396/-0.011
rem -------------------------------------
ObjectTemplate.setMinRotation 0/0/-82
ObjectTemplate.setMaxSpeed 0/0/30
ObjectTemplate.setAcceleration 0/0/-75
ObjectTemplate.setGearDownHeight 25
ObjectTemplate.setGearDownEngineInput 0.9
ObjectTemplate.setGearUpEngineInput 0.9

rem *** me262GearFront ***
ObjectTemplate.create LandingGear me262GearFront
ObjectTemplate.loadSoundScript Sounds/LandingGear.ssc
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate me262GearFrontRotation
ObjectTemplate.setPosition 0/0/0
rem -------------------------------------
ObjectTemplate.setMaxRotation 0/98.5/0
ObjectTemplate.setMaxSpeed 0/30/0
ObjectTemplate.setAcceleration 0/75/0
ObjectTemplate.setGearDownHeight 25
ObjectTemplate.setGearDownEngineInput 0.9
ObjectTemplate.setGearUpEngineInput 0.9

rem *** me262GearFrontRotation ***
ObjectTemplate.create RotationalBundle me262GearFrontRotation
ObjectTemplate.geometry me262_Gear_Front_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
rem -------------------------------------
ObjectTemplate.addTemplate me262WheelFront
ObjectTemplate.setPosition 0.005/-1.357/0.059
rem -------------------------------------
ObjectTemplate.setMinRotation -20/0/0
ObjectTemplate.setMaxRotation 20/0/0
ObjectTemplate.setMaxSpeed 200/0/0
ObjectTemplate.setAcceleration 1000/0/0
ObjectTemplate.setAutomaticReset 1
ObjectTemplate.setInputToYaw c_PIYaw

rem *** me262GearDoorFront ***
ObjectTemplate.create LandingGear me262_geardoor_fr_m1
ObjectTemplate.geometry me262_geardoor_fr_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.setMinRotation 0/0/-90
ObjectTemplate.setMaxSpeed 0/0/15
ObjectTemplate.setAcceleration 0/0/-40
ObjectTemplate.setGearDownHeight 25
ObjectTemplate.setGearDownEngineInput 0.55

rem *** me262GearDoorRI ***
ObjectTemplate.create LandingGear me262_geardoor_ri_m1
ObjectTemplate.geometry me262_geardoor_ri_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.setMaxRotation 0/0/92
ObjectTemplate.setMaxSpeed 0/0/15
ObjectTemplate.setAcceleration 0/0/40
ObjectTemplate.setGearDownHeight 25
ObjectTemplate.setGearDownEngineInput 0.55


rem *** me262GearDoorLI ***
ObjectTemplate.create LandingGear me262_geardoor_li_m1
ObjectTemplate.geometry me262_geardoor_li_m1
ObjectTemplate.hasMobilePhysics 1
ObjectTemplate.hasCollisionPhysics 1
ObjectTemplate.hasResponsePhysics 1
ObjectTemplate.setMinRotation 0/0/-92
ObjectTemplate.setMaxRotation 0/0/0
ObjectTemplate.setMaxSpeed 0/0/15
ObjectTemplate.setAcceleration 0/0/-40
ObjectTemplate.setGearDownHeight 25
ObjectTemplate.setGearDownEngineInput 0.55


rem *** me262Simple ***
ObjectTemplate.create SimpleObject me262Simple
ObjectTemplate.geometry me262_fus_m1


rem *** me262Wreck ***
ObjectTemplate.create Bundle me262Wreck
ObjectTemplate.geometry wreck_me262_m1
rem ----------------------------------------------------------
rem ObjectTemplate.addTemplate e_mustangFire
rem ObjectTemplate.startoneffects 1
rem ----------------------------------------------------------

rem *** me262LodSelector ***
LodSelectorTemplate.create DistCompareSelector2 me262LodSelector
LodSelectorTemplate.hasDestroyedLod 1
LodSelectorTemplate.addLodDistance 200
What I see, It seems to be in order?
I want to live in a created universe. Virtual reality, here I come.
User avatar
Senshi
Posts: 697
Joined: Sun Oct 18, 2009 1:14 pm
Location: Germany
Contact:

Re: Vanishing object

Post by Senshi »

Do you have this mounted mapside? If so, you need not only to make sure that you have a "run objects/me262/objects.con" in there but a "run objects/me262/physics.con" as well. It looks like all Physics.con data is not loaded.

If you mount new stuff mapside, you have to use "run" for every single new ".con" you include, unlike when you pack this in the objects.rfa.
User avatar
Psycho
Posts: 125
Joined: Thu Aug 25, 2011 3:31 am

Re: Vanishing object

Post by Psycho »

Senshi wrote:Do you have this mounted mapside? If so, you need not only to make sure that you have a "run objects/me262/objects.con" in there but a "run objects/me262/physics.con" as well. It looks like all Physics.con data is not loaded.

If you mount new stuff mapside, you have to use "run" for every single new ".con" you include, unlike when you pack this in the objects.rfa.
Oh damn, see now. thanks a lot. How in hell did I mess that up..:).
I want to live in a created universe. Virtual reality, here I come.
User avatar
Psycho
Posts: 125
Joined: Thu Aug 25, 2011 3:31 am

Re: Vanishing object

Post by Psycho »

Now I got all the vehicles that I planned working in the map. But I need some advice.
Since some of the planes are from FH1 I need to adjust the physics somewhat. I have allready calibrated the speed and turn radius so they better compare to the vanilla BF1942 vehicles.

But now I have a problem that some of the imported planes want's to dive or climb slightly when travelling in a straight horizontal line.
I also noticed that in the physics.con to the vanilla BF142 planes there are extra control surfaces in the front, that I guess is there just to help the planes to level correctly. The ME262 I imported however, doesen't need any extra control surfaces to level correctly.

All this is of course no problem if you use a joystick. But the thing is that I also want it to work when using a mouse.

So where do I begin?
I want to live in a created universe. Virtual reality, here I come.
Post Reply