Search found 10 matches
- 2010-08-19, 08:52
- Forum: Editing and Mapping with CaWE
- Topic: GUI reset to default by Game and CaWE
- Replies: 3
- Views: 4962
Re: GUI reset to default by Game and CaWE
I didnt edit the file by hand, so CaWe seems to have done that by itself. Strange. EDIT: I just submitted a ticket. Please tell me if i forgot anything ;) EDIT 2: I guess i know why this happened. I probably copy/pasted a window i created, but forgot to rename it before i closed CaWe. So the file co...
- 2010-08-18, 23:52
- Forum: Editing and Mapping with CaWE
- Topic: GUI reset to default by Game and CaWE
- Replies: 3
- Views: 4962
GUI reset to default by Game and CaWE
I was playing around with the GUI editor part of CaWE and started creating an alternative main menu layout. So i backed up the original one and started from scratch. When i then closed CaWE and wanted to load it again later, CaWe reset all values to default, except for the objects names (Origin, Dim...
- 2010-08-17, 15:28
- Forum: Coding and Scripting
- Topic: changing camera position
- Replies: 15
- Views: 12576
Re: changing camera position
the heading is not so important, the pitch is. i need players to be able to see if somebody is looking at the ceiling or at the floor. especially for cases in which they have lights or lasers or anything that changes with viewing direction it would look akward if the whatever-beam goes right up, whi...
- 2010-08-16, 14:38
- Forum: Coding and Scripting
- Topic: changing camera position
- Replies: 15
- Views: 12576
Re: changing camera position
I attached a zip with the files in their correct folders. They have a short description included as a comment, and 3 different views available by simple commenting/uncommenting (on player, over the head, over the shoulder). Please make a patch out of it since im short of time today and need to get s...
- 2010-08-14, 17:20
- Forum: Coding and Scripting
- Topic: changing camera position
- Replies: 15
- Views: 12576
Re: changing camera position
Thanks alot, works so far. I just needed to include ClipSys/TraceResult.hpp and MaterialSystem/Material.hpp and correct 2 or 3 small things. So, for everyone who also tried to implement a third person camera, here are the changes made so far: in /games/deathmatch/code/HumanPlayer.cpp EntHumanPlayerT...
- 2010-08-12, 14:09
- Forum: Coding and Scripting
- Topic: changing camera position
- Replies: 15
- Views: 12576
Re: changing camera position
Sometimes the answer is too obvious to be seen oO. Anyway, the third person cam works great so far: ThirdPersonOrigin.x -= sin(float(DrawState->Heading)*(M_PI /32768.0f)) * CameraDistance *cos(float(DrawState->Pitch )*(M_PI /32768.0f)); ThirdPersonOrigin.y -= cos(float(DrawState->Heading)*(M_PI /327...
- 2010-08-11, 17:20
- Forum: Coding and Scripting
- Topic: changing camera position
- Replies: 15
- Views: 12576
Re: changing camera position
Ok im stuck again and probably dont see something simple. I was trying to create that "camera sphere", beginning by moving it around the player in a circle on the x/y coordinates, ignoring z yet. ThirdPersonOrigin.y -= cos(float(DrawState->Heading)) * CameraDistance; ThirdPersonOrigin.x += sin(float...
- 2010-08-09, 12:55
- Forum: Coding and Scripting
- Topic: changing camera position
- Replies: 15
- Views: 12576
Re: changing camera position
Thanks alot, this is probably really gonna help me solving that problem
When i got it to work ill send you the results for sure.
When i got it to work ill send you the results for sure.
- 2010-08-07, 15:04
- Forum: Coding and Scripting
- Topic: changing camera position
- Replies: 15
- Views: 12576
Re: changing camera position
But isnt origin the center point of the entity? So that when i modify the origin, it wont change a thing for the view since everything else uses the origin too? Or am mixing things up now? Wouldnt that mean id have to seperate the cameras origin from the entity origin whereever its used in the code?...
- 2010-08-06, 19:48
- Forum: Coding and Scripting
- Topic: changing camera position
- Replies: 15
- Views: 12576
changing camera position
I started working with the engine a bit, and am now trying to change the player from first person to a third person camera. I actually archieved first success by using the code that was actually written for rendering the other players as a replacement for the code that renders the weapon for the own...