Server Totals
Wilderness - (1)
Le'Or - (0)
Ferrell - (0)
Elysia - (0)
M'Chek - (0)
Deglos - (0)
Visimontium - (0)
Underdark - (0)
Mikona - (0)
Total players: 1
Gallery

Links Menu

Dumb scripting / toolset question of the week

Moderators: Nighthawk4, Dungeon Masters

Dumb scripting / toolset question of the week

PostAuthor: 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?
Silver Fox: I hear they've been stepping up attacks in Elysia.
Ulu Elexin: Hah, it's interesting that they are even drafting in fairies to fight them now.
Brant Risko: *snickers* Be careful... I'll tell mister Ang that ya called him a drafted fairy.
User avatar
RCon
Legacy DM
Legacy DM
 
Posts: 4719
Joined: Wed Sep 15, 2004 2:19 am
Location: New York, NY (GMT -5)

Re: Dumb scripting / toolset question of the week

PostAuthor: 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.
Nawen Wiki | Loash Leheven Wiki | Paradise Boutique and Emporium Wiki | FRAwen Wiki

2016 winner of The Micah Ormane Prize for Narcissism
User avatar
gutemensch
Minor DM
Minor DM
 
Posts: 6910
Images: 26
Joined: Sun Sep 12, 2004 3:25 am
Location: Republic of Texas
Timezone: -6
DM Avatar: Mishlekh

Re: Dumb scripting / toolset question of the week

PostAuthor: 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
User avatar
Tel
Apprentice Scholar
 
Posts: 744
Images: 0
Joined: Fri Jul 10, 2009 12:33 pm
Timezone: GMT-6

Re: Dumb scripting / toolset question of the week

PostAuthor: 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 (b. 1942) --


Sprucing up ye olde NWN | Modifying nwn.ini and nwnplayer.ini | ~Rare Items Wanted~ | Stealth Modifiers
User avatar
Gorgon
QA's 2nd|CCC Mobster
QA's 2nd|CCC Mobster
 
Posts: 5866
Images: 38
Joined: Fri Oct 17, 2003 10:14 pm
Location: Vancouver, BC, Canada
Timezone: PDT -7

Re: Dumb scripting / toolset question of the week

PostAuthor: 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.
Nawen Wiki | Loash Leheven Wiki | Paradise Boutique and Emporium Wiki | FRAwen Wiki

2016 winner of The Micah Ormane Prize for Narcissism
User avatar
gutemensch
Minor DM
Minor DM
 
Posts: 6910
Images: 26
Joined: Sun Sep 12, 2004 3:25 am
Location: Republic of Texas
Timezone: -6
DM Avatar: Mishlekh

Re: Dumb scripting / toolset question of the week

PostAuthor: 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 (b. 1942) --


Sprucing up ye olde NWN | Modifying nwn.ini and nwnplayer.ini | ~Rare Items Wanted~ | Stealth Modifiers
User avatar
Gorgon
QA's 2nd|CCC Mobster
QA's 2nd|CCC Mobster
 
Posts: 5866
Images: 38
Joined: Fri Oct 17, 2003 10:14 pm
Location: Vancouver, BC, Canada
Timezone: PDT -7


Return to NWN Scripting

Who is online

Registered users: BeyondInfinity, Bing [Bot], Coco, galen_macbyrne, Google [Bot]