Post your scripting questions / solutions here
Moderator: Moderators
Vic Marrow
Colour Sergeant
Posts: 95 Joined: Wed Aug 20, 2003 2:31 pm
Post
by Vic Marrow » Mon Nov 17, 2003 4:59 pm
How would you turn on firendly fire. Like if I'm an american and accidently shot an american. How could I make the shot cause damage or death?
jv_map
Site Admin
Posts: 6521 Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:
Post
by jv_map » Mon Nov 17, 2003 5:32 pm
If you're referring to mp matches, simply set g_teamdamage to 1.
Vic Marrow
Colour Sergeant
Posts: 95 Joined: Wed Aug 20, 2003 2:31 pm
Post
by Vic Marrow » Mon Nov 17, 2003 9:50 pm
No, I mean is it possible for single player games?
jv_map
Site Admin
Posts: 6521 Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:
Post
by jv_map » Tue Nov 18, 2003 8:54 am
I honestly wouldn't know
smartaiguy
Brigadier General
Posts: 512 Joined: Tue Jul 08, 2003 2:52 pm
Post
by smartaiguy » Tue Nov 18, 2003 1:17 pm
should already do that... Also try checking the Ai menu. (Press "I")
Vic Marrow
Colour Sergeant
Posts: 95 Joined: Wed Aug 20, 2003 2:31 pm
Post
by Vic Marrow » Tue Nov 18, 2003 7:15 pm
On my game it won't. What should I check for in the ai menu?
bdbodger
Moderator
Posts: 2596 Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:
Post
by bdbodger » Wed Nov 19, 2003 3:25 am
You can't do that in single player unless you make the american a german .
$myamerican_ai german
Vic Marrow
Colour Sergeant
Posts: 95 Joined: Wed Aug 20, 2003 2:31 pm
Post
by Vic Marrow » Wed Nov 19, 2003 4:23 pm
Thanks again for your help!!!!!!!!!
Tropheus
Corporal
Posts: 49 Joined: Sun Sep 14, 2003 11:19 pm
Location: france
Contact:
Post
by Tropheus » Thu Dec 11, 2003 8:17 pm
hie every body.
i have seen the answer that you can turn the american ai to a german ai.
but is it possible to do this but in this side.
german ai ==> american ai
isit possible to do this for the dogs?
Thanks for your answers.
Tropheus
jv_map
Site Admin
Posts: 6521 Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:
Post
by jv_map » Thu Dec 11, 2003 8:48 pm
Yep, simply type:
$dog american
Where 'dog' is the targetname of your dog.
Tropheus
Corporal
Posts: 49 Joined: Sun Sep 14, 2003 11:19 pm
Location: france
Contact:
Post
by Tropheus » Thu Dec 11, 2003 9:35 pm
good good !!!!
why it's so easy ???
Thanks for all.
Thanks also to the administrators for the link to my website for the translation of bjarne's tutorial. thanks also to bjarne to let me translated his tutorial.
bye
Tropheus