Neverwinter Vault

Expand AllContract All -Site -My Profile -Features

Neverwinter Nights 2

-NWN2 Files -NWN2 Game Info -NWN2 Resources -NWN2 Community

Neverwinter Nights

-NWN Files -NWN Game Info -NWN Resources -NWN Community

Vault Network
RPG Vault
VN Boards
IGN Vault
Vault Wiki
· Age of Conan
· Anarchy Online
· Asheron's Call
· Dark Age of Camelot
· City of Heroes
· D&D
· EVE Online
· EverQuest
· EverQuest 2
· Final Fantasy
· Guild Wars
· Lineage 2
· Lord of the Rings Online
· Middle Earth
· Neverwinter Nights
· Pirates of the Burning Sea
· Rise of the Argonauts
· Star Wars Galaxies
· Tabula Rasa
· The Matrix Online
· The Witcher
· Titan Quest
· Two Worlds
· Vanguard
· Warhammer
· World of Warcraft

Planet Network
Planet Hub

IGN
Games
Cheats
Entertainment

The Web   The Site  



NWN2 SCRIPTS

- Jump to comments -
Name  Bagel's Portable Props and Placeables
Author  Amphibious Bagel
Submitted / Updated  12-11-2010 / 12-28-2010
Category  Placeable Item
Type  Type - Other
Format  Module and Code
Patch  1.00
NWN2Game  All
Description
These scripts allow module builders to create portable placeables for DMs and players to use.

To install, just import the BagelPortableProps.erf file into your module. The ERF includes five small scripts and blueprints for all of the placeables shown in the test module. These items are listed in the "Items" and "Placeables" category under the classifications "* Portable Props" and "* Portable Containers" respectively.


Features:
- DMs can rename the item or the placeable, and the name will persist through exchanges.
- Placeables/items with inventory are supported; as a warning, these are not guaranteed exploit-free.
- Placeables can have multiple VFX attached. (Such as multi-flame candelabras.)



To make a new prop:
Make a new placeable blueprint with a unique Resource Reference name and set the following options on it to:

Static: False
Plot: True (Recommended, so players don't destroy it.)
Usable: True
Walkable: True (Recommended, to prevent players from boxing themselves in.)

And create a new String Variable on the placeable called "PropRes" with the value set as the Resource Reference name of the item that the placeable becomes when used.

Next, create a new item blueprint with the same Resource Reference name as the one that you listed for the placeable's "PropRes" value. In the item properties, add the power "Cast Spell: Activate Item (Touch) [- Unlimited Uses]" to it (or one of the other unique/on activate powers that will suit your purposes). Then add a new String Variable to it called "PropRes" with the value set to the Resource Reference name of the corresponding placeable.


For props with inventory:
Put the "plc_pcprop_pickup" script in the "On Close" handler for it, then make sure that both it and it's corresponding item blueprint are marked as True (or checked) to have inventory.


For props with "off center" or multiple VFX attached:
Open the toolset and put the prop placeable down without rotating it in any way. Write down the "Position No Snap" numbers. (These numbers represent the X,Y,Z coordinate position of the placeable on the map.)

Next, place any VFX that you would like to spawn with the placeable (as an example, put candle flames on the candles). Be as accurate as possible, then write down their coordinates too.

Now, go to the Item Blueprint for your prop and add the following variable for each new VFX:
VFXNAME#: Make this a string variable. The # at the end needs to be in order, so always start with the number 1 for your first VFX, 2 for the second, etc. The value of the variable should be the Resource Name for the VFX.
VFXX#: Make this a floating point variable. The # should be the number of the associated VFX. The value of the variable should be the X value you get by subtracting the VFX X-coordinate from placeable X-coordinate. (For values that ultimately equal 0, you do not need to enter a variable.)
VFXY#: Same as above, but for the Y value.
VFXZ#: Same as above, but for the Z value.


For destructible placeables:
If your Placeable Blueprint is not set to "Plot", attach the "plc_pcprop_death" script to the "On Death" handler for it. This will make sure that any attached VFX are removed when the placeable is destroyed.



Disclaimer and other information:
This very thing has been done on multiple PWs in various forms, so the idea is not an original one, though these scripts are. I do not guarantee that these are exploit-free, so if there are scripters/bug testers out there with constructive feedback, I'd love to hear it!

Blueprints for various prop collections will be added as I have time to make them. I hope this eases some of the burden on builders.

Cheers!

Files

NameTypeSizeDownloads
BagelPortableProps.erfBagelPortableProps.erf
Submitted: 12-11-2010 / Last Updated: 12-28-2010
erf165.91Kb61
This file contains the five basic scripts plus the items listed below. For any module builder to use these items, they need only to download and import this file into their module, then save it.

The following prop blueprints have been included: Bedroll, Book (Open), Book (Closed), Bottle, Candle, Candelabra (Three-Flame), Candelabra (Five-Flame), Camp Tent, Crystal Ball, Faire Tent (Cerulean), Faire Tent (Golden), Faire Tent (Scarlet), Fruit Bowl, Leanto (City), Leanto (Plain), Leanto (Woodland), Picnic Blanket, Pile of Skulls, Sign (Generic), Sign (Left/Right), Sign (Straight Ahead), Ragged Tarp.

The following placeable blueprints have been included: Basket, Crate (Small), Crate (Large).
PortablePropsTestModule.zipPortablePropsTestModule.zip
Submitted: 12-11-2010 / Last Updated: 12-28-2010
zip1.2Mb48
Test module for the portable props. Just unzip the .mod file into your "...\Documents\Neverwinter Nights 2\modules" folder, then go to "New Game" then "New Module" and select "Test_PortableProps" from the menu. Create a new character then start testing the props. (Added 28-Dec-2010)
SCORE OUT OF 10
10
2 votes
View Stats
Cast Your Vote!
Voting FAQ

PORTFOLIO
Add this entry to your portfolio so you can track it
Manage your existing portfolios or create a new one.
SCREENS

Placing a candle!


The prompt for picking up a container.


Placeables included in BagelPortableProps.erf





You Must Be Logged In to Participate.
Comments (4):

Posted by Amphibious Bagel at 2010-12-28 18:11:15    
Updated today with test module and new item blueprints.

Posted by casadechrisso at 2010-12-13 20:33:43    Voted 10.00 on 12/13/10
Approved.
_________________________
Middleforest - An upcoming NWN2 PW
Skins for all races

Posted by Amphibious Bagel at 2010-12-12 23:21:15    
Yay, my first comment from nicethugbert! *Feels warm and fuzzy!* :D

Posted by nicethugbert at 2010-12-12 19:29:36    Voted 10.00 on 12/12/10
NEAT!
_________________________
NTB's Hills and Valleys Vol. 00

You must be Logged In to post comments in this section.

10 - A Masterpiece, Genuinely Groundbreaking
9 - Outstanding, a Must Have
8 - Excellent, Recommended to Anyone
7 - Very Good, Deserves a Look
6 - Good, Qualified Recommendation
5 - Fair, Solid yet Unremarkable
4 - Some Merit, Requires Improvements
3 - Poor Execution, Potential Unrealized
2 - Very Little Appeal
1 - Not Recommended to Anyone

 
Most recent posts on the MMO General Boards
Analyst: Star Wars: The Old Republic Could...Analyst: Star Wars: The Old Republic Could Sell 3M: more numbers
- last reply by Acao on Aug 15, 2011 06:15 PM
which class will your first character be
- last reply by Blisteringballs on Aug 15, 2011 05:50 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 05:00 PM
New Community Content!
- posted by Vault_News on Aug 15, 2011 04:00 PM
NWN Idea Database Update
- posted by Vault_News on Aug 15, 2011 03:46 PM
Missing Votes for NWN2 Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:40 PM
Missing Votes for NWN Hall of Fame
- posted by Vault_News on Aug 15, 2011 03:39 PM
Random Questions and game altering suggest...Random Questions and game altering suggestions!!!
- last reply by ArkadyTepes on Aug 15, 2011 03:22 PM
State of the game?
- last reply by LyricOpera on Aug 15, 2011 01:37 PM
Yesterday streaming, now demanding downloa...Yesterday streaming, now demanding download :(
- last reply by Sinane-tk on Aug 15, 2011 10:23 AM
 

   


IGN Entertainment
By continuing past this page, and by your continued use of this site, you agree to be bound by and abide by the User Agreement.
Copyright 1996-2011, IGN Entertainment, Inc. | Support | Privacy Policy | User Agreement | RSS Feeds
IGN’s enterprise databases running Oracle, SQL and MySQL are professionally monitored and managed by Pythian Remote DBA.


NWN2 Hall of Fame

HOF NWN2 Tutorials


View all Hall of Fame entries


Neverwinter Nights 2

TOP NWN2 Modules

NEW Modules

NEW Reviews

NEW INTL. Modules

TOP Hakpaks

TOP Gameworlds

TOP Tutorials

TOP Prefab:Areas

TOP Blueprints

TOP Plugins

TOP UI

TOP Other

TOP Visual Effects

TOP Scripts

TOP Tools

TOP Movies

TOP Models

TOP Characters





Hall of Fame

HOF NWN Modules


View all Hall of Fame entries


TOP NWN Modules

NEW NWN Modules

NEW Reviews

TOP Intl. Modules

TOP NWN Hakpaks

TOP NWN Gameworlds

TOP NWN Models

TOP NWN Portraits

TOP NWN Scripts

TOP NWN Prefabs

TOP NWN Other

TOP NWN Movies

TOP Sounds

TOP NWN Textures

TOP NWN Creatures

TOP NWN Characters