Page 1 of 1

dead message

Posted: March 27th, 2011, 12:26 am
by esequiel14
when the player dies, falls off the map, or falls in lava a message always appears "you did something very dangerous!" where can i find this message code so i can change it? I already look for it everywhere but i didnt find it does anybody knows its location :?:

Re: dead message

Posted: March 27th, 2011, 7:43 am
by PizzaLover101
I believe if you put a mapmodel (model # -1 [invisible]) then set it to lvl trigger 5 maybe? (haven't done level triggers in forever)

then

Code: Select all

level_trigger_1 = [echo "You did something dangerous!"]
IDK about the lvl trigger but that should work

Re: dead message

Posted: March 27th, 2011, 2:02 pm
by arcones
@Pizza: what will end up happening is two messages will appear instead of one. It'd be much more fruitful to try and find the actual code (I may have found it once, but I can't remember).

Re: dead message

Posted: March 27th, 2011, 4:09 pm
by chocolatepie33
I did a windows search, it's in src->fpsgame->fps.cpp. It's a lot of confusing code, though...

Re: dead message

Posted: March 27th, 2011, 5:02 pm
by arcones
That's because it's C++ :P

Yeah, I'd ask Hirato about how to change that ;)