Search found 20 matches

by TheMatrix
2004-12-24, 18:46
Forum: Cafu Engine Support and Discussion
Topic: Merry christmas and a happy new year!
Replies: 13
Views: 11749

merry christmas
by TheMatrix
2004-12-16, 17:06
Forum: Cafu Engine Support and Discussion
Topic: Ca3DE Bones Structure
Replies: 35
Views: 27262

hmm stormtropper, what mod are you coding for

The weapons seems like bar, m1garand and m1carbine, so a WW2 Mod??

That would be very nice, because i also want to mod a ww2 mod :D
by TheMatrix
2004-11-07, 17:35
Forum: Editing and Mapping with CaWE
Topic: Hammer 4.0
Replies: 6
Views: 8169

Will there be a Terrain Editor in CaWE ??

Its very hard to make got Terrains now
by TheMatrix
2004-10-30, 10:41
Forum: Coding and Scripting
Topic: Problem with new Entitys in Maps
Replies: 7
Views: 8505

That a thing i want to code

With the current version, only the TeamSpawn with the lowest ID will be choosen, not a random.

Maybe you could scan all Entitys with GetAllEntitys(), write all TeamSpawns in an Array, and then chose own of them
by TheMatrix
2004-10-28, 22:06
Forum: Coding and Scripting
Topic: Problem with new Entitys in Maps
Replies: 7
Views: 8505

i found the problem i added if (TypeID==TYPEID_TEAMSPAWN_BLUE ) return new EntTeamSpawnT (TypeID, ID, MapFileID, Team_Blue, EF, VectorT()); if (TypeID==TYPEID_TEAMSPAWN_RED ) return new EntTeamSpawnT (TypeID, ID, MapFileID, Team_Red, EF, VectorT()); in CreateBaseEntityFromTypeID() and know it works
by TheMatrix
2004-10-28, 19:34
Forum: Coding and Scripting
Topic: Problem with new Entitys in Maps
Replies: 7
Views: 8505

Problem with new Entitys in Maps

I wrote a class EntTeamSpawnT which should be Spawns that are only can be used by the right team In Deatmatch.cpp CreateBaseEntityFromMapFile() i wrote if (strcmp(MapFileName, "TeamSpawn_Red" )==0) return new EntTeamSpawnT (TYPEID_TEAMSPAWN , ID, MapFileID, Team_Red, EF, Origin); if (strcmp(MapFileN...
by TheMatrix
2004-10-28, 16:15
Forum: Coding and Scripting
Topic: Sycronisation in EntHumanPlayer between Server an Client
Replies: 5
Views: 6757

I tested it again: Ca3D returns a error when you change EntityStateT

So is there a other way to set vars that are syncronized between Server an Client ??
by TheMatrix
2004-10-27, 22:29
Forum: Coding and Scripting
Topic: Sycronisation in EntHumanPlayer between Server an Client
Replies: 5
Views: 6757

The error was not because the changed EntityStateT. He still occur after i replaced my GameDll.hpp with the original GameDll.hpp. I had to delete all .obj and recompile the code to get Ca3D starting

I will try again with EntityStateT tomorrow, this was a little shock for me. :shock:
by TheMatrix
2004-10-27, 22:08
Forum: Coding and Scripting
Topic: Sycronisation in EntHumanPlayer between Server an Client
Replies: 5
Views: 6757

Hmm, i think it was because i wrote Injured between to other Var in EntityStateT and not as last Var, so there were some complications with the Constructor and Copy Constructor I put Injured as last Var in EntityStateT (after Events), but now, Ca3D returns a error. So, it isnt possible to change Ent...
by TheMatrix
2004-10-27, 21:57
Forum: Coding and Scripting
Topic: Sycronisation in EntHumanPlayer between Server an Client
Replies: 5
Views: 6757

Sycronisation in EntHumanPlayer between Server an Client

I want to code a feature that when you hit, you are injured, and you will lost live continuely. So i add a member variable to EntHumanPlayerT Injured, which is set to true in TakeDamage(), and if in PostDraw(), if true, should display the Text "Injured". But this doesnt work, "Injured" will never be...
by TheMatrix
2004-10-22, 11:21
Forum: Coding and Scripting
Topic: New Keys - Which Bits
Replies: 3
Views: 5390

Does nobody know ??
by TheMatrix
2004-10-20, 14:57
Forum: Coding and Scripting
Topic: Problem with new Functions of EntHumanPlayerT
Replies: 4
Views: 6198

So I write BaseEntityT* HitEntity = EngineFunctions->GetBaseEntityByID(EngineFunctions->Ca3DEWorldHandle, HitEntityID); ((EntCompanyBotT*)HitEntity)->TakeHeal(); Edit: I include "CompanyBot.hpp" and it works fine :) Edit: Hmm, with EntHumanPlayerT instead of EntCompanyBotT it works fine BaseEntityT*...
by TheMatrix
2004-10-20, 13:23
Forum: Coding and Scripting
Topic: Problem with new Functions of EntHumanPlayerT
Replies: 4
Views: 6198

Problem with new Functions of EntHumanPlayerT

I want to be able to heal a player, so i write a member Function of EntHumanPlayerT TakeHeal() that gives the Player +20 Health So in Think() I write a Code that starts a trace, get an EntityID if the crosshair is on a player i would heal. So now the problem With GetBaseEntityByID i get just a BaseE...
by TheMatrix
2004-10-20, 11:06
Forum: Coding and Scripting
Topic: New Keys - Which Bits
Replies: 3
Views: 5390

New Keys - Which Bits

I want to define more keys
I know there are defined in PlayerCommands.hpp, but which Keys are which Bits
Could anyone help me
by TheMatrix
2004-10-20, 09:52
Forum: Coding and Scripting
Topic: Key Inputs
Replies: 6
Views: 7796

I got it :D The code is called twice because it is called on Client and on Server Side So you have to add ThinkingOnServerSide as arguement in the if clauses and it works if ((Keys & PCK_Walk) && (Enable_Key_Walk) && (ThinkingOnServerSide)) { if (Class == Class_Medic) { Enable_Key_Walk = 0; EngineFu...