Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
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
3 registered members (TedMar, AndrewAMD, fairtrader), 578 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
new level #124508
04/16/07 18:19
04/16/07 18:19
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline OP
User
tompo  Offline OP
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
I have a question about many levels...
If f.e. my player touch something and he will be "transport" to the new level (.wmp)...
I have to include in this new level all scripts again? All behaviours, animations, functions, actions etc?
And what about the vars and defines? The will be store (remember) autmoaticly? Or what? Or I have to everything agian from zero to each level?


Never say never.
Re: new level [Re: tompo] #124509
04/17/07 09:09
04/17/07 09:09
Joined: Dec 2006
Posts: 65
A
andy_1984 Offline
Junior Member
andy_1984  Offline
Junior Member
A

Joined: Dec 2006
Posts: 65
adapt this code from the cari3 example. place it in the action of your player
Code:

vec_set (temp, my.x);
temp.z -= 1000;
trace_mode = ignore_me + ignore_passable + scan_texture;
trace (my.x, temp); // trace 1000 quants below the car
if (str_cmpi ("checker1", tex_name)) // if we've got the texture named "checker1" (without the quotes)
{
//change level function here
}



when your player toucches the texture checker1 or what ever you replace it with it will do what ever you want it to were i placed //change level here.

not sure about having to include all scripts and actions again though

Re: new level [Re: andy_1984] #124510
04/17/07 10:13
04/17/07 10:13
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline OP
User
tompo  Offline OP
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
I know how to teleport player to another level. Question is about the vars, strings, defines, actions, functions, included files... etc. I have to do all from the begining? It means include all files agian, attach actions, set vars? Or maybe they are store somehow automaticly?
Waiting for replys


Never say never.
Re: new level [Re: tompo] #124511
04/17/07 10:45
04/17/07 10:45
Joined: Dec 2006
Posts: 65
A
andy_1984 Offline
Junior Member
andy_1984  Offline
Junior Member
A

Joined: Dec 2006
Posts: 65
ah my appologies. i have no idea


Moderated by  HeelX, rvL_eXile 

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