Jump to content


Photo

how can i ppace a gate and how can i make it closed or open?


  • Please log in to reply
8 replies to this topic

#1 vegetassj2345

vegetassj2345
  • Members
  • 201 posts

Posted 23 December 2011 - 01:10 PM

i'm modding the map middle earth.Mordor has a gate, , with 2 mountains on its both sides, so the troops of mordor can attack minast tirith only passing through the gate.But this gate is not the black gate is another, narrow, i want to replace it with the original balckgate, how can i do? i think that i should resize it to adapt it ot the mountain how can i do? and how can i make it always closed or open?

#2 modboy451

modboy451

    A small Big-time Modder!

  • Project Team
  • 783 posts
  • Location:U.S.A
  •  Experienced INI Coder, Advanced Rigger/Binder.

Posted 23 December 2011 - 03:56 PM

how can i make it always closed or open?

you have to change the side to Civilian, or that is at least one way...

You have to delete the new black gate, find the originalone in the objects list and place them as wanted.. and then select it and there is a "scale" slider, flip that on and then adjust to your liking.

John 3:16 (NIV)
For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life.


Psalm 23:1 (ESV)
A Psalm of David.
The LORD is my shepherd; I shall not want.


Posted Image
Posted Image
Posted Image
Posted Image

#3 vegetassj2345

vegetassj2345
  • Members
  • 201 posts

Posted 23 December 2011 - 04:57 PM

how can i make it always closed or open?

you have to change the side to Civilian, or that is at least one way...

You have to delete the new black gate, find the originalone in the objects list and place them as wanted.. and then select it and there is a "scale" slider, flip that on and then adjust to your liking.


i explain better , i placed the isengard gate and i'm fine like this, but i would want to do more or less like in the film, so i would want to do like this: when minas morgul (a ai player) is destroyed i will go to attack the gate and i will face the mordor horde.How can i do to do this? so the gate must stay close but i should be able to destroy it.

also, mordor can pass through the gate! even if its closed! why?

Edited by vegetassj2345, 23 December 2011 - 05:27 PM.


#4 modboy451

modboy451

    A small Big-time Modder!

  • Project Team
  • 783 posts
  • Location:U.S.A
  •  Experienced INI Coder, Advanced Rigger/Binder.

Posted 24 December 2011 - 08:22 PM

This isn't my speciallity... And the way you worded your question i can't understand it fully...

John 3:16 (NIV)
For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life.


Psalm 23:1 (ESV)
A Psalm of David.
The LORD is my shepherd; I shall not want.


Posted Image
Posted Image
Posted Image
Posted Image

#5 vegetassj2345

vegetassj2345
  • Members
  • 201 posts

Posted 25 December 2011 - 06:01 PM

This isn't my speciallity... And the way you worded your question i can't understand it fully...


Practically, i placed a gate to block the hordes of Mordor in the mordor territory (my plan is to do like this: i destroy Minas Morgul then i destroy the gate of Mordor and i destroy the entire mordor army) BUTTTT the mordor units continue to pass through the closed gate!

Edited by vegetassj2345, 25 December 2011 - 06:02 PM.


#6 modboy451

modboy451

    A small Big-time Modder!

  • Project Team
  • 783 posts
  • Location:U.S.A
  •  Experienced INI Coder, Advanced Rigger/Binder.

Posted 27 December 2011 - 12:32 AM

hmm... >.< unfortunatly i honsestly don't know what to say... xD

John 3:16 (NIV)
For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life.


Psalm 23:1 (ESV)
A Psalm of David.
The LORD is my shepherd; I shall not want.


Posted Image
Posted Image
Posted Image
Posted Image

#7 JUS_SAURON

JUS_SAURON

    El Shaddai

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

Posted 27 December 2011 - 01:15 AM

Seems like gate pathing issues ...

Best to play as allies and own the gate ..
Then check the terrain tools to make the sides of the gate unpassable and the terrain even

there are codes to set the gate open or closed if needed ...

But if any unit passes through a CLOSED gate ...its bad pathing of the terrain


-------

You can even go more indepth like setting the gate closed as Civilian owned but when
you defeat the minal morgal area .. it becomes owned by mordor and is now attackable ..With scripts

and map.ini codes should handle starting closed
..maybe even scripts can close a gate
Behavior = GateOpenAndCloseBehavior ModuleTag_GATE
		ResetTimeInMilliseconds = 10500;must be longer than animation to avoid ->pop<-
		OpenByDefault = Yes  ;;;; <<< CHANGE THIS 
		PercentOpenForPathing = 50
		SoundOpeningGateLoop = GateOpenStart
		SoundClosingGateLoop = GateCloseStart
		SoundFinishedOpeningGate = GateOpenEnd
		SoundFinishedClosingGate = GateCloseEnd
		TimeBeforePlayingOpenSound = 9500
		TimeBeforePlayingClosedSound = 9500
	End

Edited by JUS_SAURON, 27 December 2011 - 01:28 AM.


#8 vegetassj2345

vegetassj2345
  • Members
  • 201 posts

Posted 27 December 2011 - 12:52 PM

Seems like gate pathing issues ...

Best to play as allies and own the gate ..
Then check the terrain tools to make the sides of the gate unpassable and the terrain even

there are codes to set the gate open or closed if needed ...

But if any unit passes through a CLOSED gate ...its bad pathing of the terrain


-------

You can even go more indepth like setting the gate closed as Civilian owned but when
you defeat the minal morgal area .. it becomes owned by mordor and is now attackable ..With scripts

and map.ini codes should handle starting closed
..maybe even scripts can close a gate

Behavior = GateOpenAndCloseBehavior ModuleTag_GATE
		ResetTimeInMilliseconds = 10500;must be longer than animation to avoid ->pop<-
		OpenByDefault = Yes  ;;;; <<< CHANGE THIS 
		PercentOpenForPathing = 50
		SoundOpeningGateLoop = GateOpenStart
		SoundClosingGateLoop = GateCloseStart
		SoundFinishedOpeningGate = GateOpenEnd
		SoundFinishedClosingGate = GateCloseEnd
		TimeBeforePlayingOpenSound = 9500
		TimeBeforePlayingClosedSound = 9500
	End


in few words, the map is not very well done and the terrain pathing is not good yes? so i can't do nothing to solve this problem.....u know i made a script to make the closed but nothing the units continued to pass through it.

#9 JUS_SAURON

JUS_SAURON

    El Shaddai

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

Posted 27 December 2011 - 10:14 PM

so i can't do nothing to solve this problem...


Yes you can redo the terrain around the gate ..make it flat

Then align the gate at ground level , Z=0
Then paint un-passable around the posts / edges of the gate .. with the terrain paint tool
leave only the center of the gate passable i.e a path through the gate




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users