allied on mg42

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Tropheus
Corporal
Posts: 49
Joined: Sun Sep 14, 2003 11:19 pm
Location: france
Contact:

allied on mg42

Post by Tropheus »

Hello everybody.

IS it possible in single player map tio put an allied on a mg42 ?

tropheus
omniscient
Major General
Posts: 694
Joined: Tue Sep 16, 2003 12:02 am

Post by omniscient »

yes sir. make an axis man the machine gun and set his enemy to be axis and his allies to be allies. then make a custom skin that makes him look like an allie.
Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

You can set any ai to man a machine gun by setting his type idle etc to machinegunner and setting his turret to the gun . Press I in radiant and set all his types to machinegunner and in the turret box that opens up to the top right put in the name of the gun .
omniscient
Major General
Posts: 694
Joined: Tue Sep 16, 2003 12:02 am

Post by omniscient »

or u can do that too, lol thats a lot easier.
Image
Tropheus
Corporal
Posts: 49
Joined: Sun Sep 14, 2003 11:19 pm
Location: france
Contact:

Post by Tropheus »

thx for yours answers,
but tell me if i'am wrong .
it is the machine gun which define the target ?
is it possible to change the traget objective during the play?

thx

tropheus
omniscient
Major General
Posts: 694
Joined: Tue Sep 16, 2003 12:02 am

Post by omniscient »

what do you mean?
Image
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Post by Angex »

Well I had no idea it was that simple to setup an allied machine gunner, so a while ago I created a script to do it. It might help you change the machine gun's target, but unfortunatly I never really documented how the script works, only how to use it.

http://www.scit.wlv.ac.uk/~c0258769/other/alliedmg.scr
Tropheus
Corporal
Posts: 49
Joined: Sun Sep 14, 2003 11:19 pm
Location: france
Contact:

Post by Tropheus »

thx angex
thx all

i'm happy to find here all the solutions i dont't find by myself.

Angex do you allowed me to translate your wrok in french and put it on my website?

if you want to have a loock at it.

http://tropheus.tropheus.free.fr

thx again

tropheus
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Post by Angex »

Yes, sure you can.
User avatar
Franko74
Corporal
Posts: 45
Joined: Sat Jan 03, 2004 12:48 am
Location: Hungary
Contact:

allied mg42

Post by Franko74 »

Hi Guys,
I like to create allied on mg42 too (it should be russian soldier with mg42), but i can't do it.

I saw lot of tut, and i saw Angex's tut too, but it was in chinesse language to me.. :(
i'm not scripter, so, can anybody show some easy way* to create "allied on mg42"?


*: i mean to step by step tutorial, for stupids, what i'm :)
Tropheus
Corporal
Posts: 49
Joined: Sun Sep 14, 2003 11:19 pm
Location: france
Contact:

Post by Tropheus »

Thx Angex .

of course you will be named as the autors.

if you have a web site i'll put a link

thx again

Tropheus
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Post by Angex »

Hey franko maybe this example map will help http://www.scit.wlv.ac.uk/~c0258769/oth ... liedMG.pk3

I never finished it, so it doesn't show how to use all of the script's features. If you look at the "test_alliedMG.scr" the only threads you need are main objective3 and objective4 you can ignore the rest. Also I've only tested it for AA so it might not be suitable for what you want.
User avatar
Franko74
Corporal
Posts: 45
Joined: Sat Jan 03, 2004 12:48 am
Location: Hungary
Contact:

Post by Franko74 »

Thanks Angex, i 'll see it. :)
I make a map to MOHAA spearhead, so, i hope, the stuff 'll work into it.
Post Reply