AI health

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
User avatar
Firefox
Colour Sergeant
Posts: 90
Joined: Sun May 07, 2006 3:23 pm
Location: USA
Contact:

AI health

Post by Firefox »

How would I make one of my AI characters invincible but not the rest?
Tod001
Major
Posts: 294
Joined: Sat May 06, 2006 1:23 pm
Location: Shack in the woods,VA
Contact:

Post by Tod001 »

Hey Firefox,
I am but a Noob but maybe this will help/ point u in rt direction until one of the masters get here. :wink:
local.fix1 = spawn script_model
local.fix1 model static/indycrate.tik//////YOUR SUPERGUY's .tik :wink:
local.fix1.origin = ( 143 2914 256 ) YOUR COORDS
local.fix1.angles = ( 00.00 0.00 0.00 ) YOUR ANGLES
local.fix1.scale = 1.0
local.fix1 solid
local.fix1 nodamage
local.fix1 immune bullet
local.fix1 immune fast_bullet
local.fix1 immune bash
local.fix1 immune mg
local.fix1 immune grenade
local.fix1 immune explosion
This is from a post by Nielomax...........
Image
User avatar
Axion
Major General
Posts: 683
Joined: Mon Sep 29, 2003 5:14 am
Location: Northern California
Contact:

Post by Axion »

This doesn't give total invincibility, but you can still make a character pretty tough by giving them incredibly high helath. In the AI parameters window, just give the AI character that you want to be invincible a health value of 9999. You can also adjust their accuracy and eyesight so you can make the character as tough as you want.
"The work of a thousand years is nothing but rubble."
- Dr. Carl Goerdeler (1943)
Visit my mapping site: http://www.freewebs.com/axion9
Image
User avatar
bdbodger
Moderator
Posts: 2596
Joined: Tue Feb 25, 2003 7:34 am
Location: canada
Contact:

Post by bdbodger »

You should be able to do

$myai nodamage

then

$myai takedamage
Image
User avatar
Firefox
Colour Sergeant
Posts: 90
Joined: Sun May 07, 2006 3:23 pm
Location: USA
Contact:

Post by Firefox »

k thanks, what I also want to no is how do I make them walk a specific path?
Tod001
Major
Posts: 294
Joined: Sat May 06, 2006 1:23 pm
Location: Shack in the woods,VA
Contact:

Post by Tod001 »

:roll:
Wise man say; "Seek and ye shall find" :wink:
https://map.moh-central.net/t.php?id=70
Image
User avatar
k47a
товарищ
Posts: 810
Joined: Fri Mar 25, 2005 1:19 pm

Post by k47a »

Image
abolakomadic
Private
Posts: 1
Joined: Mon Jun 05, 2006 6:42 am

Post by abolakomadic »

i don't like it.
Read this free e-book http://www.gomore.ws/SEO_MadeEasy.pdf
Not Only Will You Make Money, But More Importantly You'll Build Credibility And Will Be Providing Your Customers And Friends With Very Powerful Search Engine Optimization Strategies!
Green Beret
Major General
Posts: 746
Joined: Mon Apr 19, 2004 12:21 pm
Contact:

Post by Green Beret »

Looks like a bot^ , These losers never quit :(
Image
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

abolakomadic wrote:i don't like it.
Don't know if you're a bot but make 1 more stupid post like this and you're off :!:
Image
Post Reply