After searching for a while, I am unable to find something on this problem. I created a physics driver named
physics
name 1
linear 0.0 0.0 0.0
angular 0.0 0.0 0.0
slide 0.0
death dont touch
end
and
meshbox
name deathbox
position 0 0 0
rotation 0
size 10 400 500
phydrv 1
When I run bzfs, it says
Couldn't find physics driver: 1 (or whatever I call it)
Any clue why?
I'm stumped...
- *Boinkage*!
- Private First Class
- Posts: 195
- Joined: Wed May 02, 2007 1:49 am
- Location: Behind you with a stealth flag.
I'm stumped...
The Pen is Mightier Than the Sword.
Okay, you get a Bic, the orc gets a long sword.
He cuts the Bic in half.
Then he cuts you in half.
Oops, I meant quarters.
Okay, you get a Bic, the orc gets a long sword.
He cuts the Bic in half.
Then he cuts you in half.
Oops, I meant quarters.
EDIT: never mind, tanner beat me to it
try changing the name to a string without numbers:
by the way, you can omit parameters like rotation, linear, angular and slide if you arent using them.
try changing the name to a string without numbers:
Code: Select all
physics
name cantTouchThis
linear 0 0 0
angular 0 0 0
slide 0
death dont touch
end
meshbox
name deathbox
position 0 0 0
rotation 0
size 10 400 500
phydrv cantTouchThis
end
gazz: A bullet may have your name on it, but shrapnel is addressed "to whom it may concern".
http://bash.org/?785529
http://bash.org/?785529
Also, you don't need all that other stuff, this works fine as a physics death..
I found out that you couldn't name physics with numbers the hard way
I think the same goes for other stuff like textures.
Code: Select all
physics
name GOAT!
death CAMEL!
end
I think the same goes for other stuff like textures.
“Roses are #FF0000, violets are #0000FF, all of my base are belong to you.” ~ Nerd on Colour
- *Boinkage*!
- Private First Class
- Posts: 195
- Joined: Wed May 02, 2007 1:49 am
- Location: Behind you with a stealth flag.
I am using something different (just an example). I'll try the different stuff, then edit when I finish
My last attempt will probably to copy that code exactly and see if it works.
EDIT: A copy and paste worked, I'm trying to figure out why. Does it matter where I put the physics name? It WAS at the bottom, now it's above the deathwall.
My last attempt will probably to copy that code exactly and see if it works.
EDIT: A copy and paste worked, I'm trying to figure out why. Does it matter where I put the physics name? It WAS at the bottom, now it's above the deathwall.
The Pen is Mightier Than the Sword.
Okay, you get a Bic, the orc gets a long sword.
He cuts the Bic in half.
Then he cuts you in half.
Oops, I meant quarters.
Okay, you get a Bic, the orc gets a long sword.
He cuts the Bic in half.
Then he cuts you in half.
Oops, I meant quarters.
- Spazzy McGee
- Sergeant Major
- Posts: 1405
- Joined: Mon Mar 21, 2005 4:59 pm
- Location: Planet MoFo, Sheffield Division; United Kingdom
If you want to call phydrvs by number, they start at 0, not 1. And you don't need to define that as a name - it just goes in the order of phydrvs in the map file.
If you ask me, it's always way easier to name your phydrvs and textures something descriptive. For example i might use 'electricity-death' for a phydrv, or 'fence-barbs' for a texture.
If you ask me, it's always way easier to name your phydrvs and textures something descriptive. For example i might use 'electricity-death' for a phydrv, or 'fence-barbs' for a texture.
"Life is what happens to you while you're busy making other plans." - John Lennon
- XLR8
- Private First Class
- Posts: 18
- Joined: Thu Sep 20, 2007 10:22 pm
- Location: North Carolina, USA
- Contact:
Yes, I am positive that you have to define all the materials and physics and all that good stuff before you define the object that uses that material. I had that same problem you have until I moved all my physics and materials to the very top of the document, or at least before the object that uses the material/physics.
"When did I realize I was God? Well, I was praying and I suddenly realized I was talking to myself."
-- Peter O'Toole
"If you die in an elevator, be sure to push the Up button."
-- Sam Leventon
-- Peter O'Toole
"If you die in an elevator, be sure to push the Up button."
-- Sam Leventon