Jump to content


Photo

How to build on allies mini-MCV and cranes?


  • Please log in to reply
7 replies to this topic

#1 joker169

joker169
  • Members
  • 6 posts
  • Location:Jackson, TN, USA

Posted 25 May 2008 - 04:15 PM

I'm kinda new to this type of code so work with me. :p

Any help is very much appreciated. :p
The greatest happiness is to vanquish your enemies, to chase them before you, to rob them of their wealth, to see those dear to them bathed in tears, to clasp to your bosom their wives and daughters -GENGHIS KHAN

#2 Sedistix

Sedistix
  • Members
  • 51 posts

Posted 25 May 2008 - 08:05 PM

Post your code progress thus far and we'll have a look see. Outright asking for it without providing some of your own attempts, won't result in much help.

#3 Mastermind

Mastermind

    Server Technician

  • Undead
  • 7,014 posts
  • Location:Cambridge, MA
  • Projects:MasterNews 3
  •  The Man Behind the Curtain

Posted 25 May 2008 - 09:35 PM

Add PROJECT_BUILDABILITY_FOR_ALLIES to the kindofs of whatever you want to provide buildability to allies, and that should be all you need to change.
Posted Image

Well, when it comes to writing an expository essay about counter-insurgent tactics, I'm of the old school. First you tell them how you're going to kill them. Then you kill them. Then you tell them how you just killed them.

Too cute! | Server Status: If you can read this, it's up |

#4 joker169

joker169
  • Members
  • 6 posts
  • Location:Jackson, TN, USA

Posted 26 May 2008 - 12:21 AM

Thanx guys for both replys :xcahik

Didn't expect a reply this fast, you guys rock :thumbsupsmiley:
The greatest happiness is to vanquish your enemies, to chase them before you, to rob them of their wealth, to see those dear to them bathed in tears, to clasp to your bosom their wives and daughters -GENGHIS KHAN

#5 joker169

joker169
  • Members
  • 6 posts
  • Location:Jackson, TN, USA

Posted 26 May 2008 - 12:41 AM

[codebox]Critical: XML validation error encountered in 'c:\program files (x86)\electronic arts\command & conquer 3\mod sdk\mods\mygdmod\dat
a\editedunits\gdiconstructionyard.xml':
XML validation error encountered in file:///c:/program files (x86)/electronic arts/command & conquer 3/mod sdk/mods/mygdmod/dat
a/editedunits/gdiconstructionyard.xml (line 0, position 0):
The 'KindOf' attribute is invalid - The value 'STRUCTURE SELECTABLE IMMOBILE CAN_CAST_REFLECTIONS CONSTRUCTION_YARD FS_FACTO
RY NOT_AUTOACQUIRABLE AUTO_ACQUIRABLE_BY_AI COVER AUTO_RALLYPOINT PROJECT_BUILDABILITY_FOR_ALLIES' is invalid according to its dat
atype 'uri:ea.com:eala:asset:KindOfBitFlags' - The Enumeration constraint failed.[/codebox]

This is what happened when i tried...prolly did something wrong..so heres the part of the xml that i changed

[codebox]<GameObject
id="GDIConstructionYard"
inheritFrom="BaseStructure"
SelectPortrait="Portrait_GDIConYard"
ButtonImage="Portrait_GDIConYard"
Side="GDI"
EditorSorting="STRUCTURE"
TransportSlotCount="1"
BuildCost="2500"
BuildTime="25"
PlacementViewAngle="315d"
CommandSet="GDIConstructionYardCommandSet"
EnergyProduction="10"
KindOf="STRUCTURE SELECTABLE IMMOBILE CAN_CAST_REFLECTIONS CONSTRUCTION_YARD FS_FACTORY NOT_AUTOACQUIRABLE AUTO_ACQUIRABLE_BY_AI COVER AUTO_RALLYPOINT PROJECT_BUILDABILITY_FOR_ALLIES"
RadarPriority="STRUCTURE"
CampnessValue="=$CAMPNESS_CONYARD"
ProductionQueueType="MAIN_STRUCTURE"
BuildPlacementTypeFlag="MAIN_STRUCTURE"
EditorName="GDIConstructionYard"
Description="Desc:GDIConstructionYard"
TypeDescription="Type:GDIConstructionYard">[/codebox]
The greatest happiness is to vanquish your enemies, to chase them before you, to rob them of their wealth, to see those dear to them bathed in tears, to clasp to your bosom their wives and daughters -GENGHIS KHAN

#6 Mastermind

Mastermind

    Server Technician

  • Undead
  • 7,014 posts
  • Location:Cambridge, MA
  • Projects:MasterNews 3
  •  The Man Behind the Curtain

Posted 26 May 2008 - 12:46 AM

Do you have the latest version of the Mod SDK?
Posted Image

Well, when it comes to writing an expository essay about counter-insurgent tactics, I'm of the old school. First you tell them how you're going to kill them. Then you kill them. Then you tell them how you just killed them.

Too cute! | Server Status: If you can read this, it's up |

#7 joker169

joker169
  • Members
  • 6 posts
  • Location:Jackson, TN, USA

Posted 26 May 2008 - 01:11 AM

Ok you rule.. Didn't have 5.0, and no more errors.

Although still cant build in allies base.
The greatest happiness is to vanquish your enemies, to chase them before you, to rob them of their wealth, to see those dear to them bathed in tears, to clasp to your bosom their wives and daughters -GENGHIS KHAN

#8 joker169

joker169
  • Members
  • 6 posts
  • Location:Jackson, TN, USA

Posted 26 May 2008 - 09:57 PM

Ok, nevermind mastermind turns out its all good. The mod sdk kit 5.0 overwrited my existing program in which i had CodeCats programing notes added to the file it. Thanx a mil...
The greatest happiness is to vanquish your enemies, to chase them before you, to rob them of their wealth, to see those dear to them bathed in tears, to clasp to your bosom their wives and daughters -GENGHIS KHAN




2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users