Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Trading Journey
by howardR. 04/24/24 20:04
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (howardR, AndrewAMD, EternallyCurious, Petra, 1 invisible), 791 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Modify script #304407
01/07/10 15:17
01/07/10 15:17
Joined: Jun 2008
Posts: 146
London
T
Truth Offline OP
Member
Truth  Offline OP
Member
T

Joined: Jun 2008
Posts: 146
London
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.

Re: Modify script [Re: Truth] #304659
01/09/10 18:52
01/09/10 18:52
Joined: Jun 2009
Posts: 38
H
hungryhobo Offline
Newbie
hungryhobo  Offline
Newbie
H

Joined: Jun 2009
Posts: 38
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).

Re: Modify script [Re: hungryhobo] #304816
01/11/10 00:36
01/11/10 00:36
Joined: Dec 2008
Posts: 1,660
North America
Redeemer Offline
Serious User
Redeemer  Offline
Serious User

Joined: Dec 2008
Posts: 1,660
North America
@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!

Last edited by Redeemer; 01/11/10 00:44.

Eats commas for breakfast.

Play Barony: Cursed Edition!
Re: Modify script [Re: Redeemer] #305236
01/13/10 18:27
01/13/10 18:27
Joined: Jun 2008
Posts: 146
London
T
Truth Offline OP
Member
Truth  Offline OP
Member
T

Joined: Jun 2008
Posts: 146
London
Thanks

Re: Modify script [Re: Redeemer] #307974
02/01/10 01:05
02/01/10 01:05
Joined: Jun 2009
Posts: 38
H
hungryhobo Offline
Newbie
hungryhobo  Offline
Newbie
H

Joined: Jun 2009
Posts: 38
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?


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1