LaserFence+Control Tower= working?

Talk about your new mod or map here

Moderators: jelco, bert_the_turtle

User avatar
GAMER1992
level1
level1
Posts: 71
Joined: Wed Jun 28, 2006 7:34 pm
Location: Schweden!!!!!
Contact:

LaserFence+Control Tower= working?

Postby GAMER1992 » Tue Aug 15, 2006 8:48 pm

i got an idea to my mod and i wonder if i can link an Control tower to an laserfence and example turn the fence on by activating the CT? Is it possible to do that? :?
martin
level5
level5
Posts: 3210
Joined: Fri Nov 19, 2004 8:37 pm

Postby martin » Tue Aug 15, 2006 9:39 pm

No, instead ypu can use a pwer station, link the station to a pylon and the fence will activate when the station is manned (although there are some issues with whether it kills units)
GENERATION 22:The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.
User avatar
GAMER1992
level1
level1
Posts: 71
Joined: Wed Jun 28, 2006 7:34 pm
Location: Schweden!!!!!
Contact:

Postby GAMER1992 » Tue Aug 15, 2006 9:42 pm

thanks for the tip! :D I also wonder if you can set a trunkport to be activated already from the beginning?
User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Tue Aug 15, 2006 10:03 pm

To have a Trunkport online from the beginning, you need to add a line into the buildings section of game.txt.

xander
User avatar
GAMER1992
level1
level1
Posts: 71
Joined: Wed Jun 28, 2006 7:34 pm
Location: Schweden!!!!!
Contact:

Postby GAMER1992 » Wed Aug 16, 2006 5:05 pm

How do i get the laserfence to be online when i enter the map then disable when the powerstation is manned?
User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Wed Aug 16, 2006 6:01 pm

GAMER1992 wrote:How do i get the laserfence to be online when i enter the map then disable when the powerstation is manned?

AFAIK, you can't do that.

xander
User avatar
trickfred
level5
level5
Posts: 1691
Joined: Sat Jul 24, 2004 5:01 am
Location: The Great White North, Eh?
Contact:

Postby trickfred » Wed Aug 16, 2006 8:24 pm

xander wrote:
GAMER1992 wrote:How do i get the laserfence to be online when i enter the map then disable when the powerstation is manned?

AFAIK, you can't do that.

xander


...I've lay in bed awake at night WISHING I could do that.
User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Wed Aug 16, 2006 8:35 pm

You could do something like this:

1) Put a SafeArea or ScriptTrigger around the PowerStation that goes off when the PowerStation is manned (is triggered by green DGs in the case of the ScriptTrigger, or has a capacity of x green DGs with the SafeArea).
2) When the SafeArea/ScriptTrigger goes off, run a script that replaces the mission file with the enabled LaserFence with a mission file that has the disabled LaserFence.

However, GAMER1992, this is a fairly advanced scripting technique, and is not for the faint of heart.

xander
User avatar
Testrie
level3
level3
Posts: 486
Joined: Thu Aug 17, 2006 8:02 pm
Location: CA, United States
Contact:

Postby Testrie » Thu Aug 17, 2006 11:51 pm

xander wrote:You could do something like this:

1) Put a SafeArea or ScriptTrigger around the PowerStation that goes off when the PowerStation is manned (is triggered by green DGs in the case of the ScriptTrigger, or has a capacity of x green DGs with the SafeArea).
2) When the SafeArea/ScriptTrigger goes off, run a script that replaces the mission file with the enabled LaserFence with a mission file that has the disabled LaserFence.

However, GAMER1992, this is a fairly advanced scripting technique, and is not for the faint of heart.

xander


Wouldn't that lose all the player's programs and progress that you didn't expect them to do?

Tes
User avatar
xander
level5
level5
Posts: 16869
Joined: Thu Oct 21, 2004 11:41 pm
Location: Highland, CA, USA
Contact:

Postby xander » Fri Aug 18, 2006 2:17 am

Testrie wrote:
xander wrote:You could do something like this:

1) Put a SafeArea or ScriptTrigger around the PowerStation that goes off when the PowerStation is manned (is triggered by green DGs in the case of the ScriptTrigger, or has a capacity of x green DGs with the SafeArea).
2) When the SafeArea/ScriptTrigger goes off, run a script that replaces the mission file with the enabled LaserFence with a mission file that has the disabled LaserFence.

However, GAMER1992, this is a fairly advanced scripting technique, and is not for the faint of heart.

xander


Wouldn't that lose all the player's programs and progress that you didn't expect them to do?

Tes

They would lose any programs that are running, yes. Them's the breaks.

xander

Return to “Mod Projects”

Who is online

Users browsing this forum: No registered users and 7 guests