Alliedassault

Alliedassault (alliedassault.us/index.php)
-   MoH Maps, Mods & Skins (alliedassault.us/forumdisplay.php?f=11)
-   -   HELP,how to prevent bullets from going thru the vehicles (alliedassault.us/showthread.php?t=9340)

[75th ABN] CPT Cleaner 09-13-2002 05:57 AM

HELP,how to prevent bullets from going thru the vehicles
 
I cant seem to prevent bullets from going thru a truck that i have, if you stand on the other side you can shoot thru it and kill the person on the opposite end,, what line do i need to add to the script or what do I need to do to make it solid

scorpiomidget 09-13-2002 06:11 AM

couple of ways around it

if you targetname the truck say as "mytruck"

you can do

$mytruck solid

or in the map add a clip brush around the truck (you can countour it to the truck if ya like, and let people jump in the back etc).

Use a clip texture from the common folder, like tankclip or metalclip

then you get nice bullet sounds when u shoot at it.

[75th ABN] CPT Cleaner 09-13-2002 07:25 AM

hmm im not quit sure what you mean, I have this
local.opeld = spawn script_model
local.opeld model "vehicles/opeltruckgreen_d.tik"
local.opeld.origin = ( 3952 -3982 2)
local.opeld.angles = (0 93 0)


and I can build a bounding wall around it i guess,,what would I add to that script above

scorpiomidget 09-13-2002 08:28 AM

you need the following after your code

local.opeld solid

RUNGSI 09-13-2002 09:38 AM

you can also just box the model in using WEAPON CLIP
found in COMMON textures

[75th ABN] CPT Cleaner 09-13-2002 09:40 AM

werd..thanx fellas

Joss 09-13-2002 01:10 PM

Quote:

Originally Posted by scorpiomidget
couple of ways around it

if you targetname the truck say as "mytruck"

you can do

$mytruck solid

Much easyer way;

1.Select the vehicle
2. Push "N"
3. set:
targetname: solid
value: 1
4. Push enter
Ready

scorpiomidget 09-13-2002 03:23 PM

Rungsi:

i already said that

Joss:

that isn't easier, coz he's talking about a model that has been scripted not added in MohRadiant


Come on folks, read the threads before u reply :)

[75th ABN] CPT Cleaner 09-15-2002 05:58 AM

well the easy way..I added the solid line into it exactly as you typed it..and it still doesnt work,,you cant walk thru it and you cant jump into the back of the truck which is good altho I could when i didnt add the solid-- but you can still shoot thru it..I must do it the hard way i guess

scorpiomidget 09-16-2002 07:37 AM

just looked at what you typed again:

local.opeld = spawn script_model
local.opeld model "vehicles/opeltruckgreen_d.tik"
local.opeld.origin = ( 3952 -3982 2)
local.opeld.angles = (0 93 0)

i'd change it as below

local.opeld = spawn script_object
local.opeld model "vehicles/opeltruckgreen_d.tik"
local.opeld.origin = ( 3952 -3982 2)
local.opeld.angles = (0 93 0)

* NOTE the script_object instead of script_model

[75th ABN] CPT Cleaner 09-25-2002 07:17 AM

thanx scorpio I shall do that hey another question here is it possible to make the single player sounds or some of them to be activated in replace of some of the mutiplayer taunt sounds..so everyone can hear it SERVERSIDE mod?

joncoupe 09-25-2002 01:30 PM

dont argue with scorpio!
He is god :)


All times are GMT -6. The time now is 10:42 AM.

Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.