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  



NWN SCRIPTS

- Jump to comments -
Title  Rest Campfire v2.0
Author  Gilgon Avalrock
Submitted / Updated  11-21-2002 / 11-22-2006
Category  Placeable Item
Expansions  Works on all versions
Format  Module and Code
Type  Type - Other (Subtype - Other)
Includes  None
Description
Import this .erf and you will get a custom placeable campfire with a conversation for lighting, etc. An unlit campfire can be broken down and carried with the player. If you use the onplayerrest script in your module's OnPlayerRest event, you won't be able to rest unless near one of the lit campfires, and invisible Rest Area object, or an area you specify in the script. If a campsite is required, and your character has a kit, all he has to do is click on Rest and he will set up the campsite. Lit fires will burn out after a certain time has passed OR you complete a rest cycle near them. This means you will need more kits to take with you. You can have a store that sells them, but I've also included Dead Tree and Wood Pile placeables. If you bash a Dead Tree, it creates a Wood Pile. If you click on a Wood Pile, it gives you two Campsite Kits. Includes a sample module with a demo of all functionality, as well as past versions in a sub-folder.

Files

NameTypeSizeDownloads
RestCampfire2.zipRestCampfire2.zip
Submitted: 11-21-2002 / Last Updated: 12-18-2002
zip46.27Kb2439
--
SCORE OUT OF 10
9.67
3 votes
View Stats
Cast Your Vote!

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





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

1 2 3

Posted by Gilgon at 2002-12-1820:11:00    
This new version incorporates all the ideas mentioned below. Thanks for all the suggestions! I think this has turned into a pretty solid system. You should be able to easily import it over a previous version. Just remember to update any instances you have previously placed. See the readme file for details on installation.

Posted by Sorphales at 2002-12-0612:21:00    
Thanks! I will try out tomorrow, must recover some sleep! Now, where is my camsite... ;) Sorphales

Posted by Gilgon at 2002-12-0609:51:00    
Put it right after the line that reads float oDist; and it should compile just fine.

Posted by Sorphales at 2002-12-0607:56:00    
Hello Gilgon, once again I must seek your wise knowledge: I have tried to add the line "if(GetTag(GetArea(oPC))=="InnRoom") return; " in the "onplayersrest"-script but I´m always getting compiling errors. The script itself is too complex for me to figure it out alone, so I want to ask if you could exactly tell me in which line in the current script I must put the new one and if it looks exactly like "if(GetTag (GetArea(oPC))=="InnRoom")return;" Please be patient with me, today I had success in a script that adjusted the aligment for 3 points and in playing a bardsong animation over the head of a bard for three seconds - and that already makes me +blocked+ proud ;c) I´m really makig little steps forwards at least. Sorphales

Posted by Sorphales at 2002-12-0415:16:00    
Thank you very much! I tried to send you my e-mail adress but I got an error- message that it can´t be delivered to you. Do you have an account on the Bioboards? I would like to private message it to you there. I would really like to test your work! Sorphales

Posted by Gilgon at 2002-12-0414:25:00    
Well, Sorphales, I did what I could. I got all the right calls in, but it seems that his placeable has two light sources in it, so you get this additional light coming from it even when not lit, that's hard to make go away. I sent him my revisions, as well as a request that he investigate the hak object. If you want my version, leave me an email address, but it still isn't 100% functioning properly.

Posted by Gilgon at 2002-12-0317:08:00    
Sorry, guys, the illumination (including the glow) is part of the campfire placeable. The only way to remove the glow would be to not use the illumination (which means no light on the environment at all). If you want to do this, just remove any calls to SetPlaceableIllumination(TRUE). You'll want to leave the ones that set it to FALSE, since it's on by default. As far as moving it up in the air or making it brighter, I don't think it's possible. Sorry.

Posted by Eldrik at 2002-12-0312:17:00    
How would you take out that glare off of the fire... I don't really think it looks good. I am also having the same problems as Merogrin, it doesn't light up the ground. Great little script btw. Let me know about that glare, though.

Posted by Merogrin at 2002-12-0311:41:00    
Can you raise the illumination off the floor a little if that's the case?

Posted by Gilgon at 2002-12-0309:35:00    
As far as I know, it should light the ground and walls around it. The two functions for turning on a light on a placeable are SetPlaceableIllumination(TRUE); RecomputeStaticLighting(GetArea(OBJECT_SELF)); The first sets a flag to turn on the glow, and the second must be called to actually affect the environment. Maybe because of the low location of the lightsource, it affects walls more than it affects the ground.

1 2 3

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

 
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 Gameworlds


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