Gamestudio Links
Zorro Links
Newest Posts
loading historical data 1st time
by AndrewAMD. 04/14/23 12:54
Trade at bar open
by juanex. 04/13/23 19:43
Bug in Highpass2 filter
by rki. 04/13/23 09:54
Adding Limit Orders For IB
by scatters. 04/11/23 16:16
FisherN
by rki. 04/11/23 08:38
AUM Magazine
Latest Screens
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Hecknex World
Who's Online Now
2 registered members (Grant, AndrewAMD), 911 guests, and 9 spiders.
Key: Admin, Global Mod, Mod
Newest Members
rki, FranzIII, indonesiae, The_Judge, storrealba
18919 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
where are hit.skin1, hit.u1, hit.v1 ??? #181010
01/30/08 22:26
01/30/08 22:26

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Hi!

Did you remove hit.*?
Why? When do we get it back ?

mercuryus

Re: where are hit.skin1, hit.u1, hit.v1 ??? [Re: ] #181011
01/31/08 06:47
01/31/08 06:47
Joined: Jul 2000
Posts: 27,935
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,935
Frankfurt
No, I did not remove it.

Re: where are hit.skin1, hit.u1, hit.v1 ??? [Re: jcl] #181012
01/31/08 06:54
01/31/08 06:54

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Where is it defined? / how to use it?
I get a "Parameter unknown hit keyword" error

Code:
 
BMAP* bmph;
...
bmph = hit.skin1;
...



thanx mercuryus

Re: where are hit.skin1, hit.u1, hit.v1 ??? [Re: ] #181013
01/31/08 07:36
01/31/08 07:36
Joined: Jul 2000
Posts: 27,935
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,935
Frankfurt
It's defined in atypes.h, and declared in avars.h.

Re: where are hit.skin1, hit.u1, hit.v1 ??? [Re: jcl] #181014
01/31/08 09:05
01/31/08 09:05

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



thanx

Re: where are hit.skin1, hit.u1, hit.v1 ??? [Re: ] #181015
01/31/08 12:41
01/31/08 12:41

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



(v7.07.6)
no values for .u1, .v1, .skin1 but 1 for trace_hit after c_trace.

Whats going wrong?

Code:
c_trace(lv_from,lv_to,IGNORE_PASSABLE);



mercuryus

Re: where are hit.skin1, hit.u1, hit.v1 ??? [Re: ] #181016
02/01/08 11:13
02/01/08 11:13

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



I now use SCAN_TEXTURES for c_trace(lv_from,lv_to,IGNORE_PASSABLE|SCAN_TEXTURES);

Now hit.skin1 has (at least) a value but still nothing (0) for hit.u1, hit.v1.

Re: where are hit.skin1, hit.u1, hit.v1 ??? [Re: ] #181017
02/03/08 17:43
02/03/08 17:43
Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
You wont get u1 v1 from a bounding box, you need to hit a polygonal model for this. If its not polygonal try USE_POLYGON.

Re: where are hit.skin1, hit.u1, hit.v1 ??? [Re: Tobias] #181018
02/04/08 07:44
02/04/08 07:44

A
Anonymous OP
Unregistered
Anonymous OP
Unregistered
A



Thank you for reply but still no position information

Re: where are hit.skin1, hit.u1, hit.v1 ??? [Re: ] #181019
02/04/08 11:31
02/04/08 11:31
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
are you using 7.06 and higher beacause it didnt work white 7.05 here and white 7.07 it did

but i got the problem that i know the bitmaps pointer but how can i get the texture name of bmap pointer


"empty"
Page 1 of 2 1 2

Moderated by  old_bill, Tobias 

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