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
1 registered members (TipmyPip), 18,508 guests, and 5 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
Player Entity Assignments #77620
06/13/06 19:29
06/13/06 19:29
Joined: Sep 2002
Posts: 199
Chicago, Illinois
Thehawk Offline OP
Member
Thehawk  Offline OP
Member

Joined: Sep 2002
Posts: 199
Chicago, Illinois
Hello,

I have asked this question before with various levels of results. I apologize before because I could not clearly communicate what I was trying to do. I will attempt to do this once again (and actually save this thread as a refference to find it easier in the future.) I apologize for the redundant.

The basics steps of what I'm trying to accomplish:

1)I would like to start the game from a title screen.
2)The player uses the mouse to click new game.
3)Once the player clicks new game the first level is loaded.

The problem that I have is that once the new level is loaded, the player cannot control his avatar. I can only see the model that has the "Player" action assosciated with it. The model cycles through its animations but I seem to be stuck at the position of the camera.

I want the player to be in control of his character as soon as the level is loaded.

How can I do this?


I created my interface by making a dummy level and defining a panel that covers the entire screen. The mouse mode was set to one so that the player can see/move the mouse. But once the level loads, The mouse disappears but the player is stuck at the camera position.


P.S. Yes, I did attach my Player action to a model and I did update my entities.

P.S.S There is only one script for both levels.


I appreciate and all insight you all can provide. Also if there are any good resources that could serve me please point me to them.

Re: Player Entity Assignments [Re: Thehawk] #77621
06/13/06 19:58
06/13/06 19:58
Joined: Aug 2005
Posts: 199
houston
S
seneca Offline
Member
seneca  Offline
Member
S

Joined: Aug 2005
Posts: 199
houston
have you made sure that model is not in any solid objects when the level loads?


a8 commercial
Re: Player Entity Assignments [Re: seneca] #77622
06/13/06 20:34
06/13/06 20:34
Joined: Sep 2002
Posts: 199
Chicago, Illinois
Thehawk Offline OP
Member
Thehawk  Offline OP
Member

Joined: Sep 2002
Posts: 199
Chicago, Illinois
Yes. I can actually see the model in the middle of the test room. There's no geometry around it. I can see it from the camera position's perspective.

Re: Player Entity Assignments [Re: Thehawk] #77623
06/13/06 20:45
06/13/06 20:45
Joined: Aug 2005
Posts: 199
houston
S
seneca Offline
Member
seneca  Offline
Member
S

Joined: Aug 2005
Posts: 199
houston
what about the level itself. is it a sky sphere or perhaps a dome, or cube?
there is a passable check box in the properties menu...try that.

maybe you can post part of what you have for the players action. maybe something in the code is interfering with the movement code.


a8 commercial
Re: Player Entity Assignments [Re: seneca] #77624
06/13/06 21:34
06/13/06 21:34
Joined: May 2006
Posts: 398
Bot190 Offline
Senior Member
Bot190  Offline
Senior Member

Joined: May 2006
Posts: 398
my idea is to use the "reusable code templates" here from the contest.try that you'll have to butcher his code but it should help.


Wait, there isn't a "Make My Game Now" button?
Re: Player Entity Assignments [Re: seneca] #77625
06/13/06 21:43
06/13/06 21:43
Joined: Sep 2002
Posts: 199
Chicago, Illinois
Thehawk Offline OP
Member
Thehawk  Offline OP
Member

Joined: Sep 2002
Posts: 199
Chicago, Illinois
Quote:

what about the level itself. is it a sky sphere or perhaps a dome, or cube?
there is a passable check box in the properties menu...try that.

maybe you can post part of what you have for the players action. maybe something in the code is interfering with the movement code.




No it's not a sky sphere it's basically just a hollow cube. I do think something is interfering with the player code. I'm not sure but I think it has something to do with the mouse mode and the fact that during the first level has the camera at it's own angle and is independent of the player action's camera.

Re: Player Entity Assignments [Re: Bot190] #77626
06/13/06 21:58
06/13/06 21:58
Joined: Apr 2004
Posts: 516
USA
Trooper119 Offline
User
Trooper119  Offline
User

Joined: Apr 2004
Posts: 516
USA
If none of this works try your key commands, if your player isn't responding may be your keyboard and/or your mouse has incorrect or no commands set to them. Usually you will have one set of commands set for your menu and then change them when you load your level therefore having possible infinant amounts of commands for one key if in different states.

In your 3DGS manual if you search under "key mapping" you can find a topic named 'Keyboard' that tells you the key names (for a reference in your code) and there currect default functions.



You usually usually re-assign commands similar to this.
Code:
 on_x = exit(); // press [x] to exit the game (exit() is a predefined function 




A clever person solves a problem.
A wise person avoids it.
--Einstein

Currently Codeing: Free Lite-C
Re: Player Entity Assignments [Re: Trooper119] #77627
08/27/06 04:55
08/27/06 04:55
Joined: Sep 2002
Posts: 199
Chicago, Illinois
Thehawk Offline OP
Member
Thehawk  Offline OP
Member

Joined: Sep 2002
Posts: 199
Chicago, Illinois
I fixed it but I cant figure out what I did I'm not sure if the problem was worse on the solution!


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