Jump to content


Photo

Need Help...BFME2 ROTWK


  • Please log in to reply
3 replies to this topic

#1 Sindarin

Sindarin

    title available

  • Project Team
  • 281 posts
  • Projects:Tol Eressëa MOD - WOTE
  •  Skinner - Coder - Mapper - Modeler

Posted 24 April 2010 - 01:11 PM

Hi...
Got this problem...
I need to know how summon a NEUTRAL balrog via script in WB...
I've alredy look other scripts (like dol-guldur and similar)...
Some suggestion?

NEUTRAL means that this balrog attack all the players in the map...a skirmish map...

Any help?

Tnx...

Edited by Sindarin, 24 April 2010 - 01:38 PM.


Posted Image


#2 JUS_SAURON

JUS_SAURON

    El Shaddai

  • Members
  • 1,581 posts
  • Location:Trinidad
  • Projects: BFME2 MOD - Power Of The Ring
  •   INI Coder

Posted 24 April 2010 - 03:45 PM

Hi...
Got this problem...
I need to know how summon a NEUTRAL balrog via script in WB...
I've alredy look other scripts (like dol-guldur and similar)...
Some suggestion?

NEUTRAL means that this balrog attack all the players in the map...a skirmish map...

Any help?

Tnx...


Of the top of my head..


If player 1 has units in area Balrog_summon
If player 2 has units in area Balrog_summon

THEN
Player creeps use specialpower summon balrog at waypoint Balrog

---------------------------
make a waypoint Balrog and a way area Balrog_summon


Put the balrog as a Creep ..that should work
Creep Faction means that this balrog attack all the players in the map...a skirmish map...

For multiple sommoning i.e using this SCRIPT to summon more than once

Add :

Trigger script every 30 sec
If Player creeps has units in area Balrog summon then Deactivate Script
Else Reactivate script

-------------------------------------
I posted then answer to this a while back with a summon Watcher script !
search the WB froum

OR download my mod which has a map with the full script ... the 3rdage.net

Edited by JUS_SAURON, 24 April 2010 - 03:53 PM.


#3 Puzzler33

Puzzler33
  • Members
  • 226 posts

Posted 24 April 2010 - 03:54 PM

***IF***
(Conditions for spawning)

***THEN***
Spawn unit of type 'MordorBalrogEgg' on team 'TeamPlyrCreeps' at waypoint (waypoint name)
Spawn unit of type 'MordorBalrogEggPlaceHolder' on team 'TeamPlyrCreeps' at waypoint (the same waypoint)

You will find MordorBalrogEgg/MordorBalrogEggPlaceHolder in Civilian>NONE. You can always go for Neutral>Unit and use MordorBalrog but you won't get the summoning effects.

PlyrCreeps is set up (along with some others) when you click 'Add Skirmish Players'. (Edit>One of the team options near the bottom of the list - I forget which>Add Skirmish Players in the window).

In response to the post above, I'm pretty sure you can't make Creeps use the BalrogSummon science.

Edited by Puzzler33, 24 April 2010 - 03:55 PM.

Posted Image

#4 JUS_SAURON

JUS_SAURON

    El Shaddai

  • Members
  • 1,581 posts
  • Location:Trinidad
  • Projects: BFME2 MOD - Power Of The Ring
  •   INI Coder

Posted 24 April 2010 - 03:59 PM

Spawn unit of type 'MordorBalrogEggPlaceHolder' on team 'TeamPlyrCreeps' at waypoint
is what I meant ( without opening up WB) :)

------------------------------------------
Balrog1 : active /Every 30 sec

If *** IF ***
Player 'Player_1' has units in area 'BALROG'.
*** OR ***
Player 'player_2' has units in area 'BALROG'.
*** THEN ***
Run Subroutine 'Balrog2'.

Balrog2 : active /subroutine/Every 30 sec

*** IF ***
Player 'Player_1' has units in area 'BALROG'.
*** OR ***
Player 'Player_2' has units in area 'BALROG'.

*** THEN ***
Spawn object 'MordorBalrogEggPlaceHolder' in Team 'PlyrCreeps/teamPlyrCreeps' at position ((4339.00,2388.00,45.00)), rotated 0.00 degrees .
The map is permanently revealed in trigger area 'BALROG' for Player '<All Players>'. (Afterwards referred to as Reveal Name: BALROG_REVEAL).


Balrog3 : Active
*** IF ***
Player 'PlyrCreeps' has units in area 'BALROG2'.
*** THEN ***
Disable Script 'Balrog2'.
*** ELSE ***
Enable Script 'Balrog2'.

This will give multiple summonings
The area balrog2 should be big i.e the whole map !

Edited by JUS_SAURON, 24 April 2010 - 04:13 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users