ArmA Stargate Mod Forums

  • February 05, 2012, 03:28:52 am
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

Check out the FAQ

Pages: [1]   Go Down

Author Topic: Gate help  (Read 916 times)

Aridius

  • Guest
Gate help
« on: August 12, 2008, 11:26:52 pm »

I am able to link the two gates when copy and pasted from the startgate demo mission.

The problem I'm having is introducing a 3rd gate. I am using add actions to call the gates from the dhd instead of the triggers, this works fina as tested with the first two gates that are used from the demo mission. But when i dial earth from the 3rd gate it just connects the first two gates instead of from the 3rd gate to the earth of px-101 gate (depending on which one i dial to)

Any ideas where im going wrong. Thanks
Logged

Mix-Martes86

  • Developer
  • ***
  • Ascension Level: 26
  • Offline Offline
  • Posts: 1009
  • 24th Flotilla
    • View Profile
    • The WPL's 24th Flotilla
Re: Gate help
« Reply #1 on: August 13, 2008, 06:44:23 am »

What do you mean you're using "add actions"? You're using the "AddAction[]" command in the dhd's init field? If that's what you're doing, it's probable you've just copied-pasted the init field for the 3rd gate, and since the init command is copied-pasted, it will keep telling the first 2 gates to dial unless you change the parameters and adapt it to each gate.

Cheers
Logged
Officer of International Relationships - 24th Flotilla, WPL
WPL Public Relations and Staff Member

Aridius

  • Guest
Re: Gate help
« Reply #2 on: August 13, 2008, 01:52:52 pm »

Yes i am using the addaction [] in the dhd init field. I have three .sqs files "goearth" "gopx101" and "goabydos"

in goearth i have
Code: [Select]
[Gate1,"Earth",0] exec "\dsf_sg_dhd\sqs\AI.sqs"in gopx101
Code: [Select]
[Gate2,"PX-101",0] exec "\dsf_sg_dhd\sqs\AI.sqs"and in goabydos
Code: [Select]
[Gate3,"abydos",0] exec "\dsf_sg_dhd\sqs\AI.sqs"
the gates are named "gate1", "gate2" and "gate3" with

Code: [Select]
[this,"PX-101",[26,15,5,36,11,14],1,false,"0 setfog 1"] exec "\DSF_SG_DHD\sqs\CreateIdentity.sqs"
Code: [Select]
[this,"Earth",[28,26,5,36,11,29],1,false,"0 setfog 0"] exec "\DSF_SG_DHD\sqs\CreateIdentity.sqs"
Code: [Select]
[this,"Abydos",[27,7,15,32,12,30],1,false,"0 setfog 0"] exec "\DSF_SG_DHD\sqs\CreateIdentity.sqs"
In there init field (gate 1 = first line of code, gate 2 second line etc)

What am i doing wrong?
Logged

Mix-Martes86

  • Developer
  • ***
  • Ascension Level: 26
  • Offline Offline
  • Posts: 1009
  • 24th Flotilla
    • View Profile
    • The WPL's 24th Flotilla
Re: Gate help
« Reply #3 on: August 13, 2008, 06:44:07 pm »

Hummm... I am not sure of what's wrong with it... I'd think that executing for example the same "goabydos.sqs" in all 3 gates would result in an error, where the same gates keep activating since that's what the script says, but I can't confirm it without being able to test the game (deleted from HD).

Cheers
Logged
Officer of International Relationships - 24th Flotilla, WPL
WPL Public Relations and Staff Member

Aridius

  • Guest
Re: Gate help
« Reply #4 on: August 13, 2008, 11:58:36 pm »

Ahh, I really want to try and sort it :(! Trouble is it isn't too much hassle sorting it yet as the lag on sarahni island is insane. Can't understand why it lags so much, runs fine on rhamadi as is reletivly small island. Any one know how to sort this?

Code: [Select]
[this,"PX-101",[26,15,5,36,11,14],1,false,"0 setfog 1"]
If i use just this will it set the glyphs instead of random glyphs each time? and what does the "1,false, "0 setfog 1""" represent?
Logged

Mix-Martes86

  • Developer
  • ***
  • Ascension Level: 26
  • Offline Offline
  • Posts: 1009
  • 24th Flotilla
    • View Profile
    • The WPL's 24th Flotilla
Re: Gate help
« Reply #5 on: August 15, 2008, 09:57:45 am »

In the - 1,false, "0 setfog 1" - line, the "1" is the gate's point of origin, the "false" I don't remember what it was, and the setfog thing is to make the climate change instantaneously so it gives the sensation of not just travelling to another localized point in the island, but to actually some place much further (like a planet). Combining that with the SGX map is what made missions in OFP look realistic. :)

Cheers
Logged
Officer of International Relationships - 24th Flotilla, WPL
WPL Public Relations and Staff Member

Aridius

  • Guest
Re: Gate help
« Reply #6 on: August 15, 2008, 11:44:36 pm »

Ahh i see, thanks! Does anyone know of a way to stop the lag when using the gates on an island like sarahni?
Logged
Pages: [1]   Go Up
 

The Stargate Modification is a scripted add-on for Operation Flashpoint, ArmA and ArmA II,
it has been unofficially created as a way for fans to explore the Stargate as it is portrayed in the shows.
This add-on is completely unofficial and though we have gone through great lengths to mimic functions as shown in the shows
it is down to our own interpretation and may not be true to what SCI FI Channel or Metro-Goldwyn-Mayer Studios Inc intended.

Stargate, Stargate SG-1, and other related names are Copyright Showtime Inc., SCI FI Channel and Metro-Goldwyn-Mayer Studios Inc.
Stargate, Stargate SG-1, Stargate Worlds and other related names are Trademarks of Metro-Goldwyn-Mayer Studios Inc.

All material on this website is for non-profit use and completely unofficial; please do not edit the contents of these files.