Community Adventure Project
Welcome Adventurer, make yerself at home.
Search
 
 

Display results as :
 


Rechercher Advanced Search

Latest topics
» Fix or Improve??
Sat Dec 20, 2014 10:12 pm by Drgnwlkr

» Is there...
Fri Nov 14, 2014 10:39 am by Tavion

» Resetting Journal
Mon Oct 21, 2013 11:38 pm by Subnormal

» Golem Builder By Borojb
Sun Sep 01, 2013 1:32 pm by Tavion

» Hack K & L
Fri Jul 19, 2013 11:43 pm by Tavion

» Help with the haks
Fri May 31, 2013 7:34 pm by Wyrdwolf

» Character Retirement not working
Fri May 03, 2013 3:43 am by MannyJabrielle

» Yankeeyiddos.com
Sat Apr 06, 2013 1:58 am by Drgnwlkr

» The Grimm is back!
Sat Mar 09, 2013 1:41 am by borojb


Drgnwlkr's Questions

Page 2 of 2 Previous  1, 2

Go down

Re: Drgnwlkr's Questions

Post  Drgnwlkr on Thu May 24, 2012 8:36 pm

Thank you for the reply and I'll work with it. I'll look at some tutorials as well. I still have to fix the whole horse menu woes ...ugh!

The weather system I am using is real nice and does throw some 'variables' into combat. I have created 3-4 other climates, such as a cold, dry desert...extremely hot volcanic...mild temperature as well. I am thinking of creating an underwater temperature or 2, what do you guys think of that? In the system it can cause injury if out in the elements for too long plus it hinders movement and other abilities. I was thinking maybe freezing water and volcanic water that a PC could end up swimming into.

Again, thank you both for great insight!
avatar
Drgnwlkr
CAP Knight
CAP Knight

Posts : 128
Join date : 2011-09-03
Age : 53

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  borojb on Fri May 25, 2012 1:54 pm

Well,

Not to pile on or anything, but...

If you ARE using the Tag-Based scripting option, you're still a bit
off. As LoW alluded to a few post ago, if

Item Tag = xs_gate_book_002

then the script NWN will look for to fire will be

Script Name = xs_gate_book_002

Now, there are some other issues, the ones that LoW indicated
for starters, that need to be addressed, but the tag-based issue
seems to be at the root of your problem.


This is line 35 of the 'wrm_mod_loader' script which is the
OnModuleLoad event for Arbor Falls:

SetModuleSwitch (MODULE_SWITCH_ENABLE_TAGBASED_SCRIPTS, TRUE);

Whatever script you are using for that event should contain a similar line,
and that is what defines whether you are using tag-based (true) or
modonactivate (false) with the item scripting.




borojb
CAP Squire
CAP Squire

Posts : 75
Join date : 2011-01-08
Age : 48
Location : Downstate Illinois

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  Drgnwlkr on Fri May 25, 2012 6:35 pm

I'm afraid I may have not said something clearly. The book works perfectly like it should...the other OnActivate items work smoothly as well. It is just that when I activate the other items it calls the menu for the book to appear for the PC as well.
avatar
Drgnwlkr
CAP Knight
CAP Knight

Posts : 128
Join date : 2011-09-03
Age : 53

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  Drgnwlkr on Fri May 25, 2012 6:55 pm

I'm not meaning to sound like I am arguing because we all know you both are more wise at this than I am Smile I added the lines...


if (GetTag(oItem) == "xs_gate_book_002"
ExecuteScript("xs_dlg_gate_003", OBJECT_SELF);

My reasoning for this was that if the item used was the book then it would fire the dialog script to run the menu for the PC. Another thing I've noticed is that the Player Statistics Book functions fine and does not bring up the other menu. It's ExecuteScript is below everything else in the mod_acti script. I moved another ExecuteScript below it to check a theory but when I try to compile I get an error - PARSING VARIABLE LIST - from the location iLoc = GetItemActivatedLocation(); line that Worm suggested to be written in...so the script won't save Shocked
avatar
Drgnwlkr
CAP Knight
CAP Knight

Posts : 128
Join date : 2011-09-03
Age : 53

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  borojb on Fri May 25, 2012 7:45 pm

Right,

Don't worry, not thinking your being argumentative Mad Mad Very Happy

I guess my point is tho, that if you ARE enabling Tag-Based scripting, the script for your book
doesn't really belong in the moduleonactivate event, it belongs in the script whose name is the
same as the tag of the book Very Happy

With Tag Based Scripts:
When you activate the unique power of an item (for example 'xs_gate_book_002' = item tag)
the first thing the NWN engine does is look for a script named the same as the tag of
the item (in our example it would try to fire a script named 'xs_gate_book_02'). Failing that,
it runs through the modonactivate event script firing if it meets any of the conditions listed in
that script.

The reason why you other items are working, then pulling up the book dialog follows that logic as well,
for the reasons LoW pointed out (the missing if statement). You use the unique property, it
fires the tag-based script correctly, then moves along into the modonactivate event script
and fires the command without the 'if' statement afterwards.

So in that regard - if you take the portion of the script that deals with that book out of the
modonactivate script, and put it into its own script named 'xs_gate_book_02' (making sure
to remove that code from the modonactivate script), that solves that problem.

I would definitely suggest as LoW did, that you take a look around, the NWN Lexicon has
some good scripting tutorials and also good explanations and examples of typical functions,
but one of the most important things I've found, regarding the scripting stuff, is that the
organizational aspect is very important.

Hope that helps... Very Happy



borojb
CAP Squire
CAP Squire

Posts : 75
Join date : 2011-01-08
Age : 48
Location : Downstate Illinois

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  Drgnwlkr on Fri May 25, 2012 7:57 pm

I think I understand. For that book to work just create its own script and I do not need any ExecuteScript coded into the mod_acti? After removing what I had added of LoW's the script still would not compile... for some reason the pstat book and cros would not compile correctly so now I've fallen back to a stripped down version of the mod_acti script that does compile and have to add things back in again...so th woes of building goes Very Happy
avatar
Drgnwlkr
CAP Knight
CAP Knight

Posts : 128
Join date : 2011-09-03
Age : 53

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  borojb on Fri May 25, 2012 8:43 pm

Drgnwlkr wrote:I think I understand. For that book to work just create its own script and I do not need any ExecuteScript coded into the mod_acti?

Yes, that should be the case, all other things being the same.

And like I said before use/look at the Bioware script 'x2_it_example'
for how to set up the script to use the events properly.

borojb
CAP Squire
CAP Squire

Posts : 75
Join date : 2011-01-08
Age : 48
Location : Downstate Illinois

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  Drgnwlkr on Mon May 28, 2012 7:07 pm

Although I am learning alot from the Lexicon and NWNScript Guide, I cannot figure out still why the Horse Menu is not working for the PC Radial. I am making other scripting events for the module though. In hopes of making the world to seem move alive. Thank you both for your guidance =)
avatar
Drgnwlkr
CAP Knight
CAP Knight

Posts : 128
Join date : 2011-09-03
Age : 53

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  Drgnwlkr on Wed May 30, 2012 10:28 pm

I hope either or both of you guys can help me with this... I have looked the better part of today, trying to find a means to make a NPC 'levitate' just as DM Lord of Worms does in the Welcome area of Arbor Falls. The one main difference that I noticed is that his 'appearance' is plain Human. This appearance does not show for my module. Is there a script that must be called for such an ability? I know other PWs where the PC can gain the ability to 'levitate' and interact with the world they are in so I am kinda thinking it must be an effect but could very well be wrong.
avatar
Drgnwlkr
CAP Knight
CAP Knight

Posts : 128
Join date : 2011-09-03
Age : 53

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  Drgnwlkr on Mon Jun 04, 2012 4:43 am

Anyone have an idea why areas built from a specific hak will not open ingame yet can be accessed in the toolset and used to create more areas? I found Zwerkules' Medieval tileset and can make areas but cannot go to them ingame .
avatar
Drgnwlkr
CAP Knight
CAP Knight

Posts : 128
Join date : 2011-09-03
Age : 53

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  lord_of_worms on Mon Jun 04, 2012 4:43 pm

what do you mean by not open in game?

does the module load and just freeze at th eloading bar?

does the module crash to desktop before it loads?

does the module just go black and nothing happens.

if you add this hak to an *empty* module and try it does it work then?

avatar
lord_of_worms
CAP Knight
CAP Knight

Posts : 321
Join date : 2010-01-12
Age : 45
Location : Massachussetts

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  Drgnwlkr on Mon Jun 04, 2012 4:49 pm

Oops, I'm sorry. The module loads fine. Just when I wanted to go to the area as DM (through Chooser) the 'load bar stopped about 3/4 of the way on loading the area. I checked the Demo mod that came with the hak and it was fine so I decided to move the hak 'up' on the Custom Content of the module. Now I can go to the first area created with the tileset but when I try to use Chooser to go to the second area created it again stops loading at 3/4 of the 'load bar'. I apologize for being vague =)
avatar
Drgnwlkr
CAP Knight
CAP Knight

Posts : 128
Join date : 2011-09-03
Age : 53

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  Drgnwlkr on Fri Jun 08, 2012 1:25 am

Anyone know the proper settings to allow portforwarding on a dlink dir 601 router? I googled and set it how the portforwarding site said and the server shows on the list when I run NWN but it says it cannot find the server when I try to log onto it. Any help would be highly appreciated =)
avatar
Drgnwlkr
CAP Knight
CAP Knight

Posts : 128
Join date : 2011-09-03
Age : 53

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  lord_of_worms on Fri Jun 08, 2012 4:41 am

avatar
lord_of_worms
CAP Knight
CAP Knight

Posts : 321
Join date : 2010-01-12
Age : 45
Location : Massachussetts

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  Drgnwlkr on Fri Jun 08, 2012 5:30 am

Thanks Worm but that is what I've already done =)
avatar
Drgnwlkr
CAP Knight
CAP Knight

Posts : 128
Join date : 2011-09-03
Age : 53

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  Drgnwlkr on Fri Jun 08, 2012 3:17 pm

Thanks for trying to help. I chatted with an IT friend and he advised to go back to the linksys router we were using. With that re-installed, everything works like it should What a Face
avatar
Drgnwlkr
CAP Knight
CAP Knight

Posts : 128
Join date : 2011-09-03
Age : 53

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  Drgnwlkr on Fri Jun 08, 2012 10:39 pm

I was wondering... if either of ya are interested and don't mind, I could get copies of the module events to ya so you could see where my issues are with them. I'm at a loss why I can create a PC fighter who gets Mount Actions at level 1 only to have the Feat gone when the PC logs onto the server. I am still looking around and trying to reason it out on my own but getting close to begging Embarassed Shocked
avatar
Drgnwlkr
CAP Knight
CAP Knight

Posts : 128
Join date : 2011-09-03
Age : 53

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  lord_of_worms on Sat Jun 09, 2012 2:48 pm

yeah, just upload the MOD if possible to the upload site for arbor Falls.

http://arborfalls.dyndns-web.com/upload.php

I will take a look at it.
avatar
lord_of_worms
CAP Knight
CAP Knight

Posts : 321
Join date : 2010-01-12
Age : 45
Location : Massachussetts

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  borojb on Sat Jun 09, 2012 3:22 pm

Not having taken a look at it -

Isn't the character creation for a PW done client-side, so
it would allow regular PC creation until you tried to log into
the server, and then fail (at least the radial) as is being described?

I mean its basically the same reason that one can't prohibit
feats/classes through scripting at creation, but can after level 1,
isn't it?

borojb
CAP Squire
CAP Squire

Posts : 75
Join date : 2011-01-08
Age : 48
Location : Downstate Illinois

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  Drgnwlkr on Sat Jun 09, 2012 3:26 pm

Just uploaded. Thank you very much =) I had thought about maybe the Feat was restricted to say level 3 or 5 but after playing a new PC and getting it to lev 6, it still did not receive the chance to choose the Feat.
avatar
Drgnwlkr
CAP Knight
CAP Knight

Posts : 128
Join date : 2011-09-03
Age : 53

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  Drgnwlkr on Wed Jul 25, 2012 9:21 am

Okay, I could use some help please =) I'm working with the Seasonal Forest tileset and trying to figure out how to get the Drawbridge to set in the area. I have tried both sides of the water cobble and elevated, then lowered then 1 side cobble the other side forest. Nothing has worked so far. Anyone have ideas?

Also, I noticed something about your 2 undersea haks... I am already using version 10 but just found out that version 11 has much more content for undersea building. I want to move to version 11 but I believe the scorched earth basic tilset is part of it. I am already using this 1 in a stand alone hak. So, do I remove ver 10, add ver 11 of the undersea and reinstall the stand alone scorched earth haks? I do have several areas built with the scorched earth and undersea ver10 tilsets. And 1 last qustion for now What a Face are there any plans to add more content to the scorched earth hak?
avatar
Drgnwlkr
CAP Knight
CAP Knight

Posts : 128
Join date : 2011-09-03
Age : 53

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  Drgnwlkr on Thu Aug 09, 2012 4:08 am

I think no one has seen this last post =(

I also just realized how much content a builder loses out on if they do not take advantage of the CEP haks. Hell, they must hoard even the flag and banner appearances! I was starting a side project to work on hoping not to use the CEP but I cannot even use the NWN2 signs or other placeable content... this sucks. Suspect
avatar
Drgnwlkr
CAP Knight
CAP Knight

Posts : 128
Join date : 2011-09-03
Age : 53

View user profile

Back to top Go down

Re: Drgnwlkr's Questions

Post  Sponsored content


Sponsored content


Back to top Go down

Page 2 of 2 Previous  1, 2

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum