Home   Help Search Login Register  

Author Topic: How to remove...?  (Read 883 times)

0 Members and 1 Guest are viewing this topic.

pertti49

  • Guest
How to remove...?
« on: 30 Jul 2003, 14:39:46 »
How do i remove soldiers eyeglasses, i have unit that using it with every soldier?

deaddog

  • Guest
Re:How to remove...?
« Reply #1 on: 30 Jul 2003, 15:25:02 »
Try this:

person setFace soldier
Operand types:
    person: Object
    soldier: String
Type of returned value:
    Nothing
Description:
    Set person's face.

Example:
    setFace "Face10"

There are many faces, Face10, 14, etc.

If they still end up with eyeglasses the do this:

person setIdentity identity
Operand types:
    person: Object
    identity: String
Type of returned value:
    Nothing
Description:
    Set identity of person. Identities are defined in descripion.ext of the mission or campaign.

Example:
    setIdentity "JohnDoe"

This gives you even more control but you have to set the right parameters in the description.ext file first.  Look at one of the tutorials in Ed Depot for more info.




pertti49

  • Guest
Re:How to remove...?
« Reply #2 on: 30 Jul 2003, 18:10:10 »
tx but is there way to change cpp some line that the model whount wear eyeglasses so i dont need to do it maually like 150 men ;)?

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:How to remove...?
« Reply #3 on: 30 Jul 2003, 19:14:46 »
I don't know if this has any effect or so, but...  ???

Try adding

 hiddenSelections[] = {brejle};

in the config... brejle seems to be the selection (at least in the Eastern soldier model) in which the eyeglasses appear...

But like I said, dunno... I might so wrong (again...)  :-[
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.

deaddog

  • Guest
Re:How to remove...?
« Reply #4 on: 30 Jul 2003, 23:46:32 »
Do you have something against people that wear glasses? Like me!!   :) ;D 8)

pertti49

  • Guest
Re:How to remove...?
« Reply #5 on: 31 Jul 2003, 03:32:00 »
no mate lol but maybe looking more realistic as 150 men without the glasses than with them ;D