Duck and Cover Forum Index


Use these links, buy stuff from Amazon and help us out, nubs.
Amazon.com | Amazon.ca | Amazon.co.uk | Amazon.de
  Duck and Cover  •  FAQ  •  Search  •  Memberlist  •  Usergroups   •  Register  •  Profile  •  Log in to check your private messages  •  Log in

 Support DAC!
 suby's annoying questions View next topic
View previous topic
Post new topicReply to topic
Author Message
subnormalx
SDF!
SDF!


Joined: 18 Nov 2005
Posts: 10

PostPosted: Sat Nov 19, 2005 8:51 am Reply with quoteBack to top

Hey again...

I'm makin my map kind of dark.. there are computer consoles around that the characters are intended to be able to use science skill on to turn on various lights ...

but ive set up a character selection stage at the beginning of the mission so i might not even take a character that has a science skill.. so im intending to put in flares in the mission to use as well...
I read somewhere that you can move light entities around... i was wondering if someone could help me out with that..

Im thinking some sort of mine type laying of a flare .. when its laid down and activated it'll light up the area... but disappear when picked up.deactivated

I'm going to go experiment.. but i'll probably take hours to get it working.. if ever..

Does anyone know the correct sequence of steps for something like this? How do u get light entities to move to an entity thats dropped/activated?
Whats this object script state thing?

I can't get the condition for a trigger to acknowledge when a objects been activated/dropped so it'll turn off/remove the glow that would otherwise stay on the ground where the flare once was?
View user's profileSend private message
subnormalx
SDF!
SDF!


Joined: 18 Nov 2005
Posts: 10

PostPosted: Sat Nov 19, 2005 10:11 am Reply with quoteBack to top

Never mind,

I got it working... after a fashion..

I made lights move to a mine after it had been activated...

I read in the infrequent tips section that a remote det bomb didnt register under x = alive trigger .. so i tried that and it works with mines.. lights move to it...!

What is the object script state for though?
View user's profileSend private message
requiem_for_a_starfury
Hero of the Wastes
Hero of the Wastes


Joined: 29 Oct 2002
Posts: 1820

PostPosted: Sat Nov 19, 2005 12:04 pm Reply with quoteBack to top

The remote bombs do work with x = alive triggers, it's the Object Script State they didn't work with. OSS is basically an on/off trigger. Use them to turn on lights, open doors, or have other triggers fire if switches, lights or doors etc change their state i.e. go from on to off, etc.

There's an example of triggers for a throwing weapon used as a flare here.

Or if you want a flare that'll expire after a certain amount of time you can try this.

Start up
Condition:
Always

Action:

Set object script state of flare1-light unticked
Set 1 to timer flare1 descending
Stop timer flare1 descending
Set mission variable flare1-on to false
Set mission variable flare1-thrown to false
Set mission variable flare1-expired to false

Always move light to flare
Condition: Preserved
Always

Action:
Move unit flare1-light to flare1

Turn flare on when equipped
Condition: Preserved
All players have more than 0 items tagged flare1 equipped
If mission variable flare1-expired is false

Action:
Set mission variable flare1-on to true

Flare has been thrown turn on the light
Condition: Preserved
All players have less than 1 itemtagged flare1 at anywhere
If mission variable flare1-on is true
If mission variable flare1-expired is false

Action:
Set flare1-light script state ticked
Set mission variable flare1-thrown to true

Flare has been picked up turn off the light
Condition: Preserved
All players have more than 0 items tagged flare1
If mission variable flare1-thrown is true

Action:
Set flare1-light script state unticked
Set mission variable flare1-on to false
B Wait 1 seconds
Set mission variable flare1-thrown to false

Start Timer
Condition:
If mission variable flare1-on is true

Action:
Set 30-120 to timer flare1 and set descending*

Timer stopped turn off flare
Condition:
Timer flare1 has exactly 0

Action:
Set flare1-light script state unticked
Set mission variable flare1-expired to true
Stop timer flare1

As with the other triggers you'll need seperate flare entities, each with their own tagname and a seperate set of triggers for each. Once you equip the flare for the first time it starts the timer, but you can keep throwing it and picking it up as many times as you like until it burns out.

*Set the time to anything of course.

Oh if you add to the weapon mode the single laser light effect, the flare will light up as it travels through the air, but make your flare light red. smile
View user's profileSend private messageSend e-mail
subnormalx
SDF!
SDF!


Joined: 18 Nov 2005
Posts: 10

PostPosted: Mon Nov 21, 2005 9:50 am Reply with quoteBack to top

Fantastic!
I'm using flares now... thanks for that


I have another question though..

I've noticed when a npc changes player indexes to yours.. and becomes one of your squad.. you can't change the modes that specify when your player character fires (1% 33% 66% 95%) and auto fire or not fire unless fired upon, those modes, u can click on them in game but they wont change...
unless the player char in question levels up then everything starts working normally again..

Any work arounds known? Or is ther esomething I didn't do that I should have?
View user's profileSend private message
requiem_for_a_starfury
Hero of the Wastes
Hero of the Wastes


Joined: 29 Oct 2002
Posts: 1820

PostPosted: Mon Nov 21, 2005 11:04 am Reply with quoteBack to top

Known bug, the only other ways to get it working are either to save and then reload or to go to the world map. I didn't know that levelling would sort it out as well, I suppose that we've all saved and reloaded at that point. Good work for finding that out.

Work arounds, in the mission briefing warn people that to get the sentry modes working they'll need to save and reload.

Or have the npc join on a neutral map or before you go to the world map.

Or now start the npc off a level below what you wanted them to be and when they join the player use the give experience trigger to immediately level them up.

Now I must go try this out.
View user's profileSend private messageSend e-mail
subnormalx
SDF!
SDF!


Joined: 18 Nov 2005
Posts: 10

PostPosted: Mon Nov 21, 2005 11:36 am Reply with quoteBack to top

It was on a few of MaxViolences maps...

the deathclaw and prison ones.. the characters had that problem .. I got a little annoyed at it.. then had to just put up with it... then later on the mission the characters had leveled up and i discovered they were working properly..

I assumed it was the level up.. but at that stage i had probably saved and loaded too myself... Hope I didn't get your hopes up for nothing here.. !


Last edited by subnormalx on Mon Nov 21, 2005 11:39 am; edited 1 time in total
View user's profileSend private message
requiem_for_a_starfury
Hero of the Wastes
Hero of the Wastes


Joined: 29 Oct 2002
Posts: 1820

PostPosted: Mon Nov 21, 2005 11:38 am Reply with quoteBack to top

Are you sure that you hadn't saved and reloaded? As I've just tried it and the levelling made no difference I still couldn't change the sentry mode.

Edit. Damn! I hoped we'd got a decent fix for that for once.
View user's profileSend private messageSend e-mail
ApTyp
250 Posts til Somewhere
250 Posts til Somewhere


Joined: 29 May 2002
Posts: 2694

PostPosted: Sat Nov 26, 2005 8:52 am Reply with quoteBack to top

Dude who plays FOT thse days anyway
View user's profileSend private message
Retlaw83
Goatse Messiah
Goatse Messiah


Joined: 17 Jul 2004
Posts: 5327

PostPosted: Mon Nov 28, 2005 1:30 am Reply with quoteBack to top

oh yeah, totally, fot's like four years old or something.
View user's profileSend private message
subnormalx
SDF!
SDF!


Joined: 18 Nov 2005
Posts: 10

PostPosted: Mon Nov 28, 2005 2:53 am Reply with quoteBack to top

Me.


I play the other 2 occasionally too, but this is the one that its easiest for me to customize and add stuff to ...
View user's profileSend private message
[HpA]SniperPotato
Desert Wanderer
Desert Wanderer


Joined: 17 Dec 2004
Posts: 520
Location: Everywhere and Nowhere

PostPosted: Tue Nov 29, 2005 2:02 pm Reply with quoteBack to top

I do.
View user's profileSend private messageSend e-mailVisit poster's websiteAIM AddressMSN Messenger
Display posts from previous:      
Post new topicReply to topic


Jump to:  



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group