logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,537
Total Threads: 8,626
Posts: 94,207

Administrators:
DeeZire, Redemption

There are currently 102 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements

DeeZire Online > Editing Community > Command and Conquer Editing > Generals & Zero Hour Editing » W3DOverlordTankDraw And FIREPOINT01 (SOLVED!!!!)

Generals & Zero Hour Editing Discuss any modding related issues to do with Generals and Zero Hour here.

Reply
 
LinkBack Thread Tools
Old 11-06-2005, 04:28 PM   #1 (permalink)
Junior Member
 
Join Date: Feb 2005
Posts: 16
Default W3DOverlordTankDraw And FIREPOINT01 (SOLVED!!!!)

;===============================================
;PRELUDE
;------------------------------------------------------------------------------------
I have not been able to solve this problem yet.

I have searched the forums and it has been solved but the solution is never posted clearly afterwords.
;===============================================

;===============================================
WANTED RESULT:
;------------------------------------------------------------------------------------
I want to attach an object on top of another, just like the overlord has upgrades for attachements.

I have a unit that will have a upgrade for a rockect turret on its back
I have a command center that will spawn with 5 built in turrets
and I am sure I will be using this attachement method more for other objects in game.

;===============================================
PROBLEM:
;------------------------------------------------------------------------------------
The attachment is functional but does not do the following:

The attachement does not sit on the FIREPOINT bone
The attahement does sits at the pivot point base of its parent object
The attachement does not move with the turret piece
;===============================================


To make it easier to figure out I have created a test object
It is quite simple. A box with a FIREPOINT bone. The object will be a building with code added from the overlord. It will have the overlord command set so it should be able to just build a gattling gun on top. This prevents me from having to write an Upgrade or OLC so I can make sure thoes are not the problem.

Just so you know. I have linked the firepoint bone to the box which I renamed CHASSIS for no particular reason. I am modding for Generals, not ZeroHour for particular reasons.


Want to see the box? here it is!

[img]http://img240.imageshack.us/img240/1209/box3vc.jpg/img]

Want to see my code? here it is!


Code:
;MOUNT TEST
Object BOX

Draw                     = W3DOverlordTankDraw ModuleTag_01
;Draw                     = W3DModelDraw  ModuleTag_01
 ExtraPublicBone = FIREPOINT01
 OkToChangeModelColor   = Yes

 ConditionState         = NONE
   Model               = BOX
 End
End

    PlacementViewAngle  = -135
;#### DESIGN PARAMETERS ##############################################################################################################################

  DisplayName           = OBJECT:DarkFortress
  Side                  = America
  EditorSorting         = STRUCTURE
  BuildCost             = 2000
  BuildTime             = 5.0           ; in seconds
  EnergyProduction      = 0   ;Command Center should be free
  CommandSet = ChinaTankOverlordDefaultCommandSet
  VisionRange           = 300.0           ; Shroud clearing distance
  ShroudClearingRange = 300
  ArmorSet
    Conditions          = None
    Armor               = StructureArmorTough
    DamageFX            = StructureDamageFXNoShake
  End
  ExperienceValue     = 200 200 200 200  ; Experience point value at each level

;#### AUDIO PARAMETERS ###############################################################################################################################

  VoiceSelect           = CommandCenterUSASelect
  SoundDie              = BuildingDie
  SoundOnDamaged        = BuildingDamagedStateLight
  SoundOnReallyDamaged  = BuildingDestroy
  UnitSpecificSounds
    UnderConstruction     = UnderConstructionLoop
  End

;#### ENGINEERING PARAMETERS #########################################################################################################################

  RadarPriority       = STRUCTURE
  KindOf              = PRELOAD STRUCTURE SELECTABLE IMMOBILE COMMANDCENTER SCORE CAPTURABLE FS_FACTORY AUTO_RALLYPOINT MP_COUNT_FOR_VICTORY
  Body                = StructureBody ModuleTag_08
    MaxHealth         = 1000.0
    InitialHealth     = 1000.0
  End

Behavior = PreorderCreate ModuleTag_PreorderCreate
  End

  Behavior = OverlordContain ModuleTag_06 ; Like Transport, but when full, passes transport queries along to first passenger (redirects like tunnel)
    Slots                 = 1
    DamagePercentToUnits        = 100%
    AllowInsideKindOf     = PORTABLE_STRUCTURE
    PassengersAllowedToFire = Yes
    PassengersInTurret = Yes ; My passengers ride in my turret, that's where the Firepoint bones are
  End

  Behavior = ObjectCreationUpgrade ModuleTag_07
    UpgradeObject = OCL_OverlordGattlingCannon
    TriggeredBy   = Upgrade_ChinaOverlordGattlingCannon
    ConflictsWith = Upgrade_ChinaOverlordPropagandaTower Upgrade_ChinaOverlordBattleBunker
  End
  Behavior = ObjectCreationUpgrade ModuleTag_08
    UpgradeObject = OCL_OverlordPropagandaTower
    TriggeredBy   = Upgrade_ChinaOverlordPropagandaTower
    ConflictsWith = Upgrade_ChinaOverlordGattlingCannon Upgrade_ChinaOverlordBattleBunker
  End
  Behavior = ObjectCreationUpgrade ModuleTag_09
    UpgradeObject = OCL_OverlordBattleBunker
    TriggeredBy   = Upgrade_ChinaOverlordBattleBunker
    ConflictsWith = Upgrade_ChinaOverlordGattlingCannon Upgrade_ChinaOverlordPropagandaTower
  End
  Behavior = ProductionUpdate ModuleTag_10
    MaxQueueEntries = 1; So you can't build multiple upgrades in the same frame
  End
  Behavior = CommandSetUpgrade ModuleTag_11
    CommandSet = ChinaTankOverlordGattlingCannonCommandSet
    TriggeredBy   = Upgrade_ChinaOverlordGattlingCannon
    ConflictsWith = Upgrade_ChinaOverlordPropagandaTower Upgrade_ChinaOverlordBattleBunker
  End
  Behavior = CommandSetUpgrade ModuleTag_12
    CommandSet = ChinaTankOverlordPropagandaTowerCommandSet
    TriggeredBy   = Upgrade_ChinaOverlordPropagandaTower
    ConflictsWith = Upgrade_ChinaOverlordGattlingCannon Upgrade_ChinaOverlordBattleBunker
  End
  Behavior = CommandSetUpgrade ModuleTag_13
    CommandSet = ChinaTankOverlordBattleBunkerCommandSet
    TriggeredBy   = Upgrade_ChinaOverlordBattleBunker
    ConflictsWith = Upgrade_ChinaOverlordGattlingCannon Upgrade_ChinaOverlordPropagandaTower
  End


  Behavior = RadarUpdate ModuleTag_12
    RadarExtendTime   = 4000     ;in mSeconds
  End

  Behavior = DefaultProductionExitUpdate ModuleTag_13
    UnitCreatePoint   = X: 0.0  Y:  0.0   Z:0.0
    NaturalRallyPoint = X: 80.0  Y:  0.0   Z:0.0;NaturalRallyPointX must always match GeometryMajorRadius! -ML
  End

  Behavior             = DestroyDie ModuleTag_15
     ;nothing
  End
  Behavior             = CreateObjectDie ModuleTag_16
    CreationList  = OCL_LargeStructureDebris
  End

  Behavior             = CreateObjectDie ModuleTag_17
    CreationList  = OCL_AmericanRangerDebris10
    ExemptStatus  = UNDER_CONSTRUCTION
  End

  Behavior             = FXListDie ModuleTag_18
    DeathFX       = FX_StructureMediumDeath
  End

  Behavior = FlammableUpdate ModuleTag_30
    AflameDuration = 5000         ; If I catch fire, I'll burn for this long...
    AflameDamageAmount = 5       ; taking this much damage...
    AflameDamageDelay = 500       ; this often.
  End

  Geometry            = BOX
  GeometryMajorRadius = 20
  GeometryMinorRadius = 20
  GeometryHeight      = 150
  GeometryIsSmall     = No
  FactoryExitWidth    = 0     ; How much space to leave for units exiting.
  Shadow              = SHADOW_VOLUME
  BuildCompletion     = PLACED_BY_PLAYER

End
What would be really helpfully is a good explanation with steps on what needs to be added for my turret to work.

Please Help me. I tired to Make this post the best I could
ScrollMaster is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-06-2005, 04:37 PM   #2 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Germany
Posts: 363
Send a message via ICQ to Dibelius
Default

dude, post the code of the attached object, too.
I guess there's the mistake.
Dibelius is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-06-2005, 04:49 PM   #3 (permalink)
Junior Member
 
Join Date: Feb 2005
Posts: 16
Default

Quote:
Originally Posted by Dibelius
dude, post the code of the attached object, too.
I guess there's the mistake.
The Attached Objects are already in the game. The ChinaGattllingGun, Bunker, and Speaker Tower have not been tampered with. So there really is no reason to post thoes. It is something wrong with the parent Object so please focus on helping me fix this object.
ScrollMaster is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-07-2005, 01:23 AM   #4 (permalink)
Senior Member
 
Join Date: Apr 2005
Location: Gamers Heaven
Posts: 781
Send a message via AIM to SmokeyDaBear Send a message via MSN to SmokeyDaBear Send a message via Yahoo to SmokeyDaBear
Default

well, if the FIREPOINT bone dont work, try inputing SPAWNPOINT01 as the bones and or DUM_TURRET01. As for the turret, the model of the attachment itself should be the turret...
SmokeyDaBear is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-07-2005, 11:36 AM   #5 (permalink)
Senior Member
 
Join Date: Jun 2003
Location: Germany
Posts: 363
Send a message via ICQ to Dibelius
Default

so, I guess "W3DOverlordTankDraw" doesn't work with KindOf = STRUCTURE
reason: logical error
Dibelius is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-07-2005, 01:09 PM   #6 (permalink)
Senior Member
 
Join Date: Apr 2005
Location: Gamers Heaven
Posts: 781
Send a message via AIM to SmokeyDaBear Send a message via MSN to SmokeyDaBear Send a message via Yahoo to SmokeyDaBear
Default

thats what im guessing too, cause this one time when i put firepoint on a structure, it never worked for me...
SmokeyDaBear is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-10-2005, 04:13 PM   #7 (permalink)
Junior Member
 
Join Date: Feb 2005
Posts: 16
Default

I having the same diffucuilt with units but I had saw a thraed here where someone used it ontop of a SpeakerTower. There is just something stupid that is missing mostlikey
ScrollMaster is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-10-2005, 05:38 PM   #8 (permalink)
Junior Member
 
Join Date: Feb 2005
Posts: 16
Default

I have checked and replaced my graphic with the overlord tank and the bone works now. So it has to do something with exporting. Is there anything special I have to?
ScrollMaster is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-10-2005, 06:07 PM   #9 (permalink)
Senior Member
 
Join Date: Apr 2005
Location: Gamers Heaven
Posts: 781
Send a message via AIM to SmokeyDaBear Send a message via MSN to SmokeyDaBear Send a message via Yahoo to SmokeyDaBear
Default

as far as what? Getting the other model to spawn on the bone, what exactly are you asking of?
SmokeyDaBear is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 11-10-2005, 06:07 PM   #10 (permalink)
Junior Member
 
Join Date: Feb 2005
Posts: 16
Default

I have figured it out.

EVERYONE WHEN YOU EXPORT. MAKE SURE EXPORT TRANSFORM (BONE) IS CHECKED ON FIREPOINT01

see and this is silly because you know what. I havent had to check that for anything like muzzle or anything else. Too bad no one was able to help me.
ScrollMaster is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I´m not sure what i need .... HELP[Solved] Kulturbanause Generals & Zero Hour Editing 7 07-23-2005 08:27 AM
[SOLVED]Fog of War? RedLeader Generals & Zero Hour Editing 7 03-10-2005 06:00 PM
[SOLVED]Changes? RedLeader LOTR: Battle For Middle Earth I & II Editing 2 01-08-2005 09:48 PM
Voices[SOLVED] RedLeader Generals & Zero Hour Editing 1 08-24-2004 08:22 AM
W3DOverlordTankDraw module guyee Generals & Zero Hour Editing 2 09-10-2003 12:27 PM


All times are GMT -4. The time now is 09:11 AM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.0 Release Candidate 2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.