BioWare Atari
Informazioni BioWare Giochi BioWare Supporto Forum Visit the BioWare Store
Neverwinter Nights Home
Neverwinter Nights Home

Archives: Builders - NWN Scripting



       Vai alla fine

Autore Changing Weapon Classes
Draycoz
Game Owner
Profilo: DraycozNWN
NWN: SoU
NWN: HotU


Registrato il: 05 ago 2005
Da: Dublin, Ireland
Inviato: venerdì, 05 agosto 2005 07:29
Hi, is it possible to change weapon classes? For example, I have a pickaxe on my server but the default class for the pickaxe is Martial or Monk (I think) but I want the pickaxe to be useable to everyone on the server (for mining and such), is there any way to do this?

Edited By Draycoz on 08/05/05 19:42

  Profilo: Draycoz   Invia messaggio a: Draycoz
Manawarsbuilder001
Game Owner
Profilo: Manawarsbuilder001NWN: HotU


Registrato il: 03 giu 2005
Inviato: venerdì, 05 agosto 2005 08:44
with some hacking i guess it could be done. you should post this on the custom content furom and maybe someone will answer.
  Profilo: Manawarsbuilder001   Invia messaggio a: Manawarsbuilder001
Choirmaster
Game Owner
Profilo: ChoirmasterNWN
NWN: SoU
NWN: HotU
NWN 2


Registrato il: 30 ago 2003
Inviato: venerdì, 05 agosto 2005 10:54
I tried working out a script for a separate item to add a bonus feat, weapon specialization martial (very briefly), and then equip the pickaxe before it went away. Unfortunately, I discovered that ActionEquipItem ignores bonus feat weapon specialization item properties (so I couldn't script the equip).

So, I made the temporary property long enough so the player would have time to manually equip the item, but this means the player could equip any martial weapon and when the property wears off, the weapon remains equipped. If you trust your players, this isn't so bad. I put in a DM message for notification of the item use.

Also, if you are using ELC and the player has the item equipped upon leaving the server, that might be trouble.

Anyway here's the activation script for the Pickaxe Equipper (actually enabler) set for tag-based system:
NWScript:

View Post/Code in separate window



You could add a tracking variable and do a check in your OnEquip event if you want more safeguards.
  Profilo: Choirmaster   Invia messaggio a: Choirmaster
Haryon
Game Owner
Profilo: HaryonNWN
NWN: SoU
NWN: HotU


Registrato il: 01 ago 2002
Da: France
Inviato: sabato, 06 agosto 2005 07:16
in baseitem.2da (I think it's there) for weapons you have 4 columns that concerns feats. They allow you to assign the weapon to 4 different feats (they don't need to be Weapon Profeciency feats, for example you could assign a weapon only to small creatures, by assigning the weapon the feat Small Stature).

Open feats.2da, check number for Simple_Weapon feat and for martial weapon feat, go to baseitems.2da, to light pick and change martial weapon to simple.

In fact simple isn't enough. Rogue, druids, and monk don't get simple. You could copy the feat numbers under the club, spear or quatterstaff (I think those weapons are available to each of those 4 proficiency) and assign them to the pick.

Note that if you want to give Dwarven Axe or Heavy Pick for free without Exotic or Martial feat to all dwarves, you can assign them to Stone Cunning feat for example, that should work.
_________________
Halkhemy - Hak building tool.
TPH - Custom tlk file to help creating categories in palettes.
  Profilo: Haryon   Invia messaggio a: Haryon


Cosa significano queste icone?
Come posso imparare a usare i forum?

Jump To:

Ricerca nei forum | FAQ sui forum | Archivi dei forum

 

 

BioWare Store
Neverwinter Nights 2 Forums
Mostra/nascondi

English
Deutsch
Français
Español
Italiano

Mostra/nascondi

Vedi le immagini più recenti 

Vedi le immagini più recenti
Mostra/nascondi

Multiplayer Games at Neverwinter Connections

Today
Schedule a Game...



L'ora attuale è: (imposta ora)
mar, 09 febbraio 2010 07:11

Mostra/nascondi

Download Modules

Top NWN: HotU Modules:
1. Good vs Evil III
2. More...

Top NWN: SoU Modules:
1. Good vs Evil III
2. More...

Top CEP Modules:
1. The Lord of Terror The Diablo Campa...
2. More...

Top Modules - NWVault:
1. Hall of Fame
2. More...

Total Modules: 4423

Mostra/nascondi

5,993,309 utenti BioWare:
  58 collegati
  2 nascosti
  453 ospiti

1156 Playing Online
  100% NWN
  102% NWN: SoU
  102% NWN: HotU

426 Registered Guilds

9,000,836 messaggi nei forum

Nuove discussioni:
1. Script control of encounters? (O... (NWN2: Builders - NWN2 Scripting)

2. Do i need to play BG 1? (Baldur's Gate II: SoA and ToB General Discussion)

3. Memorized Spells ui modification (NWN2: Custom Content)

4. My Dm's Can't log in, DM Client ... (NWN 1: Server Admin)

5. My Dm's Can't log in, DM Client ... (NWN 1: Server Admin)