Author Topic: REQUEST FOR NEW IDEAS TO SCRIPT  (Read 2610 times)

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
REQUEST FOR NEW IDEAS TO SCRIPT
« Reply #90 on: January 02, 2011, 04:22:34 am »


               

Mirgalen wrote...

Specific module modification "on the fly". It could be a script or may be a DM wand.

Purpose: To be able to modify encounters in game as they are spawned.

Example 1:
If we spawn goblins (random encounters) from the Green goblin tribe as they spawn we need to swap their shield if any to a green shield (the green shield may come from a hak btw).

Example 2: 
We are spawning a group of kobold snipers (random encounters) but they have longbows what we want is give them crossbow or rifles instead.

The script and/or wand should work with the following variables:
- Types of creatures affected by the command (all or none)
- Item in the inventory to be removed/destroyed
- Item to be added and possibly equipped


Thanks a bunch if you can do this. Mostly useful for Mac/Linux users. 






The DMFI encounter  area is tied in with a wand.   It allows a DM to spawn creatures into a ring.  Once they are spawned into the ring thy can adjust/equip/buff them how they see fit.   the DM can then spawn in that encounter (the creatures within the ring from the DMFI encounter wand.   I think this is about what you are asking for.
               
               

               
            

Legacy_werelynx

  • Hero Member
  • *****
  • Posts: 1110
  • Karma: +0/-0
REQUEST FOR NEW IDEAS TO SCRIPT
« Reply #91 on: January 02, 2011, 02:58:04 pm »


               If you are looking for a challenge make invisible placeable you can walk on for example: player able to go forward while standing in a special place of a cliff(explanation would be an illusion perhaps?)
               
               

               
            

Legacy_ehye_khandee

  • Hero Member
  • *****
  • Posts: 1415
  • Karma: +0/-0
REQUEST FOR NEW IDEAS TO SCRIPT
« Reply #92 on: January 02, 2011, 04:28:02 pm »


               

werelynx wrote...

If you are looking for a challenge make invisible placeable you can walk on for example: player able to go forward while standing in a special place of a cliff(explanation would be an illusion perhaps?)


Sorry friend, that's a modelling issue and idk if it can even be done in NWN (I recall seeing a good deal of discussion of such elsewhere). I do scripting, modelling is not my forte. Anyone else interested in trying have at it (though you'd likely get more / better responses if you put this out as a thread in the custom content board.

Be well. Game on.
GM_ODA
               
               

               
            

Legacy_SuperFly_2000

  • Hero Member
  • *****
  • Posts: 1292
  • Karma: +0/-0
REQUEST FOR NEW IDEAS TO SCRIPT
« Reply #93 on: January 03, 2011, 02:50:40 pm »


               An XP system that is just like the original one just that it lets you adjust how many level apart party members can be before XP is reduced....and also perhaps an XP boost for being in party on the adventure.



I know there are heaps of XP system on the vault but I feel they all mess with how XP was supposed to be distributed according to the original NWN.
               
               

               
            

Legacy_Frith5

  • Hero Member
  • *****
  • Posts: 595
  • Karma: +0/-0
REQUEST FOR NEW IDEAS TO SCRIPT
« Reply #94 on: January 12, 2011, 08:09:36 pm »


               Okay, here is an idea. I started to mess around with it myself, but realized I don't have the time.

System goal:

To allow for placement of objects atop other objects at runtime

in NWN.

1. Example: PC carries a helmet in inventory. PC can select the

helmet, then click on the table with the helmet. If the PC is

close enough to the table, the helmet is removed from inventory,

and spawned at the location, at the correct z-axis (based on a

local stored on the furniture).


NEEDS:

Store a local variable on a table that contains the required z-

axis height, corresponding to the 'surface' of the tabletop.

Get the y and z positions of the table, and the angle too.

Create an Area Shape from stored locals on the table, which set

the W and L of the Area of the tabletop. Could possibly draw a

trigger and use that?

Using those coordinates, spawn the object.

The above are only some thoughts on the matter, of course. Other methods might be better. I couldn't, for example, find a simple way to track what the PC has clicked from their Inventory, but not dropped or places yet. I'm sure there are ways.

Anyhow, it'd be neat to be able to put stuff on top of tables, etc.

JFK
               
               

               
            

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
REQUEST FOR NEW IDEAS TO SCRIPT
« Reply #95 on: January 12, 2011, 09:25:19 pm »


               

werelynx wrote...

If you are looking for a challenge make invisible placeable you can walk on for example: player able to go forward while standing in a special place of a cliff(explanation would be an illusion perhaps?)

There actually IS a way to do this, though not with placeables. It involves editing the area in a gff editor, though, to create invisible tiles. It's pretty involved if you haven't done it before, but the results look stupendous (the bones are placeables, placed just under the invisible tiles, with cep's invisible walls set to block walking past their edges):

'Posted

'Posted

Unfortunately, editing the area once you do this makes the tile models revert (I deleted the highlighted places in the last pic). This also shows the walkable area directly:

'Posted

And ingame:

'Posted

You can find a how-to guide here:
Click Me

Funky
               
               

               
            

Legacy_ffbj

  • Hero Member
  • *****
  • Posts: 1097
  • Karma: +0/-0
REQUEST FOR NEW IDEAS TO SCRIPT
« Reply #96 on: January 13, 2011, 12:03:14 am »


               Super-cool presentation, and an interesting believable result too.
Nice Work!
               
               

               


                     Modifié par ffbj, 13 janvier 2011 - 12:05 .