Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,388 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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