Gamestudio Links
Zorro Links
Newest Posts
zorro with ccxt?
by opm. 03/03/26 03:17
ZorroGPT
by TipmyPip. 03/02/26 18:13
WFO Training with parallel cores Zorro64
by Martin_HH. 02/26/26 16:03
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 16:38
Camera always moves upwards?
by clonman. 02/21/26 09:29
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (TipmyPip, AndrewAMD, Quad), 5,062 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
the1, alx, ApprenticeInMuc, PatrickH90, USER0328
19200 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 | 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