Having more than 1 mg42 used by Ai

Please use this forum to ask all your MoHAA Bots questions / discussions

Moderator: Moderators

Post Reply
Weltkrieg zwei
Private
Posts: 7
Joined: Thu Aug 26, 2004 7:33 am

Having more than 1 mg42 used by Ai

Post 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
In Weltkrieg zwei 60 million people lost there lives.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Do exactly the same, but replace any instance of 'mg42' with 'mg42_2' :)
Image
Weltkrieg zwei
Private
Posts: 7
Joined: Thu Aug 26, 2004 7:33 am

What to change

Post 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 :)
In Weltkrieg zwei 60 million people lost there lives.
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post 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:
Post Reply