![]() |
|
|
Mapping Mapping sizes Limits Entities Bugs & Work-a-rounds Notes Scripting reference Mapping - Tutorials Brushwork from blueprint Tools Brush generator Vehicle generator MD3 Tag The Dummy Modding Project: Bug Fix Project: Crockett Other stuff Forum Server Info Colors Voice Chats Scripts Links |
Project: Bug FixThe objectiveThe goal of this project is to provide modders in the ET community with a SDK code base that contains fixes for various bugs which are present in the stock etmain game (version 2.60).26th september 2006: Sadly bugfix 088 had a bug :-( There were 3 lines that should have been deleted for the fix to work correctly. Show index Previous bug: Compact scoreboard - Normal background is used when names are compact Next bug: Negative XP doesn't show up on the playerstat dropdown Bugfix 036 - Mine flags blocking other mines from being spottedProblem:Mine flags could be blocking other mines from being spotted.Solution:Change the content type of the mine flags, to a type that doesn't block the trace. CONTENT_TRANSLUCENT seems to do the job.Notes:The bug is still present in version 2.60I reduced the indentation to make the code fit on the page. 2.56 & 2.60 Code
g_teammapdata.c @ 1019 (2.56) @ 1029 (2.60)
// for marker
// CHRUKER: b036 - Landmine flags shouldn't block our view
ent->client->landmineSpotted->s.frame = rand() % 20;
ent->client->landmineSpotted->r.contents = CONTENTS_TRANSLUCENT;
trap_LinkEntity( ent->client->landmineSpotted );
g_teammapdata.c @ 1062 (2.56) @ 1073 (2.60)
// for marker
// CHRUKER: b036 - Landmine flags shouldn't block our view
ent->client->landmineSpotted->s.frame = rand() % 20;
ent->client->landmineSpotted->r.contents = CONTENTS_TRANSLUCENT;
trap_LinkEntity( ent->client->landmineSpotted );
Show index Previous bug: Compact scoreboard - Normal background is used when names are compact Next bug: Negative XP doesn't show up on the playerstat dropdown Color codingSample = New codeSample = Changed code (the new version is what is displayed) Sample = Deleted code |
| ©2013 Chruker | |