?????Vehicle disappearing?????

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
Daniel Radcliffe
Second Lieutenant
Posts: 168
Joined: Fri May 30, 2003 9:49 am

?????Vehicle disappearing?????

Post by Daniel Radcliffe »

After a long absence ive started back into mapping. So to all you oldies out there Hi again and to all you new people out there Hi. That said on with my problem.

Ive inserted an entity static>vehicle>german>sdkfz which seemed to be all fine till i discovered that for some reason i am able to destroy the vehicle by shooting it with a clip from an smg so that it vanishes. There is no health set under entities so i dont understand why i am able to do this as none of the other vehcles seems to have this prob.

Does anyone have an idea as to what may be causing this and any viable solutions to solving this.

Thx for your help.

ps. anyone fancy writing my objective script for me with a litle bit of extra stuff in for me as i accidently deleted mine for the map :? :oops: O well, guess i need to learn to script again.
Random
Moderator
Posts: 401
Joined: Sun Jun 01, 2003 11:00 pm

Post by Random »

There are several that can blow up like this, jeep is another one of em. Im not 100% sure but i think you need to add a lil something to signify you dont want the vehicle to blow up. Wish i had more intel but try doing a search for the answers i know i have seen them in here.
Moderator
Image
dooguesgoober4
Captain
Posts: 246
Joined: Fri Oct 17, 2003 1:00 am
Location: Akron, OH
Contact:

Post by dooguesgoober4 »

why dont you just try putting a weapon clip brush around the vehicle....unless its drivable
~DooGues~

Image
Download Now!!
Daniel Radcliffe
Second Lieutenant
Posts: 168
Joined: Fri May 30, 2003 9:49 am

Post by Daniel Radcliffe »

It dosnt blow up, just vanishes, blowing up wouldnt be too bad. Anyone know how to make it so it blows up and leaves a wreckage of the vehicle behind?

And if i cant add do the above could i add the health bar to max (what is max?) as i prefer not to add wep brushes as that tends to not clip the vehicle as well as it would do normally.
Random
Moderator
Posts: 401
Joined: Sun Jun 01, 2003 11:00 pm

Post by Random »

Search funtion ma man, like i told you i know there were some threads on it in here before just couldnt remember the details. I did searches on nodamamge and another on vehicle health and found the info you was lookin for.

You should try to do the same, you aint been gone that long :wink:
Moderator
Image
User avatar
williewisp
First Lieutenant
Posts: 208
Joined: Fri May 16, 2003 1:10 pm
Location: ireland

Post by williewisp »

if ya can't find any help or another post like this
(i'd be surprised if you can't cus i've seen previous post's about this.

anyway

set the health to a Ridiculous no.

eg. health/1000000000
it's not a time for thinking its a time for drinking!
Random
Moderator
Posts: 401
Joined: Sun Jun 01, 2003 11:00 pm

Post by Random »

I think that health setting might blow up your machine :roll: But yeah your right that is another way to achieve what you are trying to do.
Moderator
Image
kai0ty
Brigadier General
Posts: 507
Joined: Fri Mar 19, 2004 1:45 am

Post by kai0ty »

couldnt u target name it, and in the script do $self immune all ??????
There are only 10 kinds of people in this world; those who know what binary is, and those who don't.
Combat Kirby
Lance Corporal
Posts: 18
Joined: Wed Mar 03, 2004 7:50 pm

Post by Combat Kirby »

Give the vehicle a target name, such as "sdk" then in your script write:

Code: Select all

$sdk removeondeath 0
$sdk.health = 100
$sdk immune bullet
$sdk immune fast_bullet
$sdk immune shotgun
$sdk immune bash

$sdk waittill death
local.exp = spawn animate/fx_explosion_tank.tik
local.exp.origin = $sdk.origin
local.exp anim start
local.fire = spawn emitters/fire.tik
local.fire.origin = ($sdk.origin + (0 0 20))
local.fire anim start
wait 3
local.exp remove
end
Now only nades and rockets will destroy it and the model will not disappear when shot with bullets or bashing. But there is no destroyed model of the SDK in Mohaa so what I did I spawned in a fire on top of the SDK to show it was hit and destroyed.
Post Reply