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
2 registered members (OptimusPrime, AndrewAMD), 14,580 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
Learing preset key assignments #387922
11/25/11 15:25
11/25/11 15:25
Joined: Sep 2011
Posts: 6
B
brian37 Offline OP
Newbie
brian37  Offline OP
Newbie
B

Joined: Sep 2011
Posts: 6
I am writing a player controller action that uses multiple keys for movement. One of these sets is the standard W,A,S,D setup. The problem is that the default camera is set to move with W,A,S,D. even tho I set the camera position to a 3rd person layout when I adjust the tilt/.z position to allow looking down ont eh character the camera will move forward (into the ground) when I move the player forward with W.

It has been a long time since I coded in GameStudio (A5 to be exact) and thought it was a simple as on_w = null; but I get and error when I try this. ('null' undeclared indentifier)

Any suggestions to clear the default camera controls without changing the include files directly?

Re: Learing preset key assignments [Re: brian37] #387925
11/25/11 15:50
11/25/11 15:50
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)

1) Don't include default.c (that's only for testing anyway).
or
2) Copy default.c into your game folder and edit the def_move function.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Learing preset key assignments [Re: brian37] #387928
11/25/11 15:54
11/25/11 15:54
Joined: Sep 2011
Posts: 6
B
brian37 Offline OP
Newbie
brian37  Offline OP
Newbie
B

Joined: Sep 2011
Posts: 6
thanks

Re: Learing preset key assignments [Re: brian37] #387936
11/25/11 19:41
11/25/11 19:41
Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
Roel Offline
Senior Member
Roel  Offline
Senior Member

Joined: Jun 2006
Posts: 379
Flevoland, 5 meters under wate...
Also, null is now written in uppercase, it's NULL now


Check out the throwing game here: The throwing game

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