gates -1 reply

Please wait...

Gunefire

I'm too cool to Post

50 XP

15th October 2005

0 Uploads

16 Posts

0 Threads

#1 12 years ago

Hi, I know it is possible to plase somewere a gate that is closed. But is it possbile that it will open if a strategic_object is captured? and if the strategic_object is uncaptured that the gate will close again? and if this is possible how does this work?




KeNDaLL2000

Pa-Pa-Poker Face

25,910 XP

17th May 2006

0 Uploads

2,281 Posts

0 Threads

#2 12 years ago

yes ut it requires scar




Gunefire

I'm too cool to Post

50 XP

15th October 2005

0 Uploads

16 Posts

0 Threads

#3 12 years ago

ok... but can you tell me what I have to do exactly or where I can find information how to use it?




Junk angel

Huh, sound?

166,880 XP

29th January 2007

0 Uploads

15,678 Posts

0 Threads

#4 12 years ago

I think only certain gates were possible, give me some time, I'll look for the info.




DemonCloud

Chapter Master of the Ultrians

50 XP

4th May 2007

0 Uploads

488 Posts

0 Threads

#5 12 years ago

hint: look through wa scar files for sp




Gunefire

I'm too cool to Post

50 XP

15th October 2005

0 Uploads

16 Posts

0 Threads

#6 12 years ago

I have found some thing like a manual. and I tryed do make a sript on my own. I donĀ“t belaeve it will work but is it possible to do this by distroying the gate if Player 4,5,6,.. have capterd the stategic point and create a new gate if it not captered? The Script: ---------------------------------------------------------------------------------------------------------------- -- Scar open Gate Script -- -- -- This Scipt opens a gate if a strategig point is captured function Rule_CheckObj_CapturePoint( ) -- check if a strat point is captured if EGroup_IsCapturedByPlayer( "eg_strat_points", g_player4, g_player5, g_player6, g_player7, g_player8, true ) then -- open gate Void Entity_Destroy( EntityID 1162 ) or if EGroup_IsCapturedByPlayer( "eg_strat_points", g_player4, g_player5, g_player6, g_player7, g_player8, false ) then -- close gate EntityID Entity_Create( String gatehouse_door_mini, PlayerID player, Position X: 4.00, Y: 15.00, Z: 53.00 ) end -- register init function Scar_AddInit( OnInit )




Junk angel

Huh, sound?

166,880 XP

29th January 2007

0 Uploads

15,678 Posts

0 Threads

#7 12 years ago

try to make more around if units are near marker

since the gate itself doesn't make terrain impassable




Gunefire

I'm too cool to Post

50 XP

15th October 2005

0 Uploads

16 Posts

0 Threads

#8 12 years ago

i have made a simple scarfile for sample. But what have I to do that the game will load the file?




Defiant

Free GNU user

50 XP

28th March 2002

0 Uploads

742 Posts

0 Threads

#9 12 years ago

Name it like your map ;)

e.g if your map's name is madcow.tga then name the scar file madcow.scar