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
3 registered members (NewbieZorro, TipmyPip, 1 invisible), 19,045 guests, and 8 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
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 | 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