Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/20/24 01:28
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (kzhao, AndrewAMD, bigsmack), 824 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Applying two actions in the behaviours? #227209
09/13/08 09:05
09/13/08 09:05
Joined: Sep 2007
Posts: 658
germany
Tiles Offline OP
User
Tiles  Offline OP
User

Joined: Sep 2007
Posts: 658
germany
I have a polygonal landscape with two textures. I have also a colourmask and the multitextureterrainshader with its terrain_action.

When i use the terrain_action the colours gets replaced by the textures as thought. But my polygonal landscape with its two textures has a Zorder problem, i can see the walls behind through the ground and the walls. So I need to use a doublesided rendering, a culling action. Then the Z order works. But then i miss the terrain_action ...

I would need both at once. But there is just one action slot. Means i have either culling or terrain. Is there a way to attach two actions?







Last edited by Tiles; 09/13/08 09:06.

trueSpace 7.6, A7 commercial
Free gamegraphics, freewaregames http://www.reinerstilesets.de
Die Community rund um Spiele-Toolkits http://www.clickzone.de
Re: Applying two actions in the behaviours? [Re: Tiles] #227214
09/13/08 09:55
09/13/08 09:55
Joined: Sep 2007
Posts: 761
Hrvatska (Croatia ), Slavonski...
cro_games Offline
User
cro_games  Offline
User

Joined: Sep 2007
Posts: 761
Hrvatska (Croatia ), Slavonski...
Change one of the "actions" to "function" and call it from other..

Last edited by cro_games; 09/13/08 09:56.

Hello everyone my name is Ivan Mandic from "Frozen pixel studio". wink
-----------------------------------
Homepage: www.fpx-studio.com
e-mail: emu_hunter_1990@hotmail.com
(working on a game engine)
Re: Applying two actions in the behaviours? [Re: cro_games] #227229
09/13/08 11:36
09/13/08 11:36
Joined: Sep 2007
Posts: 658
germany
Tiles Offline OP
User
Tiles  Offline OP
User

Joined: Sep 2007
Posts: 658
germany
Ah, haven't thought about that. thanks smile

Last edited by Tiles; 09/13/08 11:36.

trueSpace 7.6, A7 commercial
Free gamegraphics, freewaregames http://www.reinerstilesets.de
Die Community rund um Spiele-Toolkits http://www.clickzone.de
Re: Applying two actions in the behaviours? [Re: Tiles] #227230
09/13/08 12:04
09/13/08 12:04
Joined: Sep 2007
Posts: 761
Hrvatska (Croatia ), Slavonski...
cro_games Offline
User
cro_games  Offline
User

Joined: Sep 2007
Posts: 761
Hrvatska (Croatia ), Slavonski...
No problem man,any time..


Hello everyone my name is Ivan Mandic from "Frozen pixel studio". wink
-----------------------------------
Homepage: www.fpx-studio.com
e-mail: emu_hunter_1990@hotmail.com
(working on a game engine)
Re: Applying two actions in the behaviours? [Re: cro_games] #227240
09/13/08 12:43
09/13/08 12:43
Joined: Sep 2007
Posts: 658
germany
Tiles Offline OP
User
Tiles  Offline OP
User

Joined: Sep 2007
Posts: 658
germany
Anytime? Well, then now :P

I cannot find where to put the function call for the second file. I have renamed the one action to a function. But no matter where i put the function call in the other file, i get just one of both. Either the culling or the textured level cry

I fear i have forgotten all my limited Lite C knowledge. Could you please be so kind to point me into the right direction? Zipfile with the two action files in question is attached smile

http://reinerstileset.4players.de/ext/3dgs/implementproblem.zip


trueSpace 7.6, A7 commercial
Free gamegraphics, freewaregames http://www.reinerstilesets.de
Die Community rund um Spiele-Toolkits http://www.clickzone.de
Re: Applying two actions in the behaviours? [Re: Tiles] #227286
09/13/08 16:56
09/13/08 16:56
Joined: Sep 2007
Posts: 658
germany
Tiles Offline OP
User
Tiles  Offline OP
User

Joined: Sep 2007
Posts: 658
germany
Problem solved. Not merging the actions. Just adding ZWriteEnable=true; in the pass p0 brackets part, which is at nearly the end of the terrainFX file. Thanks again for help smile

Last edited by Tiles; 09/13/08 16:57.

trueSpace 7.6, A7 commercial
Free gamegraphics, freewaregames http://www.reinerstilesets.de
Die Community rund um Spiele-Toolkits http://www.clickzone.de

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