[en] - Modding Corner > General Modding Questions
Farms
KingThranduil:
1) Thank you very much.
Which sections I need for the addition Arnor?
2)
--- Code: ---CommandSet MordorPorterCommandSet_AI
1 = Command_Stop
2 = Command_PorterExtinguishFire
3 = Command_Repair
4 = Command_PorterConstructMordorSlaughterHouse
5 = Command_PorterConstructMordorLumberMill
6 = Command_PorterConstructMordorOrcPit
7 = Command_PorterConstructMordorTrollCage
;8 = Command_PorterConstructMordorArmory
9 = Command_PorterConstructMordorSiegeWorks
10 = Command_PorterconstructMordorBattleTower
;11 = Command_PorterConstructBaraddur
12 = Command_PorterConstructMordorFortress
13 = Command_ConstructEvilmenStatue
14 = Command_ConstructEvilmenTower
15 = Command_PorterConstructMordorHaradrimPalace
16 = Command_PorterConstructEvilMenEasterlingBarracks ;;;Command_PorterConstructMordorStall
17 = Command_PorterConstructMumakilPen
18 = Command_PorterConstructDolguldurOpfer
19 = Command_PorterConstructDolguldurWallHub
20 = Command_PorterConstructMinasMorgulFortress
21 = Command_PorterConstructMordorDolGoldurPrisonForAI
22 = Command_PorterConstructMordorCirithUngolPrison_ForAI
23 = Command_PorterConstructMinasMorgulKatakombenForAI
24 = Command_PorterconstructMordorCirithTowerForAI
End
--- Ende Code ---
Why builder of Mordor, don't build a building of Evil Men?
--- Code: --- 13 = Command_ConstructEvilmenStatue
14 = Command_ConstructEvilmenTower
15 = Command_PorterConstructMordorHaradrimPalace
16 = Command_PorterConstructEvilMenEasterlingBarracks ;;;Command_PorterConstructMordorStall
17 = Command_PorterConstructMumakilPen
--- Ende Code ---
Prinz von Dol Amroth:
--- Zitat ---Why builder of Mordor, don't build a building of Evil Men?
--- Ende Zitat ---
Because you have given the builder of the AI the commandbuttons.
The right commandset is:
--- Code: ---CommandSet MordorPorterCommandSet
--- Ende Code ---
KingThranduil:
Here there is CommandSet MordorPorterCommandSet_A I
--- Code: ---CommandSet MordorPorterCommandSet_AI
1 = Command_Stop
2 = Command_PorterExtinguishFire
3 = Command_Repair
4 = Command_PorterConstructMordorSlaughterHouse
5 = Command_PorterConstructMordorLumberMill
6 = Command_PorterConstructMordorOrcPit
7 = Command_PorterConstructMordorTrollCage
;8 = Command_PorterConstructMordorArmory
9 = Command_PorterConstructMordorSiegeWorks
10 = Command_PorterconstructMordorBattleTower
;11 = Command_PorterConstructBaraddur
12 = Command_PorterConstructMordorFortress
13 = Command_ConstructEvilmenStatue
14 = Command_ConstructEvilmenTower
15 = Command_PorterConstructMordorHaradrimPalace
16 = Command_PorterConstructEvilMenEasterlingBarracks ;;;Command_PorterConstructMordorStall
17 = Command_PorterConstructMumakilPen
18 = Command_PorterConstructDolguldurOpfer
19 = Command_PorterConstructDolguldurWallHub
20 = Command_PorterConstructMinasMorgulFortress
21 = Command_PorterConstructMordorDolGoldurPrisonForAI
22 = Command_PorterConstructMordorCirithUngolPrison_ForAI
23 = Command_PorterConstructMinasMorgulKatakombenForAI
24 = Command_PorterconstructMordorCirithTowerForAI
End
--- Ende Code ---
Prinz von Dol Amroth:
--- Zitat ---Why builder of Mordor, don't build a building of Evil Men?
--- Ende Zitat ---
Do you mean why you cann't build a building or why the porter of the AI don't build a building of the Evil Men?
If you want that the AI can build a building of Evil Men you have to change his commandset, what you have already done and you have to open the base of mordor, which is named ai base - mordor.bse, in the edainmaps.big with worldbuilder.
Then you have to place your building, which you want to add, on the map and you have to change In Base to ai-base... and after that you can change the BaseProbs , where you can change the priority and the phase of your building.
--- Zitat ---Which sections I need for the addition Arnor?
--- Ende Zitat ---
Open the Playertemplate.ini
--- Code: ---PlayerTemplate FactionArnor
Side = Arnor
PlayableSide = No
Evil = No
StartMoney = 0
MaxLevelMP = #DIVIDE( PLAYER_MAX_PURCHASE_POINTS_DEFAULT PLAYER_PURCHASE_POINTS_GRANTED )
MaxLevelSP = #DIVIDE( PLAYER_MAX_PURCHASE_POINTS_GOOD PLAYER_PURCHASE_POINTS_GRANTED )
PreferredColor = R:43 G:150 B:179
StartingBuilding = MenFortress
StartingUnit1 = MenPorter
StartingUnitOffset1 = X:30 Y:200 Z:0
StartingUnit0 = MenPorter
StartingUnitOffset0 = X:1 Y:130 Z:0
StartingUnitTacticalWOTR = MenPorter ;// This unit is placed in tactical mode when playing WOTR. Add multiple lines for multiple units.
StartingUnitTacticalWOTR = MenPorter
[...]
End
--- Ende Code ---
Change PlayableSide from No into Yes
Change StartingBuilding from MenFortress into ArnorFortress
Change MenPorter into ArnorPorter
KingThranduil:
--- Zitat ---If you want that the AI can build a building of Evil Men you have to change his commandset, what you have already done and you have to open the base of mordor, which is named ai base - mordor.bse, in the edainmaps.big with worldbuilder.
--- Ende Zitat ---
Not open worldbuilder
--- Code: ---================================================================================
EXCEPTION_ACCESS_VIOLATION:
The thread tried to read from or write to a virtual
address for which it does not have the appropriate access.
Access address 0x00000001 was read from.
Exception occured at
7c342829 MSVCR71.dll+0x2829, strchr+0x18.
Version: internal
EAX:0x00003a00 EBX:0x0000003a ECX:0x00000001
EDX:0x00000001 ESI:0x041d0768 EDI:0x022a9830
EIP:0x7c342829 ESP:0x0012a80c EBP:0x0012b0cc
Flags:%00000000000000010000001000000010
CS:0x001b DS:0x0023 SS:0x0023
ES:0x0023 FS:0x003b GS:0x0000
CW:%0000000001111111
SW:%0000000000000000
TW:%1111111111111111
ErrOfs: 0x006d470b ErrSel: 0x0000001b
DataOfs: 0x0436da94 DataSel: 0x00000023
Cr0NpxState: 0x00000000
ST(0) 00000000000000000000 0.000000
ST(1) 00000000000000000000 0.000000
ST(2) 00000000000000000000 0.000000
ST(3) 00000000000000000000 0.000000
ST(4) 00000000000000000000 0.000000
ST(5) 00000000000000000000 0.000000
ST(6) 00000000000000000000 0.000000
ST(7) 0000000000000080ff3f 1.000000
7 addresses:
(unknown)(0): MSVCR71.dll+10281 strchr+24
(unknown)(0): Worldbuilder.exe+8340184 GameClientRandomVariable::getValue+327864
(unknown)(0): Worldbuilder.exe+8336460 GameClientRandomVariable::getValue+324140
(unknown)(0): Worldbuilder.exe+6780034 FXParticleSystem::CategoryModuleTemplate<6>::operator=+2600418
(unknown)(0): Worldbuilder.exe+32287476 FXParticleSystem::CategoryModuleClass<8>::s_first+3280
(unknown)(0): Worldbuilder.exe+27241 FXParticleSystem::EventModuleInfo::operator=+35
(0): (unknown mod) (unknown)
Bytes around EIP:
7c342809 24 04 c3 8d 42 ff 5b c3 33 c0 8a 44 24 08 53 8b $.ÃBÿ[Ã3ÀŠD$.S‹
7c342819 d8 c1 e0 08 8b 54 24 08 f7 c2 03 00 00 00 74 15 ØÁà.‹T$.÷Â....t.
7c342829 8a 0a 83 c2 01 3a cb 74 da 84 c9 74 51 f7 c2 03 Š.ƒÂ.:ËtÚ„ÉtQ÷Â.
7c342839 00 00 00 75 eb 0b d8 57 8b c3 c1 e3 10 56 0b d8 ...uë.ØW‹ÃÁã.V.Ø
7c342849 8b 0a bf ff fe fe 7e 8b c1 8b f7 33 cb 03 f0 03 ‹.¿ÿþþ~‹Á‹÷3Ë.ð.
--- Ende Code ---
--- Zitat ---Open the Playertemplate.ini
--- Code: ---PlayerTemplate FactionArnor
Side = Arnor
PlayableSide = No
Evil = No
StartMoney = 0
MaxLevelMP = #DIVIDE( PLAYER_MAX_PURCHASE_POINTS_DEFAULT PLAYER_PURCHASE_POINTS_GRANTED )
MaxLevelSP = #DIVIDE( PLAYER_MAX_PURCHASE_POINTS_GOOD PLAYER_PURCHASE_POINTS_GRANTED )
PreferredColor = R:43 G:150 B:179
StartingBuilding = MenFortress
StartingUnit1 = MenPorter
StartingUnitOffset1 = X:30 Y:200 Z:0
StartingUnit0 = MenPorter
StartingUnitOffset0 = X:1 Y:130 Z:0
StartingUnitTacticalWOTR = MenPorter ;// This unit is placed in tactical mode when playing WOTR. Add multiple lines for multiple units.
StartingUnitTacticalWOTR = MenPorter
[...]
End
--- Ende Code ---
Change PlayableSide from No into Yes
Change StartingBuilding from MenFortress into ArnorFortress
Change MenPorter into ArnorPorter
--- Ende Zitat ---
I did so but I want the same Arnor, which on some maps when elections Gondor
Navigation
[0] Themen-Index
[#] Nächste Seite
[*] Vorherige Sete
Zur normalen Ansicht wechseln