Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
attacking building with spies or engingeers
#1
When you attack a building with spies or engineers does it matter if you use building number? ex: power i building 1 so attack 1 or do you have to use the 65534 or 131072 or 196608. I know the AI file that came with the editor or deezires say it does not matter, but it seems that the AI sends spies and engineers to only 2 buildings when my aimd tells them to attack all. All have own scripts so they should attack. Another question is why do the attacking spies not disguise themselves when the script tells them to:

0=0,4
1=47,131072
2=46,131072
3=46,131072

they are attacking the battle lab in this script
Reply
#2
the offset number controls something, but i can't remember what
try looking on modenc
Reply
#3
+0 (no offset) ?= goes to the building that is closest to the top of the map and reachable

+65534 ?= doesn't go anywhere even if all buildings are reachable

+131072 ?= goes to the building that the team is currently closest to

+196608 ?= goes to the second reachable building within a certian min/max distance range, also must be enemy to attack
[Image: MRMIdAS2k.jpg]
MRMIdAS: No longer allowed to criticise Westwood on PPM
Reply
#4
... No.

Worth playing: 1 | 2 | 3
Reply
#5
Oh, that's what PPM reckon.
[Image: MRMIdAS2k.jpg]
MRMIdAS: No longer allowed to criticise Westwood on PPM
Reply
#6
  • Value 0 - pick structure whose position poses the least threat
  • Value 1 - pick structure whose position poses the most threat
  • Value 2 - pick structure which is closest to you
  • Value 3 - pick structure which is the farthest away from you
Multiply Value by 65536 to get the final offset.

Worth playing: 1 | 2 | 3
Reply
#7
ok, but what about my spy not disguising himself. He walks into my base easy to spot.
Reply
#8
(19.10.2008, 19:15:20)Nikademis Von Hisson Wrote: ok, but what about my spy not disguising himself. He walks into my base easy to spot.

Make him attack infantry before he does anything else. THEN send him to the CLOSEST whatever you want to infiltrate, as they will usually have the closest infantry too.
[Image: MRMIdAS2k.jpg]
MRMIdAS: No longer allowed to criticise Westwood on PPM
Reply
#9
no, what I meant was the original script says:


0=0,4
1=47,131081
2=46,9
3=47,131083
4=46,11

if I read everything about this in modenc the spy attacks inf giving him the disguise, line 0 (0=0,4) every thing else in the script is the sov power plant
Reply
#10
Make him do it twice.

Just to make sure.

Either that or he's finding enemy infantry that are closer to him than you, and disguising himself as the wrong team.
[Image: MRMIdAS2k.jpg]
MRMIdAS: No longer allowed to criticise Westwood on PPM
Reply




Users browsing this thread: 1 Guest(s)