Jump to content


Zdav'

Member Since 20 Feb 2010
Offline Last Active Nov 03 2013 10:56 PM

Posts I've Made

In Topic: [BFME1] Summon Ent Moot

05 February 2011 - 05:22 PM

thanks for answer,

This script does not exist for players in WB1 (it's available for Units only)

I'v tested this one and it seems to does not work:

*** IF ***
     Unit 'Merry' is inside  area 'Ent council'
    *AND*  Unit 'Pippin' is inside  area 'Ent council'
*** THEN ***
      Player '<Local Player>' fire Special power 'SpellBookEntAllies' on nearest object of 'EntMoot' to Team '<This Team>' owned by Player 'Player_2'

I've tested this one:

*** IF ***
     Unit 'Merry' is inside  area 'Ent council'
    *AND*  Unit 'Pippin' is inside  area 'Ent council'
*** THEN ***
   Unit 'Ent council' is transferred to the command of Player 'Player_2'
  Spawn unit of type 'RohanEntFir_Summoned' on Team 'teamPlayer_2' at waypoint Waypoint 'Ent 1'
  Spawn unit of type 'RohanEntFir_Summoned' on Team 'teamPlayer_2' at waypoint Waypoint 'Ent 3'
  Spawn unit of type 'RohanEntBirch_Summoned' on Team 'teamPlayer_2' at waypoint Waypoint 'Ent 2'
  Spawn unit of type 'RohanEntBirch_Summoned' on Team 'teamPlayer_2' at waypoint Waypoint 'Ent 4'
  Play Sound 'EntsToWar' as though it was a 2D sound (NOT RECOMMENDED for 3D sounds).
But i dont have ent council annimation and ents are instantly summoned in the map

In Topic: AI script:: "if player 2 = Comp. controlled do this action..."

11 January 2011 - 08:10 PM

I think if you do what i told up there, it might work, because those things are defined for each AI, so it should work.

Though you could try this...
Check for each player if they have AI_On flag set to true or not. True means its AI
Just make a script in each' player's script folder that checks for AI_On == true
if it is true then make it set a new counter or whatever like "Player_1_AI" to 1
that way you could check which of the players are AI. So you could make scripts for each player that does whatever you want for them.



It works perfectly! :sleep:
I will able to make a singleplayer version for my map
Thanks a lot for your advice.

And good work for your mod!!! I haven't played BFME/ROTWK for years, but since i discove your mod it is one more reason for me to install it again :p .

In Topic: AI script:: "if player 2 = Comp. controlled do this action..."

07 January 2011 - 03:07 PM

Thanks for reply

Unfortunatly, actually it s for a map without ini modifications, ive did a multiplayer one, and i wanted to create an AI version wich one is a little improved, like managing gates, build buildings and upgrades...

I saw if add AI in "player list" that AI scripts appears as 'imported scripts" in scripts section, so there is diffenrent kind of AI and i don't know what to use, and what can i do with.

Btw take a look to my map: Middle Earth

In Topic: Exception Access Violation

07 January 2011 - 10:54 AM

I had this problem when i had a new PC with Win 7

Try to run it as an administrator, since i do that it works perfectly*.

(*Except some WB functions are differents : For select objects i have to select the black dot, i could select object directly before , and the item list selection does not show objects anymore..)

In Topic: AI script:: "if player 2 = Comp. controlled do this action..."

07 January 2011 - 10:48 AM

The upgrade option was a good one, but it does not works :D

No more available solutions to identify AI players?