Modify script

Posted By: Truth

Modify script - 01/07/10 15:17

Is anyone able to modify a wdl script i have? its a script that allows cars to follow a path created in WED, but i need it to also allow the player (plbiped01) to steal and drive the cars too. Similar to GTA.
Posted By: hungryhobo

Re: Modify script - 01/09/10 18:52

well, a simple way would be to make an animation for getting in the car upon pressing a key, setting the car as the player, and then erasing the old player model.

then you would control the car, if i am correct. as long as you programmed how to drive the car.

if that doesnt help, try posting your code (the important parts).
Posted By: Redeemer

Re: Modify script - 01/11/10 00:36

@hungryhobo: I was the original programmer for this script and while I considered this, the end result wouldn't be very convincing since the car wouldn't move very realistically :\

EDIT:

I'll tell you what would be best, Truth: have someone write the rest of your game code for you, so you don't have to use the templates. If you have no experience with scripting, which is what I've been assuming so far, you may be thinking that this may be a more difficult task than just implementing my scripts into the templates. But the truth is, it's more difficult for a programmer to add on/modify code he has no experience with at all, especially HUGE code like the templates. This is especially true if there is no documentation that explains the scripts.

Now, my own scripts are rather simple and short and a good programmer should be able to read, recognize, and expand them rather easily. This is why I say it would actually be better to have a programmer write your game code for you.

Besides, this way you can have control over the small details of the game: HUD, controls, etc.

Now, I myself am really busy right now and I am unable to help you with this, but if you go hunting (and perhaps offer a little money) you might be able to find somebody who can help you.

Good luck!
Posted By: Truth

Re: Modify script - 01/13/10 18:27

Thanks
Posted By: hungryhobo

Re: Modify script - 02/01/10 01:05

if you created 2 different actions, player and car, and defined different movement methods for both, wouldnt you be able to have different ways to move?

surely you could switch the player entity between the 2 actions and have 2 ways to move. right?
© 2024 lite-C Forums