Gamestudio Links
Zorro Links
Newest Posts
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (AndrewAMD, VoroneTZ, 1 invisible), 1,578 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Start Finish Line code for Racing Game #214312
07/04/08 02:46
07/04/08 02:46
Joined: Sep 2006
Posts: 36
Tempe, AZ
B
bpc31 Offline OP
Newbie
bpc31  Offline OP
Newbie
B

Joined: Sep 2006
Posts: 36
Tempe, AZ
Hello,

I'm trying to use the sample from the AUM34 racing game but I have a boat model whose propeller gets stuck on the start finish line block. I need my models to be able to scan the texture but also drive through it.

Any ideas?

Thanks!
-Bruce

Re: Start Finish Line code for Racing Game [Re: bpc31] #214464
07/04/08 18:38
07/04/08 18:38
Joined: Apr 2007
Posts: 582
Germany
Poison Offline
User
Poison  Offline
User

Joined: Apr 2007
Posts: 582
Germany
just use c_trace to scan the ground-texture via SCAN_TEXTURE and look in the manual for str_cmpi wink


Everything is possible, just Do it!
Re: Start Finish Line code for Racing Game [Re: Poison] #214586
07/05/08 15:32
07/05/08 15:32
Joined: Sep 2006
Posts: 36
Tempe, AZ
B
bpc31 Offline OP
Newbie
bpc31  Offline OP
Newbie
B

Joined: Sep 2006
Posts: 36
Tempe, AZ
I have been getting the lap counter to work using c_trace and scan_texture however the propeller gets stuck on the block. I've tried checking and unchecking the block's PASSABLE box but it doesn't seem to make a difference.

c_trace (my.x, temp.x, scan_texture|ignore_me);

if (str_cmpi ("checker1", tex_name))
{
add_laps();
}

Re: Start Finish Line code for Racing Game [Re: bpc31] #214595
07/05/08 16:56
07/05/08 16:56
Joined: Nov 2005
Posts: 1,007
jigalypuff Offline
Serious User
jigalypuff  Offline
Serious User

Joined: Nov 2005
Posts: 1,007
in the blocks action put my.passable=on and ignore_models in the c_trace instruction.


Why does everyone like dolphins? Never trust a species which smiles all the time!
Re: Start Finish Line code for Racing Game [Re: jigalypuff] #237569
11/20/08 19:01
11/20/08 19:01
Joined: Apr 2006
Posts: 159
Latvija
Arrovs Offline
Member
Arrovs  Offline
Member

Joined: Apr 2006
Posts: 159
Latvija
ignore_passable! in c_move solve this problem!


Arrovs once will publish game

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