Dumb scripting / toolset question of the week

Moderator: Event DM

Post Reply
User avatar
RCon
CCC
CCC
Posts: 4824
Joined: Wed Sep 15, 2004 2:19 am
Location: New York, NY (GMT -5)

Dumb scripting / toolset question of the week

Post by RCon » Thu Sep 15, 2011 11:50 pm

I have a feeling I'll have more of these as I go along...

Anyway, this week's dumb question is whether it's possible to attach Avlis custom scripts to non-standard placeables. Specifically, are any or all of the following possible:

* Turn an item other than the standard "Alchemist's Apparatus" into a useable Avlis alchemy table? For example, use a cauldron placeable that, when clicked, functions exactly as an alchemy table?

* Turn any placeable item into an ep-chest? For example, use an Outhouse or shed-type placeable that, when clicked, becomes an ep-chest?

* Turn an item other than a trash barrel into a useable "trash can"? For example, use a campfire placeable as a trash can?

I'm guessing the answer to all of these is yes, as I've seen each useable Avlissian item above on multiple different types of placeable objects in-game?
Paladin Date Night - One thing led to another...
User avatar
gutemensch
CCC
CCC
Posts: 11849
Joined: Sun Sep 12, 2004 3:25 am
Timezone: -5
Location: Republic of Texas
Contact:

Re: Dumb scripting / toolset question of the week

Post by gutemensch » Thu Sep 15, 2011 11:55 pm

RCon wrote:I have a feeling I'll have more of these as I go along...

Anyway, this week's dumb question is whether it's possible to attach Avlis custom scripts to non-standard placeables. Specifically, are any or all of the following possible:

* Turn an item other than the standard "Alchemist's Apparatus" into a useable Avlis alchemy table? For example, use a cauldron placeable that, when clicked, functions exactly as an alchemy table?

* Turn any placeable item into an ep-chest? For example, use an Outhouse or shed-type placeable that, when clicked, becomes an ep-chest?

* Turn an item other than a trash barrel into a useable "trash can"? For example, use a campfire placeable as a trash can?

I'm guessing the answer to all of these is yes, as I've seen each useable Avlissian item above on multiple different types of placeable objects in-game?

Yes, use change appearance to change it. I do it all the time and even did it recently to an Alchemist Apparatus. I don't see what you can't do it for all three of them. It's changing the appearance of it; where the actions of them are tagged/scripts.
User avatar
Tel
Scholar
Posts: 1070
Joined: Fri Jul 10, 2009 12:33 pm
Timezone: GMT-5

Re: Dumb scripting / toolset question of the week

Post by Tel » Thu Sep 15, 2011 11:57 pm

crafting placeables : probably, seeing as how you can use bolts of cloth or a loom.
EP-chest : if the object can be set to having inventory & Plot... it can be an EP chest. So not something you set using the tile set placement tools, but with the object placement tools
trash can : see EP chest
Teleniel (Rockfall Trading), Artemis (Hornbow Archery), Tomnan (Outsider's Arcana)
Kaaran (Justicar of Toran), Vayarus (Blue Order of the Sky - Initiate)
Agatte (Elemental Shifter)
DR & You, Ranged Damage Modifiers
User avatar
Gorgon
Father of Avlis EE
Posts: 6637
Joined: Fri Oct 17, 2003 10:14 pm
Timezone: PST -8
Location: Vancouver, BC, Canada

Re: Dumb scripting / toolset question of the week

Post by Gorgon » Fri Sep 16, 2011 1:33 am

As already answered, yes to all... with a but. :P

Some placeables have bad access to them. If you've ever tried to open one of the CEP glass cases for example IG, you may have noticed you have to stand almost directly in front of them to make it work. Clicking it from behind usually makes you run into it or do other stupid things. Always test anything you make useable for little quirks like that.

If the one you really want is borked, you can just go find another placeable to use instead, but I hate not getting what I want. One trick you can use is making that placeable static, then bury an invisible or other working one inside of it (and rename it, change description etc to be the thing you want). This also lets you pick something with a better sound when opening/using it too, though there are other ways to do that as well. Again, test everything for access and usability.

*edits* The Display Case out front of the Nutz AJA tower is actually a regular old Bioware Chest of Drawers, sunk into the floor and renamed. I liked the sound better too. There are a few dozen other placeables buried in them there, and the Mikona one as well, to make some fun designs for things (bet you can't guess them all!).
"God not only plays dice, he throws them in the corner where you can't see them."
-- Stephen William Hawking (1942-2018) --


Sprucing up ye olde NWN | NWN:EE Wiki | ~Avlis Theme Song~
User avatar
gutemensch
CCC
CCC
Posts: 11849
Joined: Sun Sep 12, 2004 3:25 am
Timezone: -5
Location: Republic of Texas
Contact:

Re: Dumb scripting / toolset question of the week

Post by gutemensch » Fri Sep 16, 2011 2:40 am

"Invisible Object" like Gogron said works great and opens up a whole lot of choices and directions to go. Good example of it is the Fegal Temple where it's used in the workrooms to create Anvils and Forges out of the static tileset ones. You can also see it a lot placed on just about anything used to sit on.

Check your pathing! Make sure when you test it out you can interact it and open it. Made that mistake a few times myself as not all placeable things are equal in that regards.
User avatar
Gorgon
Father of Avlis EE
Posts: 6637
Joined: Fri Oct 17, 2003 10:14 pm
Timezone: PST -8
Location: Vancouver, BC, Canada

Re: Dumb scripting / toolset question of the week

Post by Gorgon » Fri Sep 16, 2011 3:24 am

gutemensch wrote:Check your pathing! Make sure when you test it out you can interact it and open it. Made that mistake a few times myself as not all placeable things are equal in that regards.
*Grumbles about getting hung up when going directly from the ep-chest to the loom in Smeec's shop (of all the placeables I could have borked with him), as well as the appraisal table from the p-merch there*

That's what I get for creating and submitting a shop in a day, without moar testing. :datz:
"God not only plays dice, he throws them in the corner where you can't see them."
-- Stephen William Hawking (1942-2018) --


Sprucing up ye olde NWN | NWN:EE Wiki | ~Avlis Theme Song~
Post Reply