Page 1 of 1

Having more than 1 mg42 used by Ai

Posted: Sun Aug 29, 2004 9:23 am
by Weltkrieg zwei
This is what i have done to get 1 mg 42 running:
I made a siple room(so I can Learn it first)

Put a wall 48 units high in to but he mg42 on

placed the bipod and gun in

then I read a couple of tutuarls and went with them

gave the gun a targetname/mg42


Then added a AI/german/wehrmact/soldier

Gave him key/values

targetname/mg42_gunner

target/mg42

turret/mg42

type_idle/machinegunner

type_attack/turret

And this is my script file:

exec global/loadout.scr maps/test_mymapname.scr
exec global/ai.scr
main:
level waittill spawn
$mg42 thread global/mg42_active.scr::mg42
end

what can i do to add more than 1 mg42 using these guidelines.
:) thanks in advance

Posted: Sun Aug 29, 2004 9:26 am
by jv_map
Do exactly the same, but replace any instance of 'mg42' with 'mg42_2' :)

What to change

Posted: Mon Aug 30, 2004 8:34 am
by Weltkrieg zwei
What keys do i have to change?

Do i have to add another line in my script file?

What do i change:
Target: mg42 /on the MG42
Target: mg42 /in the ai's properties
Turret: mg42 /in the ai's properties
And the script file value

Please give me the new values :)

Posted: Mon Aug 30, 2004 6:34 pm
by lizardkid
no no no, just change the name of the mg42 and the ai, jsut put a _2 at the end of the name, clone them (spacebar) move them however you like, and change those keys. it's that easy. :wink: