Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline Unknown Editor  
#1 Posted : Monday, June 26, 2017 7:19:27 AM(UTC)
Unknown Editor
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 Disapprove
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%
Sponsor
Offline Annihilationzh  
#2 Posted : Monday, June 26, 2017 8:21:59 AM(UTC)
Annihilationzh
General
Joined: 8/2/2008(UTC)
Posts: 1,779
United Kingdom

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.
thanks 1 user thanked Annihilationzh for this useful post.
Unknown Editor on 6/26/2017(UTC)
Offline AdrianeMapMaker  
#3 Posted : Monday, June 26, 2017 6:56:25 PM(UTC)
AdrianeMapMaker
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 3/8/2016(UTC)
Posts: 1,156
Philippines

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

A part of ZH worldbuilders map making community
https://discord.gg/tJ6zyGb

UserPostedImage





thanks 1 user thanked AdrianeMapMaker for this useful post.
Unknown Editor on 6/26/2017(UTC)
Offline SkyMix_RMT  
#4 Posted : Monday, June 26, 2017 7:06:34 PM(UTC)
SkyMix_RMT
Major
Joined: 2/21/2015(UTC)
Posts: 386
Portugal

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.
Check out:

My Music (Techno/House/Experimental)

My Website (GeneralsCentral)

My Youtube Channel (Inactive)

World Builder Community Discord
thanks 1 user thanked SkyMix_RMT for this useful post.
Unknown Editor on 6/26/2017(UTC)
Offline Unknown Editor  
#5 Posted : Monday, June 26, 2017 11:48:59 PM(UTC)
Unknown Editor
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%
Offline Annihilationzh  
#6 Posted : Tuesday, June 27, 2017 4:05:11 AM(UTC)
Annihilationzh
General
Joined: 8/2/2008(UTC)
Posts: 1,779
United Kingdom

Thanks: 26 times
Was thanked: 475 time(s) in 331 post(s)
Originally Posted by: Unknown Editor Go to Quoted Post
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.
thanks 1 user thanked Annihilationzh for this useful post.
UTD^Force on 6/28/2017(UTC)
Offline klingondragon  
#7 Posted : Tuesday, June 27, 2017 5:50:42 AM(UTC)
klingondragon
General
C&C Labs Staff: Labs Staff MemberMaps Staff: Maps Staff Member
Joined: 4/10/2014(UTC)
Posts: 1,591
United Kingdom
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.
Offline Unknown Editor  
#8 Posted : Tuesday, June 27, 2017 2:28:47 PM(UTC)
Unknown Editor
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%
Offline SkyMix_RMT  
#9 Posted : Tuesday, June 27, 2017 5:55:58 PM(UTC)
SkyMix_RMT
Major
Joined: 2/21/2015(UTC)
Posts: 386
Portugal

Thanks: 80 times
Was thanked: 132 time(s) in 96 post(s)
Originally Posted by: Annihilationzh Go to Quoted Post

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.

Check out:

My Music (Techno/House/Experimental)

My Website (GeneralsCentral)

My Youtube Channel (Inactive)

World Builder Community Discord
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.