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  Dragon Combat
Author  The Fred
Submitted / Updated  02-14-2010 / 02-19-2010
Category  Creature AI
Expansions  NWN-1.69
Format  Module and Code
Type  Type - Combat
Includes  BioWare Standard
Description
Ever thought the powerful and magnificent beasts that are dragons seem a bit... well, lame?

The main reason for this is that in NWN, dragons lose one of their greatest abilities - flight.

Though the NWN engine won't support true flight, this is a set of two AI scripts which will make dragons fly about a bit using the appear and disappear animations, giving players a more wide-ranging and varied combat.

To use, simply set the following variables on your creature:

X2_SPECIAL_COMBAT_AI_SCRIPT - This should be "bd_ai_dragon" for dragon combat, and "bd_ai_flyby" for creatures which you want to fly about but not have thier other abilities run.

FlybyStompPower - If this is greater than 0, the creature will deal this many d6s of damage to those around it when it lands (Reflex save halves etc). I use 4 for adult dragons.

FlybyInfrequency - If you are using "bd_ai_flyby", you can increase this (up to 5) to decrease how often your creature uses its flight. A value of 2-3 is suggested for your average winged creature.

If using "bd_ai_flyby", the creature will only fly to foes (and thus this works best on melee creatures). If using "bd_ai_dragon", you will need to place down waypoints tagged "WP_DragonCombat" and "WP_DragonCombat2" (I use the former for an outer ring and the latter for an inner ring) which the creature will fly to.

Files

NameTypeSizeDownloads
Dragon_Combat_Scripts.zipDragon_Combat_Scripts.zip
Submitted: 02-14-2010 / Last Updated: 02-14-2010
zip28.62Kb164
The two AI scripts, "bd_ai_dragon" and "bd_ai_flyby".
Dragon_Combat_Spawn.zipDragon_Combat_Spawn.zip
Submitted: 02-14-2010 / Last Updated: 02-14-2010
zip30.67Kb118
A modified version of "nw_c2_default9" which will make the standard NWN Succubus, Summoned Succubus and Erinyes creatures will use "bd_ai_flyby" in combat (see Notes.txt inside the zip)
Dragon_Combat_Blueprints.zipDragon_Combat_Blueprints.zip
Submitted: 02-14-2010 / Last Updated: 02-14-2010
zip35.11Kb140
Two example blueprints - a standard Adult Red Dragon, and an Adult Wyvern.
Dragon_Combat_Override.zipDragon_Combat_Override.zip
Submitted: 02-14-2010 / Last Updated: 02-19-2010
zip35.29Kb91
By request: Overridden versions of "nw_ch_default9" and "nw_c2_dropin" and a copy of "bd_ai_flyby" (in .NCS form as well as .NSS) which will, if placed in your override folder, cause Succubi, Erinyes, Dragons, Wyrmlings, Wyverns and Mephits to use "flyby" tactics (you may wish to tweak these). You can also copy/paste these into your module(s).
Note that if these break combats in the OC or anything, it's considered "Not My Fault" (i.e. use at your own risk). Enjoy.
SCORE OUT OF 10
9.88
2 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

Dragon Combat!





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

Posted by The Fred at 2011-05-31 14:45:36    
If I remember correctly, the dragons will only use waypoints in their own area, so if you have two dragons in different areas everything will be fine. If you have two in the same area, they will use the same waypoints as each other.

The override scripts are just an alternative version of the core ones. If you import the modified OnSpawn script (the one in Dragon_Combat_Spawn.zip, above) then flying creatures should use the new AI in that module without need for the override.
_________________________
In production: The Dragon Dynasty
All my other stuff

Posted by Hanzo666 at 2011-05-05 13:05:11    
How easy is it to set it up to work for multiple dragons? I mean the advance tactic.

I would like to make several dragon instances that use this advance tactic, but if the waypoint are the same.. some dragon could disappear and appear in a whole different area.

Can I also easily use this on some default nwn creatures without using the override version?
I dont mind customizing some of the scripts in the creature events.

What do you think?

Posted by Nizeil at 2011-01-07 05:05:17    Voted 9.75 on 01/07/11
....
_________________________
It's not important what you achieve in your life. What is important is that what you leave behind when you die.

Posted by The Fred at 2010-02-21 09:14:31    
It's unlikely to, it's just a disclaimer really ;-)

The only way you might have problems would be if you used these in some mod where, say, you had to fight one of these foes at range, or one of them wasn't supposed to leave a certain area or something... like I said, it's unlikely, but I can't predict all possible situations that might crop up, so there's a very small chance some minor bug might occur, that's all. Obviously, this only applies to the override version.
_________________________
In production: The Dragon Dynasty
All my other stuff

Posted by Jedijax at 2010-02-20 10:16:42    
Wow! Will check these override files right away! Thanks a lot! But, why do you think it would break things up?

Posted by The Fred at 2010-02-20 05:24:05    
OK the override version is up, but it's only had limited testing so it's considered unsupported as far as breaking combats in other modules goes (though I think it should be fine). Currently it'll only work on the creatures listed, but I think that covers most of what you'd want to use the flyby tactics. It also doesn't give the dragons the advanced dragon combat tactics because that requires waypoints, but they will fly over and stomp on you and things. Let me know if it works OK, anyway.
_________________________
In production: The Dragon Dynasty
All my other stuff

Posted by The Fred at 2010-02-19 10:25:39    
If you included both the over-ridden OnSpawn script and the AI scripts in your override it would probably work, so I guess I could package that up for you. The full dragon combat wouldn't work though since it requires waypoints (something I forgot to mention originally).
_________________________
In production: The Dragon Dynasty
All my other stuff

Posted by Gonzo_og at 2010-02-15 23:09:28    
Looks interesting...
_________________________
stuff

Posted by KENLAMELLA at 2010-02-15 10:07:13    Voted 10.00 on 02/15/10
It's worth a ten now! Great scripts for builders! Well done my friend, and I don't mean my mutton. :)
_________________________
Farewell and a long farewell it shall be. Some of us are not destined to meet again.

Posted by Jedijax at 2010-02-14 18:51:23    
Any chance you make a version for the override folder? That would certainly be worth a ten!

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 Scripts


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