Game Development Community

Select GUI player

by CIMO · in Technical Issues · 12/18/2005 (6:50 am) · 6 replies

Hi for all. =)
I test this resource but without succeed.....
This is resouce: perso.wanadoo.fr/hysteria/docs/guiCtrls.htm
I have a 1.3 and try whit this: tork.beffy.de/_tutorials/Coding-Scripting/preview_gui/preview_gui.html
But is very difficult.......
Help me please .... =)

#1
12/18/2005 (8:26 am)
Off Topic: Isn't all source related resources suppost to be on GG?

Cimo, i'm pretty sure this is an old old tutorial, i get this from
Quote:

Important : This source code will only work with V12 SDK


V12, was like when GarageGames first started! But, i'm not sure, as your not telling us why it wount work>
#3
12/19/2005 (12:08 pm)
Hi...I test this resource but i have a problem =(
In console of loadMainManu have:
Could not locate texture: starter.fps/client/ui/previousModel_n
Could not locate texture: starter.fps/client/ui/previousModel_h
Could not locate texture: starter.fps/client/ui/previousModel_d
Could not locate texture: starter.fps/client/ui/previousModel_i
Could not locate texture: starter.fps/client/ui/nextModel_n
Could not locate texture: starter.fps/client/ui/nextModel_h
Could not locate texture: starter.fps/client/ui/nextModel_d
Could not locate texture: starter.fps/client/ui/nextModel_i
Model Name Set --->
Error: Unable to load: starter.fps/data/shapes/player/.dts
Error: Could not find object player

Error: Could not find object player

In game.cs have:
starter.fps/server/scripts/game.cs (320) Unable to find object: attempting to call function 'setTransform'
starter.fps/server/scripts/game.cs (321) Unable to find object: attempting to call function 'setShapeName'
starter.fps/server/scripts/game.cs (324) Unable to find object: attempting to call function 'setInventory'
starter.fps/server/scripts/game.cs (325) Unable to find object: attempting to call function 'setInventory'
starter.fps/server/scripts/game.cs (326) Unable to find object: attempting to call function 'setMountImage'
starter.fps/server/scripts/game.cs (329) Unable to find object: attempting to call function 'setEyeTransform'

And game not start =(

1) - I have a base folder "starter.fps" and rename this script at "fps" in "starter.fps"
2) - Help me Pleaseeeeeeeeeeeeeeeeee =(
#4
12/22/2005 (2:58 am)
It's looking for the previous and next buttons in the menu those are the _h, _d, etc files make some buttons to rollover. You need to set up the path to the player. [bold]Error: Unable to load: starter.fps/data/shapes/player/.dts[/bold] should be starter.fps/data/shapes/player/player.dts
#5
12/22/2005 (4:43 am)
OK but this problem is persist

In game.cs have:
starter.fps/server/scripts/game.cs (320) Unable to find object: attempting to call function 'setTransform'
starter.fps/server/scripts/game.cs (321) Unable to find object: attempting to call function 'setShapeName'
starter.fps/server/scripts/game.cs (324) Unable to find object: attempting to call function 'setInventory'
starter.fps/server/scripts/game.cs (325) Unable to find object: attempting to call function 'setInventory'
starter.fps/server/scripts/game.cs (326) Unable to find object: attempting to call function 'setMountImage'
starter.fps/server/scripts/game.cs (329) Unable to find object: attempting to call function 'setEyeTransform'
#6
12/27/2005 (8:12 am)
That means that no player datablock has been selected. Either you don't have a Player Select GUI set up (I don't think you do) and/or you don't have a preference variable (which would be automatically created if you had the GUI) that names a model, like:
$pref::Player::Armor = "blue";