Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
attacking or garrisoning a building
#5
ok, i found that file. thanks.

A Note On Structure Numbers
When used in ScriptTypes, the structure number takes any of several formats and is derived by finding the structure in the [BuildingTypes] list of RULES(MD).INI and subtracting ONE from this structures' number in that list (equivalent to renumbering the list from 0) - this is the explicit number of that structure and is the number to use as the second parameter of the action. Any one of several amendments can be made to this number;-

- add 131072 to the number, so GAPOWR (number 1 in RULES(MD).INI thus number 0 for this purpose) becomes 131072

- add 196608 to the number, so GAPOWR (number 1 in RULES(MD).INI thus number 0 for this purpose) becomes 196608

- add 65534 to the number, so GAPOWR (number 1 in RULES(MD).INI thus number 0 for this purpose) becomes 65534

It has not been determined what significance or effect the different numbering systems have (if any). Changing them at random appears to have no effect although it is thought that there is additional logic attached to them.


i guess you were referring to this. what i do not understand is how to make the computer garrison buildings. i put the 64,0 in the aimd, but they just go to attack. like the paratroopers, they drop and attack even if they were drop a ways from the nearest enemy instead of garrison. the number 1 is that referring to the listing of the building?

[BuildingTypes]
;1=GAPOWR
;2=GAREFN
;3=GACNST
;4=GAPILE
These are my buildings that are added for a new mod that is in the works. Right now I am trying to get the Americans working first. Did I correctly modify the AIMD file? (Included)

407=ALLCON ; Allied Construction Yard
408=ALLPOW ; Allied Power Plant
409=ALLAPOW ; Allied Advanced Power Plant
410=ALLOIL ; Allied Oil Derrick
411=ALLREF ; Allied Refinery
412=ALLBAR ; Allied Barracks
413=ALLADV ; Allied Advanced Barracks
414=ALLWAR ; Allied WarFactory
415=ALLAFC ; Allied Air Force Command
416=ALLRAD ; Allied Radar
417=ALLTECH ; Allied Battle Lab
418=AINDUSTRY ; Industrial Plant
419=ALLDEPOT ; Allied Service Depot
420=ALLNAVY ; Allied Navel Yard
421=ALLGUARDTOWER ; Allied Guard Tower
422=ALLBUNKER1 ; Allied Bunker1
423=ALLBUNKER2 ; Allied Bunker2
424=ALLFLAK ; Allied Flak Cannon
425=ALLAIR

; ******************************** Soviet Buildings *******************************

426=SOVCON ; Soviet Construction Yard
427=SOVPOW ; Soviet Power Plant
428=SOVAPOW ; Allied Advanced Power Plant
429=SOVOIL ; Soviet Oil Derrick
430=SOVREF ; Soviet Refinery
431=SOVBAR ; Soviet Barracks
432=SOVADV ; Soviet Advanced Barracks
433=SOVWAR ; Soviet WarFactory
434=SOVAFC ; Soviet Air Force Command
435=SOVRAD ; Soviet Radar
436=SOVTECH ; Soviet Battle Lab
437=SINDUSTRY ; Industrial Plant
438=SOVDEPOT ; Soviet Service Depot
439=SOVNAVY ; Soviet Navel Yard
440=SOVGUARDTOWER ; Soviet Guard Tower
441=SOVBUNKER1 ; Soviet Bunker1
442=SOVBUNKER2 ; Soviet Bunker2
443=SOVFLAK ; Soviet Flak Cannon
444=SOVAIR

; ******************************** German Buildings *****************************

445=GERCON ;German Construction Yard
446=GERPOW ; German Power Plant
447=GERAPOW ; Allied Advanced Power Plant
448=GEROIL ; German Oil Derrick
449=GEREFN ; German Refinery
450=GERBAR ; German Barracks
451=GERADV ; German Advanced Barracks
452=GERWAR ; German WarFactory
453=GERRAD ; German Radar
454=GERTECH ; German Battle Lab
455=GINDUSTRY ; Industrial Plant
456=GERDEPOT ; German Service Depot
457=GERNAVY ; German Navel Yard
458=GERGUARDTOWER ; German Guard Tower
459=GERBUNKER1 ; German Bunker1
460=GERBUNKER2 ; German Bunker2
461=GERFLAK ; German Flak Cannon
462=GERAFC ;Soviet Air Force
463=GERAIR ;German AFC
Poland's Revenge......... a CAJE production...........release date 1/1/2011
Reply


Messages In This Thread
RE: attacking or garrisoning a building - by Drizzt DoUrden - 24.05.2008, 12:08:12



Users browsing this thread: 1 Guest(s)