Major Joined: 3/22/2017(UTC) Posts: 278 Location: Some where on Earth
Thanks: 123 times Was thanked: 69 time(s) in 59 post(s)
|
So , This is the code I used for my Map : Code:Locomotor DAM_BoatLocomotor
Surfaces = WATER
Speed = 60 ; in dist/sec
SpeedDamaged = 40 ; in dist/sec
TurnRate = 60 ; in degrees/sec
TurnRateDamaged = 40 ; in degrees/sec
Acceleration = 50 ; in dist/(sec^2)
AccelerationDamaged = 30 ; in dist/(sec^2)
Lift = 120 ; in dist/(sec^2)
LiftDamaged = 80 ; in dist/(sec^2)
Braking = 50 ; in dist/(sec^2)
MinTurnSpeed = 10 ; in dist/sec
PreferredHeight = 4 ; at 1, 2, 3, the unit shakes from rounding. at 0 the SurfaceRelativeHeight flag is ignored.
AllowAirborneMotiveForce = Yes
ZAxisBehavior = SURFACE_RELATIVE_HEIGHT
Appearance = HOVER
PitchStiffness = 0.9 ; stiffness of the "springs" in the suspension forward & back.
RollStiffness = 0.95 ; stiffness of the "springs" in the suspension side to side.
PitchDamping = 0.9 ; How fast it damps. 0=perfect spring, bounces forever. 1=glued to terrain.
RollDamping = 0.9 ; How fast it damps. 0=perfect spring, bounces forever. 1=glued to terrain.
ForwardVelocityPitchFactor = -0.1 ; How much velocity will cause the front to lift/dip
LateralVelocityRollFactor = 0.1 ; How much cornering will cause the chassis to roll.
Apply2DFrictionWhenAirborne = Yes
AirborneTargetingHeight = 30
LocomotorWorksWhenDead = No
End
Object BoatAsianFishing
ReplaceModule UpdateTag_01
Behavior = FloatUpdate UpdateTag_01_Override
Enabled = Yes
End
End
Locomotor = SET_NORMAL DAM_BoatLocomotor
Locomotor = SET_WANDER DAM_BoatLocomotor
Locomotor = SET_PANIC DAM_BoatLocomotor
End
Object BoatFishingTrowler
ReplaceModule UpdateTag_01
Behavior = FloatUpdate UpdateTag_01_Override
Enabled = Yes
End
End
Locomotor = SET_NORMAL DAM_BoatLocomotor
Locomotor = SET_WANDER DAM_BoatLocomotor
Locomotor = SET_PANIC DAM_BoatLocomotor
End
Object BoatTugboat
ReplaceModule UpdateTag_01
Behavior = FloatUpdate UpdateTag_01_Override
Enabled = Yes
End
End
Locomotor = SET_NORMAL DAM_BoatLocomotor
Locomotor = SET_WANDER DAM_BoatLocomotor
Locomotor = SET_PANIC DAM_BoatLocomotor
End
My Problem is : When ever I QUIT The Map or Restart it Game Crashes and so ... After 30 Mins of Looking I found this Code Made this Crashes But Can't Understand the Problem PLZ Help ; If Anyone Has seen this Before THANKS FOR READING Edited by user Monday, June 26, 2017 7:20:47 AM(UTC)
| Reason: Not specified |
Asking is Not a Problem , Problem is Not to Know Something .
Operation : Dark Angel Static : Launch Delayed Reason : Uncool Terrain - Old Logic in use - Lack of Performance Status : Applying new Terrain - Applying new Logic - Increasing Performance by 300% |
|
|
|
General Joined: 8/2/2008(UTC) Posts: 1,779 Thanks: 26 times Was thanked: 475 time(s) in 331 post(s)
|
Use an existing locomotor instead of creating a new one. |
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.
I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me. |
1 user thanked Annihilationzh for this useful post.
|
|
|
General Joined: 3/8/2016(UTC) Posts: 1,156 Thanks: 312 times Was thanked: 185 time(s) in 149 post(s)
|
Yah Annihilationzh is right just use a existing one then try to edit it ... it may cause a crash if you add new one Edited by user Monday, June 26, 2017 7:36:11 PM(UTC)
| Reason: Not specified |
|
1 user thanked AdrianeMapMaker for this useful post.
|
|
|
Major Joined: 2/21/2015(UTC) Posts: 386 Thanks: 80 times Was thanked: 132 time(s) in 96 post(s)
|
That's one of the limits of using a map.ini, you cannot create new ones only modify existing ones, just use a CINE_ locomotor. |
|
1 user thanked SkyMix_RMT for this useful post.
|
|
|
Major Joined: 3/22/2017(UTC) Posts: 278 Location: Some where on Earth
Thanks: 123 times Was thanked: 69 time(s) in 59 post(s)
|
Thanks , I was afraid If I can't make This Boats Floated and movable on water , but why should EA really have made this many LIMITATIONs on the Game ? I really can't see . No Dams (Work like Missions ; Just if Changed in game Data) , no etc ... |
Asking is Not a Problem , Problem is Not to Know Something .
Operation : Dark Angel Static : Launch Delayed Reason : Uncool Terrain - Old Logic in use - Lack of Performance Status : Applying new Terrain - Applying new Logic - Increasing Performance by 300% |
|
|
|
General Joined: 8/2/2008(UTC) Posts: 1,779 Thanks: 26 times Was thanked: 475 time(s) in 331 post(s)
|
Originally Posted by: Unknown Editor Thanks , I was afraid If I can't make This Boats Floated and movable on water , but why should EA really have made this many LIMITATIONs on the Game ? I really can't see . No Dams (Work like Missions ; Just if Changed in game Data) , no etc ... Map.ini was never a priority part of the game devs, so it ended up being quite buggy. Speaking of which, replace modules cause quite a few crashes. Much better to just use remove and add. |
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.
I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me. |
1 user thanked Annihilationzh for this useful post.
|
|
|
General Joined: 4/10/2014(UTC) Posts: 1,591 Location: Laniakea; Virgo Supercluster; Local Sheet; Local Group; Milky Way Galaxy; Orion–Cygnus Arm; Gould Belt; Local Bubble; Local Interstellar Cloud; Sol System; Sol III; Europe; United Kingdom of Great Britain and Northen Ireland; Great Britain; England; Essex Thanks: 16 times Was thanked: 247 time(s) in 217 post(s)
|
EA only used map.ini to change little things for missions. If it was only going to be used once, they'd put it into the game code completely. So: Changing the commandset of a command center: map.ini Adding a special unit for the mission: core ini code
mappers can do more with map.ini than EA ever actually did. |
|
|
|
|
Major Joined: 3/22/2017(UTC) Posts: 278 Location: Some where on Earth
Thanks: 123 times Was thanked: 69 time(s) in 59 post(s)
|
Sure ; EA has added CINE Units , CINE Locomotors , CINE Weapons , CINE Everything ... than setting up a System that works by map.ini ; They could have made a World builder which preffers map.ini and then we could add our CINE Units added by our selves ; So , Hope One Day EA Stop making Futuristic Sterategy Games and Again Build another Upgrade for C&C Generals ; Just like Zero Hour . |
Asking is Not a Problem , Problem is Not to Know Something .
Operation : Dark Angel Static : Launch Delayed Reason : Uncool Terrain - Old Logic in use - Lack of Performance Status : Applying new Terrain - Applying new Logic - Increasing Performance by 300% |
|
|
|
Major Joined: 2/21/2015(UTC) Posts: 386 Thanks: 80 times Was thanked: 132 time(s) in 96 post(s)
|
Originally Posted by: Annihilationzh Speaking of which, replace modules cause quite a few crashes. Much better to just use remove and add.
Really? This never occurred to me. Can you give an example where replace module causes the crash and remove and add doesn't? I've always used replace and I never faced problems like that. |
|
|
|
|
Users browsing this topic |
Guest
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.