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!
 Clipord stuff View next topic
View previous topic
Post new topicReply to topic
Author Message
Eagle
The Unlucky SDF!
The Unlucky SDF!


Joined: 16 May 2002
Posts: 13
Location: Iceland

PostPosted: Fri Jun 14, 2002 1:17 am Reply with quoteBack to top

Is it possible to give any actor a clipord and get something insted.
For example: IYou have a clipord which allows you to get a Plasma rifle from a Quartermaster, thus you loose the clipord and get the plasme rifle insted
(like in Fallout 2 when you get some equipment in Gecko and have to autheresation)
Please help icon_confused2
View user's profileSend private message
Jimmyjay86
Hero of the Glowing Lands
Hero of the Glowing Lands


Joined: 18 Apr 2002
Posts: 2102
Location: Wisconsin

PostPosted: Fri Jun 14, 2002 1:58 am Reply with quoteBack to top

Yep, very easily. Just assign a tag name to the clipboard or other item type and the plasma rifle and then use a trigger to exchange the items. The only restriction I can think of is that the NPC that will trade must stay in one particular spot or zone where the transaction takes place.

Condition:

Player Human has exactly 1 item tagged Clipboard
Player NPC has exactly 1 alive at Trade-zone

Trigger:

Give item tagged Clipboard to Player NPC
Give item tagged Plasma Rifle to Player Human
View user's profileSend private messageSend e-mailVisit poster's website
OnTheBounce
TANSTAAFL
TANSTAAFL


Joined: 18 Apr 2002
Posts: 2257
Location: Grafenwoehr, Oberpfalz, Bayern, Deutschland

PostPosted: Fri Jun 14, 2002 2:06 am Reply with quoteBack to top

Yes, it is possible to do something like this. What you have to do is to create a "Generic Item" that uses one of the clipboard sprites and has a "Tag Name" assigned to it.

You then have to set up a trigger that will have a condition of the player having a certain item (the tagged clipboard). Have this condition change the Click Speech for the actor (who will also need a Tag Name) who is going to give the player whatever it is that you want to give him (that item will also need a Tag Name).

When you set up the Speech File, assign a "Speech Event" to the Speech Node that the actor who is going to give the item is going to use. Then use the "Speech Occured" condition and the Action be "Give item to player".

The whole thing will look something like this:

Description: Player has Requisition Form

Condition:

Player 1 has exactly 1 item(s) tagged "clipboard" at Quatermaster Zone.

Action: Change Click Speech for unit "QuarterMaster" to "QM_Gives_Rifle".

Description: Quartermaster Gives Player the Rifle

Condition: Speech Even "QM_Gives_Rifle" has occured

Action: Give item tagged "plasmaRifle" to player.

You will probably want the zone qualifier on the first trigger, that way the player actually has to bring the clipboard to whoever is going to give them the rifle.

Cheers,

OTB

Edit: Friggin' JJ86 beat me to the punch...*grumble, grumble*
View user's profileSend private messageVisit poster's website
Jimmyjay86
Hero of the Glowing Lands
Hero of the Glowing Lands


Joined: 18 Apr 2002
Posts: 2102
Location: Wisconsin

PostPosted: Fri Jun 14, 2002 3:58 am Reply with quoteBack to top

I like your solution better OTB, it's doesn't require use of a specific zone.
View user's profileSend private messageSend e-mailVisit poster's website
OnTheBounce
TANSTAAFL
TANSTAAFL


Joined: 18 Apr 2002
Posts: 2257
Location: Grafenwoehr, Oberpfalz, Bayern, Deutschland

PostPosted: Fri Jun 14, 2002 5:55 am Reply with quoteBack to top

Jimmyjay86 wrote:
I like your solution better OTB, it's doesn't require use of a specific zone.


If you want it to be more or less realistic it does. If you had the condition as "has item tagged X at Anywhere" you could have one guy 17 regions away with the clipboard and another guy next to the chap w/the plasma rifle and you could "requisition" the rifle. While you'd still loose the clipboard/form, a solution like that would leave a bad taste in my mouth.

This just goes to show you how you can approach situations differently while scripting, though.

OTB
View user's profileSend private messageVisit poster's website
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