View Full Version : Ending a level by a sector, not button
ivory tower
03-23-2003, 10:31 AM
i am having trouble getting through all 11 of my levels when i use a sector to end the level rather than the nuke button. it only lets me get through 5 or 6 levels and then starts over again at level 1. help!
Roger
03-23-2003, 10:36 AM
Make an invisible sprite that ends the game when the player comes near it.
</font><blockquote><font size="1" face="Verdana, Arial">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">useractor notenemy ENDGAME
cstat 32767
ifpdistl 128
{
endofgame 1
}
enda[/code]</blockquote><font size="2" face="Verdana, Arial">This is about the size of a 32*32 floor texture in terms of player distance radius, I think.
[ 03-23-2003, 10:41 AM: Message edited by: Roger ]
ivory tower
03-23-2003, 11:01 AM
whoa....i have never done any coding. how do i do that in duke3d?
jimbob
03-23-2003, 11:35 AM
or give the sector a lo ( or hi, im not sure )
tag of 32768 or something close. it should be in the build tutorial images/icons/smile.gif
Roger
03-23-2003, 03:06 PM
Jimbob, a lotag of 32767 is a secret sector.
Originally posted by ivory tower:
whoa....i have never done any coding. how do i do that in duke3d? <font size="2" face="Verdana, Arial">Do you have the art files extracted from the group file?
Shadow Ripper
03-26-2003, 06:03 PM
There's an easy way. You guys don't need to do all that stuff. If you look in BUILDHLP, sector lotag 65535 is the End of Level Lotag. I believe it's the one where you hear the alien guy say "Gotcha now you b@$t@rd, and we're gonna fry your @$$!".
Roger
03-27-2003, 05:56 PM
I just looked at the question again... do you have them all set correctly in user.con? Are the levels fully functional?
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.