IPB


Welcome Guest ( Log In | Register )

 Forum Rules Forum Rules
 
Reply to this topicStart new topic
> biuldings,officers,civillians..., Questions about the above in editor...
lyaoz
post Oct 14 2009, 10:47
Post #1


Member
***

Group: Members
Posts: 81
Joined: 11-October 09
From: Closer Than You Think...
Member No.: 6,642



Hello everyone...today i would like to know how exactly I would arm a civillian in mission editor... I know you would probobly have to enter something into the init line but I don't know the code...

In other matters I would like to know how to place items on certain floors in buildings...say for instance I would like to make a meeting going on in a room of a building between some officers or somthing but I can't do it because my units would either end up on the roof or floor...

one last thing...In editor whenever I place an officer he stands there just fine...but whenever I place an ammo crate or car/truck near him he always runs over to it to rearm (I think seeing he crouches near the back of trucks) and then runs back to where he is suppost to be but is facing the wrong direction and allsorts of other things like this... mad.gif

Cheers,
Lyaoz biggrin.gif

This post has been edited by lyaoz: Oct 14 2009, 10:48


--------------------
Never light a cigarette three times with the same match near a sniper...
1st time: gets his attention
2nd time: he aims
3rd time:**BOOM**
--------------------------------------------------------------------------------------
***BOOM, HEADSHOT***...... when footshots arent enough....
 
Quote Post
D@V£
post Oct 14 2009, 23:48
Post #2


Gee, I wish we had one of them doomsday machines.
Group Icon

Group: Moderators
Posts: 2,037
Joined: 13-November 06
From: Wales
Member No.: 155



(Eddsworld Avatar FTW! tongue.gif )

For the officer issue, put this in the initalization field:
CODE
This setbehaviour "careless"


To arm civilians use the addweapon and addmagazine commands in the initalization field, ie:
CODE
This addmagazine "30Rnd_556x45_Stanag"; This addmagazine "30Rnd_556x45_Stanag"; This addweapon "M16A2"

(Remember, add magazines, then weapons, or soldiers will start with unloaded weapons)

You can find a full list of weapon and ammo classnames here here: http://community.bistudio.com/wiki/ArmA:_Weapons

Setting the height of an object can be done with the setpos command. The simplest way to set height is this:
CODE
This setpos [(getpos this select 0),(getpos this select 1),z]

Where z is the height in meters.

This post has been edited by D@V£: Oct 14 2009, 23:49


--------------------
The Rules - Nothing too complicated, follow these and we'll have no problems.
Moderation Feedback Thread - Tell everyone how much you hate me love me secretly fear that Mark is watching you while you sleep. secretly wish that Mark is watching you while you sleep.
Site Issues Thread - Complain about site issues here. We might even fix them!
Community Chatter Thread - Furthest Mud-sling gets a free subscription to "JdB Monthly".

QUOTE(Major Mike Shearer)
We can categorically state that we have not released man-eating badgers into the area.
QUOTE(Brace Belden)
A machine gun is like a woman, I don’t understand it, I’m afraid of it, and one day I’ll accidentally be killed by one.
 
Quote Post
lyaoz
post Oct 15 2009, 07:37
Post #3


Member
***

Group: Members
Posts: 81
Joined: 11-October 09
From: Closer Than You Think...
Member No.: 6,642



Okay D@ve I'll give it a go and tell you what I think...
Thanks in advance...

Lyaoz


--------------------
Never light a cigarette three times with the same match near a sniper...
1st time: gets his attention
2nd time: he aims
3rd time:**BOOM**
--------------------------------------------------------------------------------------
***BOOM, HEADSHOT***...... when footshots arent enough....
 
Quote Post

Fast ReplyReply to this topicStart new topic
3 User(s) are reading this topic (3 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 29th March 2024 - 12:23