Hello,
it seems that I've found some bug in sdk in code of worldspawn
entity. You see, I've noticed that in my mod (based on sdk 2.3
source) chapter title message are not displayed at map start. I
thought it is problem of titles.txt, but guessed it's not because
same message title I used in wroldspawn worked perfectly in
env_message entity. Anyway, problem was near line 646 of World.cpp -
if ( pEntity )
{
pEntity->SetThink( SUB_CallUseToggle );
pEntity->pev->message = pev->netname;
pev->netname = 0;
pEntity->pev->nextthink = gpGlobals->time + 0.3; //!!!!
pEntity->pev->spawnflags = SF_MESSAGE_ONCE;
}
and message was displayed before level was loaded. I've fixed that
changing 0.3 to 1.3... I guess it is nothing to do with world.cpp
because gpGlobals->time + 0.3; was in previous sdk and everything
worked 'ok'. So why this happens?
Best regards,
Slava
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders