Home   Help Search Login Register  

Author Topic: Civilian side = west & problem with FXStandSurUniv  (Read 1540 times)

0 Members and 1 Guest are viewing this topic.

Offline Hauk

  • Members
  • *
  • I sail under the Jolly Roger!! Pirates are kings!!
Civilian side = west & problem with FXStandSurUniv
« on: 12 Jun 2005, 15:57:08 »
Hey everyone,

I have a civilian in a town whose about to be executed by a Russian officer, and what i want him to do is do the "FXStandSurUniv" switchmove and i have him set as a captive, but still he goes prone at the start of the cutscene. I have his behaviour set to "SAFE" but still nothing, he goes prone.

Any ideas?

Cheers

Hauk
« Last Edit: 12 Jun 2005, 15:57:34 by Hauk »

Offline THobson

  • OFPEC Patron
  • Former Staff
  • ****
Re:Civilian side = west & problem with FXStandSurUniv
« Reply #1 on: 12 Jun 2005, 16:00:13 »
Try setting him to CARELESS

Or make resistance friendly to East
« Last Edit: 12 Jun 2005, 16:00:47 by THobson »

Offline Hauk

  • Members
  • *
  • I sail under the Jolly Roger!! Pirates are kings!!
Re:Civilian side = west & problem with FXStandSurUniv
« Reply #2 on: 12 Jun 2005, 16:04:22 »
ok, i'll give it a shot when i get home.

I'll report back here.

Watch this space!

Hauk

Offline 456820

  • Contributing Member
  • **
Re:Civilian side = west & problem with FXStandSurUniv
« Reply #3 on: 12 Jun 2005, 16:14:05 »
or how about in his init field
this setunitpos "up"
that will make him stand up for aslong as you want then when you want

Offline Hauk

  • Members
  • *
  • I sail under the Jolly Roger!! Pirates are kings!!
Re:Civilian side = west & problem with FXStandSurUniv
« Reply #4 on: 12 Jun 2005, 17:48:46 »
Okay thanks everyone, I know have the Civilian standing with his hands on his head.

But the Soviet officer won't shoot him. I'm using:

Code: [Select]
officer1 doFire man3
But that doesn't work.

I'm thinking its a problem with him being a captive, so how do i change his side to being west.

I've tried

Code: [Select]
side man3 == west
Or how do i set him just not being a captive anymore??

Thanks

Hauk

Offline 456820

  • Contributing Member
  • **
Re:Civilian side = west & problem with FXStandSurUniv
« Reply #5 on: 12 Jun 2005, 17:53:58 »
make the officer target the civi first then use do fire like this

Code: [Select]
officer1 dotarget man3
~1
officer1 doFire man3

works for me

Offline Hauk

  • Members
  • *
  • I sail under the Jolly Roger!! Pirates are kings!!
Re:Civilian side = west & problem with FXStandSurUniv
« Reply #6 on: 12 Jun 2005, 17:59:05 »
cheers man, i'll see if it works ;)

Hauk

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Civilian side = west & problem with FXStandSurUniv
« Reply #7 on: 12 Jun 2005, 18:04:07 »
Code: [Select]
side man3 == west
wouldn't work. if you want to do a check for what side a unit is, that would work. but you can't change a unit's side during a mission.

if you have made the prisoner a captive with

Code: [Select]
unit_name setcaptive true
then just unset it using

Code: [Select]
unit_name setcaptive false

Offline Hauk

  • Members
  • *
  • I sail under the Jolly Roger!! Pirates are kings!!
Re:Civilian side = west & problem with FXStandSurUniv
« Reply #8 on: 12 Jun 2005, 18:30:59 »
Ok, I unset the setCaptive command as you said. But the officer doesn't shoot him  :-\

I have the officers behaviour set to "CARELESS" and still nothing.

This is the code i have to execute the execution:

Code: [Select]
officer1 setBehaviour "CARELESS"

officer1 setCombatMode "Open Fire"

officer1 dotarget man3
~1

man3 setCaptive false

officer1 doFire man3
~10

And he just points his gun at the civilian.  :(

Any more ideas  :-[

Hauk

Offline 456820

  • Contributing Member
  • **
Re:Civilian side = west & problem with FXStandSurUniv
« Reply #9 on: 12 Jun 2005, 18:34:01 »
Open fire i never knew thats right i thought it was something like setcombatmode "red" or something plus i think make the officer aware instead of careless

Offline Hauk

  • Members
  • *
  • I sail under the Jolly Roger!! Pirates are kings!!
Re:Civilian side = west & problem with FXStandSurUniv
« Reply #10 on: 12 Jun 2005, 18:52:37 »
Okay, i changed his combat mode to red and his behaviour to aware.

I think i have it. Instead of him shooting man3, he just places his satchels around him. So i'm thinking if i remove all his satchels he'll end up having to use his gun.

Btw, is the string value for a satchel charge "Pipebomb"?

Cheers,

Hauk

Offline 456820

  • Contributing Member
  • **
Re:Civilian side = west & problem with FXStandSurUniv
« Reply #11 on: 12 Jun 2005, 19:03:01 »
i think pipebomb is correct it sounds weird that dotarget and dofire commands dont work they worked for me and it sounds like were doing near enough the same thing

Offline Hauk

  • Members
  • *
  • I sail under the Jolly Roger!! Pirates are kings!!
Re:Civilian side = west & problem with FXStandSurUniv
« Reply #12 on: 12 Jun 2005, 19:05:01 »
Yeah it is weird.

I've another problem now. I have this in officer1's init field:

Code: [Select]
this removeWeapon "PipeBomb"; this removeWeapon "Pipebomb"; this removeWeapon "Pipebomb";
But still he plants his satchel charges!

any ideas?

Hauk

Offline 456820

  • Contributing Member
  • **
Re:Civilian side = west & problem with FXStandSurUniv
« Reply #13 on: 12 Jun 2005, 19:08:35 »
okay the name is "Pipebomb" wich is correct so he shouldnt have any satchel charges left  ??? ???
just one thing how are you telling the officer to fire is it dofire ?

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Civilian side = west & problem with FXStandSurUniv
« Reply #14 on: 12 Jun 2005, 19:08:52 »
use

Code: [Select]
removeallweapons unit_name
and then add magazines and guns manually. that or use someone without satchels.