Search found 2037 matches

by Carsten
2020-05-29, 21:06
Forum: Cafu Engine Support and Discussion
Topic: Error when building most recent git build
Replies: 1
Views: 78

Re: Error when building most recent git build

Dear applsaucy, welcome to the Cafu forums! :welcome: Unfortunately, in the recent years I've had very little spare time for the further development and maintenance of Cafu, so I cannot fix this problem at it's root quickly. However, you may try removing the -Werror flags in the SConstruct file in t...
by Carsten
2020-05-16, 08:27
Forum: Cafu Engine Support and Discussion
Topic: Cafu for a beginner
Replies: 1
Views: 124

Re: Cafu for a beginner

Hello Crollan, welcome to the Cafu forums! :welcome: Is cafu something I should look into as a complete newbie? That is hard to tell. The best suggestion is that you start by looking into the Cafu source code and decide for yourself. Unfortunately, in the recent years I've had very little spare time...
by Carsten
2020-02-13, 12:40
Forum: Coding and Scripting
Topic: Click on Entity and do something
Replies: 3
Views: 1065

Re: Click on Entity and do something

I'm not sure I understand your question?
What suffix types should be changed?
The easiest way to click something is indeed a GUI (or simple to fire on it). How did you make the GUI in the screenshot?
by Carsten
2020-02-13, 12:34
Forum: Cafu Engine Support and Discussion
Topic: Bug Position value crash
Replies: 1
Views: 775

Re: Bug Position value crash

Thanks for the report!
I'm not sure though if I can fix it anytime soon. It's a long time since I last worked with this code. I'll try though.
by Carsten
2020-02-11, 09:50
Forum: Models, Materials, Textures, Sound, Music, ...
Topic: Can't pickup item
Replies: 4
Views: 1208

Re: Can't pickup item

You are right. I don't know why I haven't seen this sooner.
You can fix this by placing

Code: Select all

dofile("Games/DeathMatch/Scripts/Vector3.lua")
as the first line in Games/DeathMatch/Scripts/Rocket.lua.
I've also just pushed the fix to the repository.
Thanks for reporting this! :up:
by Carsten
2020-02-11, 09:15
Forum: Cafu Engine Support and Discussion
Topic: Windows 64bit build
Replies: 2
Views: 509

Re: Windows 64bit build

Thanks for providing a recent build of Cafu! :up:
This is very much appreciated, especially as I have currently only very little spare time to help. Thank you!
by Carsten
2020-02-07, 10:24
Forum: Models, Materials, Textures, Sound, Music, ...
Topic: Can't pickup item
Replies: 4
Views: 1208

Re: Can't pickup item

Well, grenades are used here because we don't have any better models, i.e. no model for the bazooka projectile. ;-)
by Carsten
2020-02-07, 10:22
Forum: Cafu Engine Support and Discussion
Topic: build error Raspbian Buster
Replies: 2
Views: 436

Re: build error Raspbian Buster

I cannot see this with g++ 7.4.0, so it's probably a new compiler feature in later versions that triggers this message. I can see though why this error is raised. Can you please change in the line above the reported error the number 200 into 300? That is:

Code: Select all

char LMNamePNG[300];
by Carsten
2020-02-03, 00:15
Forum: Cafu Engine Support and Discussion
Topic: repository broken?
Replies: 3
Views: 542

Re: repository broken?

Sorry for the trouble!
I renamed my account at GitHub (CarstenF is now carstenfuchs) and forgot to update the related submodule URL, which is now https://github.com/carstenfuchs/glfw.git
I've just pushed a commit that updates the GLFW submodule's URL. Can you please try if that works?
by Carsten
2019-08-13, 07:37
Forum: Coding and Scripting
Topic: Changing Player Size By Player Control
Replies: 3
Views: 1871

Re: Changing Player Size By Player Control

Hello, it's good to hear that you could already solve many of the problems yourself! :up: FrameTime is the time that it took to render the previous frame, e.g. 0.03 seconds. The code in ComponentPlayerPhysicsT::ApplyAcceleration() computes how much the player's speed must change over FrameTime , tha...
by Carsten
2019-08-08, 17:36
Forum: Coding and Scripting
Topic: Changing Player Size By Player Control
Replies: 3
Views: 1871

Re: Changing Player Size By Player Control

Hello,
please give me some time for answering this. I'm currently very busy and will only be able to look into it over the weekend.
I'm very sorry that I cannot reply sooner, but I'll do my best!
by Carsten
2019-08-01, 16:02
Forum: Editing and Mapping with CaWE
Topic: Accelerating The Map Compilation Process
Replies: 5
Views: 3264

Re: Accelerating The Map Compilation Process

Can you please send me the map files (cmap and cent) per email?
by Carsten
2019-07-31, 11:44
Forum: Editing and Mapping with CaWE
Topic: Accelerating The Map Compilation Process
Replies: 5
Views: 3264

Re: Accelerating The Map Compilation Process

I like the idea of separating areas with teleporters, this approach could turn out to be helpful in many regards. :up: Regarding PVS, note that the interior of buildings is usually not a problem: the algorithm can work efficiently with indoor areas such as those in the example maps. The most problem...
by Carsten
2019-07-31, 11:30
Forum: Cafu Engine Support and Discussion
Topic: How do doors and lifts work?
Replies: 7
Views: 3116

Re: How do doors and lifts work?

A problem with rotating objects is their interaction with other objects, such as players or physics objects: It is difficult to determine what should happen if a rotating door pushes another object or if the object rides on a rotating platform. It's a while since I was last deeply familiar with the ...
by Carsten
2019-07-28, 10:00
Forum: Cafu Engine Support and Discussion
Topic: How do doors and lifts work?
Replies: 7
Views: 3116

Re: How do doors and lifts work?

Is it possible to restrict movement to only 1 axis? Such as in the case of a door rotating on its hinges? I'm not sure what you mean with 1 axis? At this time, we can only linearly translate mover entities. Rotation, unfortunately, it not yet possible (this should be added to class ComponentMoverT ).