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  Real time climb system
Author  Rumata
Submitted / Updated  01-23-2010 / 01-27-2010
Category  Rulesets
Type  Type - Other
Format  Module Only
Patch  1.00
NWN2Game  All
Description
With this, you can climb everything!

The secret: I erase all the walkmesh of the area and a small script that detects the diferences of Z axis when the PC walk or run.

If there are a big difference in a short time, the script makes a climb roll, on failure, you fall down.


Climb Skill = (STR + DEX)/2

CD = Heightx2



Stealth mode: -4 to climb skill
Spot mode: +4 to climb skill

Stairs -20 to CD by default, but is configurable


Tip: If you walk, the climb is easy to do. If you run, probably lose some teeth.


Whatsnew:

- Script is faster.
- Now, Send the climb roll to player only when he falls.
- For default, the stairs substracts 20 to CD, but you can set it changing the local variable 'QLTY' in the stairs trigger (min value 5).
- Now, this script only works on areas with _CLI suffix in his tag.

To Do:

- Racial modiffiers.
- Include a real climb skill in the 2da files.
- Climbing tools & Clothes.


Enjoy!

Files

NameTypeSizeDownloads
climb0.1.rarclimb0.1.rar
Submitted: 01-23-2010 / Last Updated: 01-27-2010
rar1.4Mb91
Module with realtime scripting
SCORE OUT OF 10
10
1 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
No Images




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

Posted by nicethugbert at 2010-01-25 16:24:36    Voted 10.00 on 01/25/10
NEAT!
_________________________
NTB's Hills and Valleys Vol. 00

Posted by Charloulou at 2010-01-25 16:04:21    
We have about 40 or 45 players in the same time in my PW. You're right when you say (Rumata) it will create "lag".

I think the idea of triggers is a good one, but I don't know anything (or really few things) about scripts and codes so I suppose my opinion is not really important. I'm thinking about putting some triggers in some few places not very big with a rope or something like that.

I ask many questions but you don't have to do anything if you don't want =). There are just some ideas. My last for this day is to put an animation when the PC is climbing. I don't know any animation on the vault or anywhere else that could be uses as it but if you know how to make them, or where find them... I think it would make this system perfect ! Perhaps you are not able to do this but someone else...
_________________________
Fanelya

Posted by Rumata at 2010-01-25 15:06:56    
'PW = Persistent World' lol. Sorry, I'm cannot think in english at 100%


The concept is 'I can go up to where my skills allow it'


This concept is valid only for players, the NPC Gain the FREE CLIMB, for 2 reasons. Cannot path the best climbing way, and this consumes too many CPU

process. Only we can do is modify the creature scripts, to ignore the players positioned at more than 3 meters of diference height, this height may be

modified by creature size and skills.




How many people at same time connects to the PW?
Take 64.

By default, this script runs 2 times per second.

2x64 = 128 Executions per second, not good idea for all CPUs, need a Fast computer.

What we do?

1- Simplify the code (I will do this week)
2- Down the execution ratio (becomes easyer to scape from the script detection)
3- Buy a fast computer.


if you use it only in une area or trigger, is dangerous, if a considerable amount of people enters at the 'climbing area' at the same time, all the PW may

experiment a lot of lag until the system becomes stable
_________________________
Fly, Swim & Jump in NwN2?
May be...

Link
Link


Posted by kubilaiKhan at 2010-01-25 11:20:50    
interesting concept...

But, for PW, wouldnt this be more optimized to use the same concept, but reversing the trigger usage ?

Instead of making 'stairs' trigger, creating 'climbable' triggers.

adding /removing creatures concerned by the climb check as they enter/leave the trigger.

Moving module's 'OHB' script and handle it by a reccurent script call on the PC crossing the 'dangerous' area.. This script would do the same thing as you do on your fast_heart script (ie: making real time climbs checks).

The recurrent script would be disabled when trigger exited.

Posted by Hagaar at 2010-01-25 11:00:50    
@Rumata: pw = persistent world.
_________________________
We are all born ignorant, but one must work to remain ignorant.

Benjamin Franklin

Posted by Rumata at 2010-01-25 02:10:27    
Of course, need to change 'CLIMB_AREA_TAG' for the tag of the area you need
_________________________
Fly, Swim & Jump in NwN2?
May be...

Link
Link


Posted by Rumata at 2010-01-25 02:06:40    
Charloulou:

Verified only for my in my computer.
It works well in single player.
It works well in multiplayer with 2 players.
I have not means for test with any more than 2 players.

What is 'PW'?

If you want to use it only for one map, you must insert this at line 61:

if(GetTag(GetArea(oPC)) == 'CLIMB_AREA_TAG'){

and this at line 109:
SetLocalLocation(oPC,"LL",L);}





_________________________
Fly, Swim & Jump in NwN2?
May be...

Link
Link


Posted by Charloulou at 2010-01-25 00:26:46    
Somebody tested it ? Does it work well ?

This won't create any problems for pw ? Can we just use this script for one map ?
_________________________
Fanelya

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 Plug-Ins


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