Home   Help Search Login Register  

Author Topic: Expressions  (Read 1443 times)

0 Members and 2 Guests are viewing this topic.

Offline Mikeyfish90210

  • Members
  • *
  • HEY STOP TAKING SO LONG TO ANSWER SIMPLE THREADS
Expressions
« on: 04 Mar 2005, 16:57:05 »
Is their a way of giving units different face expressions using scripts? particularly ones where you can turn them on for a certain amount of time and then go back to default expressions. :) thanks for any replies
MIkEy FIshY BoyY YabDAO

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Expressions
« Reply #1 on: 04 Mar 2005, 17:58:41 »
Look at setMimic in the comref.  If you don't know where that is go to Edit dept/Online References/Commands.

Also you might want to have a look at Faces and Voices here:
http://www.ofpec.com/editors/list.php?show=pending&t=&setnumperpage=50
« Last Edit: 04 Mar 2005, 17:58:50 by THobson »

Offline RujiK

  • Members
  • *
  • KoKo Puh-Fizzles!
Re:Expressions
« Reply #2 on: 04 Mar 2005, 20:25:51 »
Just use setmimic, as Mikey said, but I'll tell you how to use it anyway.

unitname setmimic "Angry" or for the setting you can use Happy,smile,ironic,hurt,suprised.

Then when you want to put his mimic back to normal just put
unitname setmimic "Defualt".

That should work fine.
I like your approach, lets see your departure.
Download the New Flashlight Script!

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Expressions
« Reply #3 on: 04 Mar 2005, 20:30:59 »
mhmm, so long as you spell it 'default' :P

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Expressions
« Reply #4 on: 04 Mar 2005, 21:18:23 »
Quote
Mikey
???

and shouldn't it be Normal not default (however you want to spell it)?
« Last Edit: 04 Mar 2005, 21:19:16 by THobson »

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Expressions
« Reply #5 on: 04 Mar 2005, 22:20:18 »
either will do, depending on your preference - 'normal' will set the expression to 'dull' and unchanging.  'default' appears to enable changing expressions depending on mood, tide, season and planetary conjunction.

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Expressions
« Reply #6 on: 04 Mar 2005, 22:52:56 »
Well I didn't know that.  I am now off to change some of my scripts

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Expressions
« Reply #7 on: 04 Mar 2005, 23:06:31 »
WHOA THERE! i could be full of shit on this one... i've just done a check and it seems only loons without any setmimic designated will change expressions. in the current test, both 'normal' and 'default' have the same effect, i.e only very veeery tiny movement at the corners of the mouths.

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Expressions
« Reply #8 on: 05 Mar 2005, 13:41:09 »
Well I have changed all my scripts to put everyone back to Default mimic.  It sound like it should be okay.

Offline Mikeyfish90210

  • Members
  • *
  • HEY STOP TAKING SO LONG TO ANSWER SIMPLE THREADS
Re:Expressions
« Reply #9 on: 08 Mar 2005, 20:47:14 »
well cheers anyway xxxxxxxxxxxxxx
MIkEy FIshY BoyY YabDAO

Offline nominesine

  • Former Staff
  • ****
  • I'm NOT back!
    • The IKB Forum
Re:Expressions
« Reply #10 on: 10 Mar 2005, 22:27:08 »
in the current test, both 'normal' and 'default' have the same effect, i.e only very veeery tiny movement at the corners of the mouths.

Wow... You really made a field study of this? Impressing. Hope you remember to study the loons in their natural environment. They can behave very different if you take them into a laboratory  ;D

P.S I'm not being sarcastic. I'm truly amazed what OFP makes us do with our free time sometimes. My wife said I was crazy when I spent an hour trying to figure out if I could make a loon change from running around a car in a clockwise to an anti clockwise direction last weekend by placing different objects near the vehicle.
OFPEC | Intel Depot
RETARDED Ooops... Retired!

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:Expressions
« Reply #11 on: 11 Mar 2005, 09:13:57 »
I wondered how this thread could have ten replies. Some funny stuff here.
Anyway, from the command reference.

person setMimic mimic

Operand types:
person: Object
mimic: String
Type of returned value:
Nothing
Description:
Set mimic. Following values are recognized: "Default", "Normal", "Smile", "Hurt", "Ironic", "Sad", "Cynic", "Surprised", "Agresive", "Angry".

Example:
setMimic "Angry"
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."