Aller au contenu

Photo

I'd like my party to move about 100% faster.


  • Veuillez vous connecter pour répondre
9 réponses à ce sujet

#1
Losse

Losse
  • Members
  • 110 messages
I dont really want haste spell and i'd lilke it to be perminant.  Is that possible with some sort of console command? 

Even 50% would be better than nothing.

#2
kevL

kevL
  • Members
  • 4 061 messages
void main()
{
  object oTarget = GetPlayerCurrentTarget(OBJECT_SELF);
  effect eFast = EffectMovementSpeedIncrease(99);
  eFast = SupernaturalEffect(eFast);
  ApplyEffectToObject(DURATION_TYPE_INSTANT, eFast, oTarget);
}


  Image IPB  

#3
Losse

Losse
  • Members
  • 110 messages
Is this a console command or a GFF editor change.

If it is a console command is there a way to cut and paste it or just gotta print it and enter it manually?

#4
I_Raps

I_Raps
  • Members
  • 1 262 messages
That's a script. You'll need to put it on an item that has the Unique Power property using the Toolset. Probably a topic for another subforum if you can't already find the methodology here.

To search this site, put "site:social.bioware.com" in Google - works much faster.

example:

site:social.bioware.com nwn2 item "unique power"  OR "tag-based"

Modifié par I_Raps, 10 janvier 2013 - 06:37 .


#5
I_Raps

I_Raps
  • Members
  • 1 262 messages
kevL,

While I have no need for speed, I've been wondering about a script like that to apply visual effects to characters - specifically flaming armor (for a start).

If I put that script as ON_EQUIP will it come off properly when the item is unequipped, or would I need additional code to do that?

Modifié par I_Raps, 10 janvier 2013 - 06:55 .


#6
kevL

kevL
  • Members
  • 4 061 messages

I_Raps wrote...

That's a script. You'll need to put it on an item that has the Unique Power property using the Toolset. Probably a topic for another subforum if you can't already find the methodology here.

To search this site, put "site:social.bioware.com" in Google - works much faster.

example:

site:social.bioware.com nwn2 item "unique power" OR "tag-based"

hey, that's a good idea _Raps!

I thought just, create a new script in the toolset, give it a name like "movefast" or "myhaste" -- compile it, copy it ( .Nss/.Ncs ) out of the temp directory before closing the toolset, then paste in MyDocs->override somewhere


and run it from the console with whatver ya want 'fasted' as yer Target,

rs myhaste

- but yes having it as an Item feels better IG

Modifié par kevL, 10 janvier 2013 - 07:14 .


#7
kevL

kevL
  • Members
  • 4 061 messages

I_Raps wrote...

kevL,

While I have no need for speed, I've been wondering about a script like that to apply visual effects to characters - specifically flaming armor (for a start).

If I put that script as ON_EQUIP will it come off properly when the item is unequipped, or would I need additional code to do that?

you'd need extra code to remove the vFx .. it kinda depends on the approach you want to take, we can take it up down in Scripting or Toolset if ya want to, but if the vFx is available as an item-property and set it to 'active only when equipped' that's easiest; otherwise you're looking at two tag-based scripts for that specific piece of armor : i_<armortag>_eq , i_<armortag>_ue

tho I'm leary to say what's gonna work and what's not, before it's done. There are definitely a few vFx masters better than moi kicking around .....

Modifié par kevL, 10 janvier 2013 - 07:13 .


#8
I_Raps

I_Raps
  • Members
  • 1 262 messages
Hmmm. Well first, I had no idea you could do a free-standing console script like that, so that's my learn-something-new for the day. I still would opt for the item so you could give it a duration, I think.

Second, as for the flaming armor - I think I'll have a look at a cutscene involving a certain ne'er-do-well summoning fire from the walls and see what he's up to.

#9
kevL

kevL
  • Members
  • 4 061 messages

I_Raps wrote...

Hmmm. Well first, I had no idea you could do a free-standing console script like that, so that's my learn-something-new for the day. I still would opt for the item so you could give it a duration, I think.


free-standing console scripts FTW !!

note that i wrote the script above to make it as *permanent* as possible .... ie, it can only be removed by another script specifically designed to do so. probably



Second, as for the flaming armor - I think I'll have a look at a cutscene involving a certain ne'er-do-well summoning fire from the walls and see what he's up to.

- also don't forget you can create your own SpecialEffectsFile ( .Sef ) with the visual effects editor Plug-in : it's really neat but has a learning curve -- although an existing .Sef can be opened and altered fairly easily,

#10
Luminus

Luminus
  • Members
  • 458 messages
Um, persistent haste? Though that takes a while to get it.
Or you can create permanent haste items in the toolset and give them to your characters with a console command or a character editor.