Aller au contenu

Photo

Help Making REAL Invisability


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

#1
Ugly_Duck

Ugly_Duck
  • Members
  • 76 messages
I couldn't find this information at the old forums, so I'll ask for help again here.

I'd like to make an item (ring or whatever) that when used, makes the item user completely invisible; not the transparent invisability that is currently available.

Thanks in advance!

#2
Ugly_Duck

Ugly_Duck
  • Members
  • 76 messages
This is what I've been able to come up with so far, with the help of Lilac Soul's Script Generator, but it does not work. The item I'm using is a book with the activate item property. It's tag is itm_book_invis & the script name is ac_itm_book_invis:



void main()

{

object oPC;



if (!GetIsPC(GetItemActivatedTarget())

)



{

SendMessageToPC(GetItemActivator(), "ERROR: Something went wrong!");

return;

}



object oTarget;

oTarget = oPC;



int nInt;

nInt = GetObjectType(oTarget);



if (nInt != OBJECT_TYPE_WAYPOINT) ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_DUR_CUTSCENE_INVISIBILITY), oTarget);

else ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_DUR_CUTSCENE_INVISIBILITY), GetLocation(oTarget));



}



Please help!

#3
MasterChanger

MasterChanger
  • Members
  • 686 messages
The visual effect will indeed make the character totally transparent. However, this has no effect other than another human being (or yourself) being unable to see the character on their screen. It does not prevent the character from being selected as a hostile target with the keyboard, and it does not prevent creatures' AI from going after the character.

Unfortunately, the invisibility bug introduced in patch 1.23 is not really at a level accessible to the community for fixing, as far as I can tell. I know the Sanctuary effect still works and is bypassed by the True Seeing effect (though not See Invisibility) so maybe using that for a work-around could be a start.

#4
Ugly_Duck

Ugly_Duck
  • Members
  • 76 messages

MasterChanger wrote...

The visual effect will indeed make the character totally transparent. However, this has no effect other than another human being (or yourself) being unable to see the character on their screen. It does not prevent the character from being selected as a hostile target with the keyboard, and it does not prevent creatures' AI from going after the character.

Unfortunately, the invisibility bug introduced in patch 1.23 is not really at a level accessible to the community for fixing, as far as I can tell. I know the Sanctuary effect still works and is bypassed by the True Seeing effect (though not See Invisibility) so maybe using that for a work-around could be a start.


That is EXACTLY what I want!  Just to make the PC unseen.  The reason I want this, is because I'm making loadscreens & need a way to make my PC disappear completely from the shot.  I've only got GIMP & MS Paint, so I can't edit the PC out of the shot, so this is like the only way I can think of to accomplish this.

Any help would be great. Image IPB

#5
kamalpoe

kamalpoe
  • Members
  • 711 messages
Why not take screenshots in the toolset?

#6
Kaldor Silverwand

Kaldor Silverwand
  • Members
  • 1 598 messages
Well, you could try and change the PC's size to something very, very small. You might be able to make him/her script hidden, but that would possibly break things. I've never tried to make things script hidden except NPC's. It does make them vanish (except for a small circular shadow where they were).



Regards

#7
JasonNH

JasonNH
  • Members
  • 237 messages

Ugly_Duck wrote...
That is EXACTLY what I want!  Just to make the PC unseen.  The reason I want this, is because I'm making loadscreens & need a way to make my PC disappear completely from the shot.  I've only got GIMP & MS Paint, so I can't edit the PC out of the shot, so this is like the only way I can think of to accomplish this.

Any help would be great. Image IPB


Ah, I have a couple of strategies I employ to do this. My favorite is to create a simple script that can scale the player down to 1/10th his size, which allows me to avoid including him in the shot rather easily. For instance, I named this script "hideme":

void main()
{
    object oPC = GetFirstPC();
   
    if(oPC != OBJECT_INVALID)
    {
        SetScale(oPC, 0.1, 0.1, 0.1);
    }
}

Start the game, and when you are in the area where you want to take the screenshot, open up the debug console with the '`' key. Then type:

# debugmode 1
# rs hideme

Hit the '`' key again to escape the console window and you should have your little camera man. If for some reason you need to have the character completely gone from the screen, you can replace the SetScale line with "SetScriptHidden(oPC, TRUE);"  The PC will disappear completely but you won't be able to control him anymore either, which is why I prefer the minimization route.

Modifié par JasonNH, 23 novembre 2010 - 01:28 .


#8
MasterChanger

MasterChanger
  • Members
  • 686 messages
The cutscene invisible VFX does totally hide the character, except for the blue circle, so I don't think there's really a need for script-hidden. I think the circle around the currently-controlled char might be alterable in the graphics options?

#9
Ugly_Duck

Ugly_Duck
  • Members
  • 76 messages
Thanks JasonNH,



Is there any way to remove the blue circle at my characters feet now?

#10
JasonNH

JasonNH
  • Members
  • 237 messages
I just put my camera in character mode and there is no circle.

#11
Hellfire_RWS

Hellfire_RWS
  • Members
  • 623 messages
Why not use the console command for the free camera. thats how I take shots of my creatures

the ability to fly the camera around without the PC following is great for screenshots


#12
Ugly_Duck

Ugly_Duck
  • Members
  • 76 messages

Hellfire_RWS wrote...

Why not use the console command for the free camera. thats how I take shots of my creatures
the ability to fly the camera around without the PC following is great for screenshots

What is the console command for this?

#13
Ugly_Duck

Ugly_Duck
  • Members
  • 76 messages

Hellfire_RWS wrote...

Why not use the console command for the free camera. thats how I take shots of my creatures
the ability to fly the camera around without the PC following is great for screenshots


What is the console command for the free camera?

#14
BigfootNZ

BigfootNZ
  • Members
  • 131 messages

Ugly_Duck wrote...
What is the console command for the free camera?


Theres a free camera mode?...

Id assume its in the debugmode list, you can bring up a complete list of all commands ingame although i dont remember seeing a free camera mode in it... granted its a long list with no commas :P so possibly easily missed ( it appears to be a DM tool).

Edit:- Found it... the command is 'Freecam'

Modifié par BigfootNZ, 24 novembre 2010 - 09:34 .


#15
Moreus

Moreus
  • Members
  • 6 messages
Why not use DM client?