Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by AndrewAMD. 12/05/23 10:56
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
6 registered members (3run, AndrewAMD, alibaba, fairtrader, ozgur, TipmyPip), 605 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 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