![]() |
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
|
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. |
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 |
you need the following after your code
local.opeld solid |
you can also just box the model in using WEAPON CLIP
found in COMMON textures |
werd..thanx fellas
|
Quote:
1.Select the vehicle 2. Push "N" 3. set: targetname: solid value: 1 4. Push enter Ready |
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 :) |
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
|
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 |
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?
|
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.