Okay, let me explain my circumstances. I want to have the player have a car and be able to drive it around. (In fact, I'm thinking of setting up a different car for a different purpose and so I'll figure that one.)
Okay, so the car is in a certain 'room' and it's from the vehicle class.
Before I have any external files included, I have
Okay, so I create a vehicle.
Code: Select all
vehicle YourCar "car"
{
in W_past_warehouse
article "your"
adjectives "car","auto","automobile","vehicle"
long_desc
"Having gone on a bender, you left your car half on
the road and half on the sidewalk. It can still be
driven, fortunately."
}
Fine. When I get to room
W_past_warehouse, "Your car is here." I can get
in and
out of the car, or vehicle, or auto. I can't move any direction unless I get out of the car. From what I had read, I had the impression that where the car is placed, you can drive in any direction to any room that you could walk into that doesn't have the
obstacle attribute.
Drive doesn't do anything, it isn't recognized either for drive or drive with a direction.
Since a vehicle is clearly an add-on it's not really discussed in the manual and I'm wondering how to enable it so I can use it to move certain places. Any hints or suggestions would be appreciated.
----
Hey well
I'm a friendly stranger in a black sedan
Won't you hop inside my car?
I got pictures, got candy
I'm a loveable man
And I can take you to the nearest star.
I'm your vehicle baby
I'll take you anywhere you wanna go.
- The ides of March,
Vehicle
Okay, let me explain my circumstances. I want to have the player have a car and be able to drive it around. (In fact, I'm thinking of setting up a different car for a different purpose and so I'll figure that one.)
Okay, so the car is in a certain 'room' and it's from the vehicle class.
Before I have any external files included, I have[code]#set USE_VEHICLES[/code]
Okay, so I create a vehicle.
[code]
vehicle YourCar "car"
{
in W_past_warehouse
article "your"
adjectives "car","auto","automobile","vehicle"
long_desc
"Having gone on a bender, you left your car half on
the road and half on the sidewalk. It can still be
driven, fortunately."
}
[/code]
Fine. When I get to room [color=cyan]W_past_warehouse[/color], "Your car is here." I can get [color=cyan]in[/color] and [color=cyan]out[/color] of the car, or vehicle, or auto. I can't move any direction unless I get out of the car. From what I had read, I had the impression that where the car is placed, you can drive in any direction to any room that you could walk into that doesn't have the [color=cyan]obstacle[/color] attribute.
[color=cyan]Drive[/color] doesn't do anything, it isn't recognized either for drive or drive with a direction.
Since a vehicle is clearly an add-on it's not really discussed in the manual and I'm wondering how to enable it so I can use it to move certain places. Any hints or suggestions would be appreciated.
----
Hey well
I'm a friendly stranger in a black sedan
Won't you hop inside my car?
I got pictures, got candy
I'm a loveable man
And I can take you to the nearest star.
I'm your vehicle baby
I'll take you anywhere you wanna go.
- The ides of March, [i]Vehicle[/i]