OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Urbanebula on 20 Jul 2004, 21:19:03

Title: Help a N00b Today!
Post by: Urbanebula on 20 Jul 2004, 21:19:03
Well ok i'm not an OpFlash editing N00b but I'm an OPFEC N00b!

A few questions:

How can i arm civilians (I've seen this somwhere)

How can i make my own skins / uniforms. (Done faces) ;D
Title: Re:Help a N00b Today!
Post by: j-man on 20 Jul 2004, 21:24:35
1.
Code: [Select]
civie addmagazine "weapon"; civie addmagazine "weapon"; civie addmagazine "weapon"; civie addmagazine "weapon"; civie addmagazine "weapon"; civie addweapon "weapon"
2. You have to create an addon. Search through OFPEC's editor depot for some tutorials, etc...
Title: Re:Help a N00b Today!
Post by: Dubieman on 20 Jul 2004, 21:24:58
Okay we get it you're a noob and after a few months in OFPEC you won't be. ;)


1.) In the civvi's init line put:
this addmagazine "M16";this addmagazine "M16; this addweapon "M16"

Put more addmagazines for more clips. This gives you a M16 with two clips, one is already loaded into the gun.
If you put addweapon first the AI has to reload first.

2.)Dunno really, look for something on texturing units...
 :P

EDIT: I type too slow.... :'(
Title: Re:Help a N00b Today!
Post by: Urbanebula on 21 Jul 2004, 13:51:50
lol.

Cheers.

Another thing. In the actual game "Cold War Crisis" you play alongside the same characters in each mission. Koslowski and the captain etc. How can i choose the faces of the soldiers in the editor so that the player can advance through the missions alongside the same soldiers / faces?
Title: Re:Help a N00b Today!
Post by: DBR_ONIX on 21 Jul 2004, 14:01:23
You put
Code: [Select]
this setface "face1"It goes up to something like 30..
If you go to the player options thing.. It give you a bit long list of face names (You can choose what face you want your player to have)
- Ben
Title: Re:Help a N00b Today!
Post by: macguba on 21 Jul 2004, 14:03:35
Write in the init line of the unit

this setFace "face10"

or whichever one you want.   I think the numbers correspond to the list of faces when you select the player options from the Main Menu, but offset by one or two.   Experiment till you get what you want.    

For some faces (Resistance?   Women?) I think you have to use the name rather than the number.... not sure.


Edit:  too slow again.  :P
Title: Re:Help a N00b Today!
Post by: Dubieman on 21 Jul 2004, 15:47:59
You can also set up identities in a .ext document but it is better to use the setface thing on others. And use the identites on yourself...
Title: Re:Help a N00b Today!
Post by: Urbanebula on 21 Jul 2004, 19:35:58
Cool. Cheers for the help guys.