View Full Version: Another Chex City Topic

Chex Quest Fan Forums > Chex Quest Discussion > Another Chex City Topic


Title: Another Chex City Topic
Description: Don't spam this one up


Lucius Octavion - July 7, 2007 06:35 PM (GMT)
Alright guys. I did some work on chex city and I'll keep this updated.

I have fixed the table bug that xbolt was speaking of. It now looks correct in openGL and software mode.

I have changed a sprite for the red lights on the landing pad.

Manny Cav - July 7, 2007 06:39 PM (GMT)
Cool beans! When is a download going to be ready? I saw the short video, but it wasn't enough.... <_<

Lucius Octavion - July 7, 2007 07:29 PM (GMT)
I am going to finish at least the first level before a download, I don't like to make too many releases. Right now xbolt is helping me with direction and some issues.

These levels are going to have outdoor areas, city landscape, and lots of action. Basically I am trying to create the feeling of e2m4, only better.

GameMaster - July 8, 2007 01:11 AM (GMT)
That's really cool. I'm looking forward to it.

Lucius Octavion - July 8, 2007 05:50 PM (GMT)
I'm getting a lot done. I also think I am going to make this based off of TUCQ. I'm also trying to implement a tall sky, if it is possible.

UPDATE: I am in a funny mood right now and I made this really rad vending machine for the level. Check it out!

user posted image

Loremaster - July 9, 2007 05:21 AM (GMT)
QUOTE (Lucius Octavion @ Jul 8 2007, 10:50 AM)
I'm getting a lot done. I also think I am going to make this based off of TUCQ. I'm also trying to implement a tall sky, if it is possible.

UPDATE: I am in a funny mood right now and I made this really rad vending machine for the level. Check it out!

user posted image

That is awesome! It's details like that which will make the map have a unique flavour.

xbolt - July 9, 2007 05:48 AM (GMT)
QUOTE (Lucius Octavion @ Jul 8 2007, 10:50 AM)
I'm getting a lot done. I also think I am going to make this based off of TUCQ. I'm also trying to implement a tall sky, if it is possible.

UPDATE: I am in a funny mood right now and I made this really rad vending machine for the level. Check it out!

user posted image

I like! Very cool.

rrppo - July 9, 2007 08:20 AM (GMT)
QUOTE (Loremaster @ Jul 8 2007, 10:21 PM)
That is awesome! It's details like that which will make the map have a unique flavour.

Quoted because I d*mn well agree. Look at the movie posters in the cinema, or the No Milk Zone signs. Many a mod (Newbreed) has been ruined by sheer boredom.

Lucius Octavion - July 9, 2007 09:36 PM (GMT)
I'm thinking of actually making it usable. Like you push the button and you get health. The only problem is that I don't know how to make the supply limited. Xbolt, do you know how?

rrppo, I never knew there was a no milk zone sign.

xbolt - July 9, 2007 09:45 PM (GMT)
QUOTE (Lucius Octavion @ Jul 9 2007, 02:36 PM)
I'm thinking of actually making it usable. Like you push the button and you get health. The only problem is that I don't know how to make the supply limited. Xbolt, do you know how?

rrppo, I never knew there was a no milk zone sign.

I have an idea on how to do it, but it might take me a while. Keep checking back.


The no milk zone sign is in Chex Trek. (A very amusing detail, I must say. :lol: )

Lucius Octavion - July 9, 2007 09:57 PM (GMT)
Well, you can fragglescript to spawn items or just give the player health. But I don't know how to prevent them from keep doing it.

Manny Cav - July 9, 2007 10:03 PM (GMT)
If you can't find a way to make it where the machine stops giving the players health, you could just make a point where they can no longer revisit the area.

Lucius Octavion - July 9, 2007 10:05 PM (GMT)
That's actually not a bad idea. In fact for this particular one that would work, but I may put different machines in other areas, and doing it that way all the time isn't exactly genuine.

xbolt - July 9, 2007 10:17 PM (GMT)
So, do you want it to spawn items, or just give health?

EDIT: Well, I made a script that just gives the player health. Here you go, just make the machine have linedef type 276, and a tag of 1.

CODE
[scripts]

int vendhealth = 55; //How much health is in the machine
int vendget = 10; //How much it gives out at one time

script 1
{
   if(objhealth(trigger) < 100)
   {
       if(vendhealth >= vendget)
       {
           healobj(trigger, vendget);
           vendhealth = (vendhealth - vendget);
       }
       elseif(vendhealth <= vendget)
       {
           healobj(trigger, vendhealth);
           vendhealth = 0;
       }
       startscript(2);
   }
}

script 2 //Makes it so the player can't go over 100% health
{
   if(objhealth(trigger) > 100)
   {
       healobj(trigger);
   }
}

rushnerd - July 9, 2007 10:40 PM (GMT)
user posted image

Lucius Octavion - July 9, 2007 10:52 PM (GMT)
Dude, don't do that. Don't get me angry at you. Nice picture though.


Xbolt, that is one nice script you have made. Serious, that is real nice. I am using right now.

I just have some questions.

Is there a way if the machine still has health in it, to play a sound of a vending machine, wait a second and then give the player health? And if it doesn't still have health in it, to play a different sound?

Also, is it possible to make another vending machine in another area with this script or will I have to make a new script with the same functionality. Would I have to rename those global parameters?

Replica - July 10, 2007 01:44 AM (GMT)
QUOTE (Lucius Octavion @ Jul 8 2007, 01:50 PM)
I'm getting a lot done. I also think I am going to make this based off of TUCQ. I'm also trying to implement a tall sky, if it is possible.

UPDATE: I am in a funny mood right now and I made this really rad vending machine for the level. Check it out!

user posted image

aswome! :mellow: Cool! your doing a great job! keep it up!

rushnerd - July 10, 2007 02:55 AM (GMT)
Okay. Someone please explain this Chex/Doom .Wad modding to me (if that what this is) I feel out of the loop and im sure I could do something really really good.

Also, don't refer me to a link, I hate that.

user posted image
Don't worry, im pretty sure all head-moderators hate me.

Lucius Octavion - July 10, 2007 03:05 PM (GMT)
Start a new topic please.

Oh, xbolt, I've got another problem. Maybe you can help me.

http://forums.newdoom.com/showthread.php?g...newpost&t=33845

xbolt - July 10, 2007 10:16 PM (GMT)
QUOTE (Lucius Octavion @ Jul 9 2007, 03:52 PM)
Is there a way if the machine still has health in it, to play a sound of a vending machine, wait a second and then give the player health? And if it doesn't still have health in it, to play a different sound?

Probably, but I think we might run into problems if the player presses it in rapid succession. I'll need to find a way around that...

QUOTE
Also, is it possible to make another vending machine in another area with this script or will I have to make a new script with the same functionality. Would I have to rename those global parameters?

No, you would need to make another script, and change the existing variables to vendhealth1 and vendget1, and make the second set of variables vendhealth2 and vendget2, etc.

QUOTE
Oh, xbolt, I've got another problem. Maybe you can help me.

No obvious solution immediately comes to mind, other than what Danimetal suggested about cutting the sound into pieces. But then you have to deal with a lot of files in the wad...


EDIT: Here is the modified vending machine script:
CODE
[scripts]

int vendhealth = 55; //How much health is in the machine
int vendget = 10; //How much it gives out at one time
int vendrunning = 0; //Foe checking whether or not the machine is already running

script 1
{
   if(objhealth(trigger) < 100 && vendrunning == 0)
   {
       vendrunning = 1;
       if(vendhealth == 0)
       {
           startsound(trigger, "OUT"); //Sound of when it's out of health
           wait(151); //Set this to the length of this sound
       }
       elseif(vendhealth <= vendget && vendhealth > 0)
       {
           startsound(trigger, "VEND"); //Sound of the vending machine running
           wait(145); //Set this to the length of this sound
           healobj(trigger, vendhealth);
           vendhealth = 0;
       }
       elseif(vendhealth >= vendget)
       {
           startsound(trigger, "VEND"); //Sound of the vending machine running
           wait(145); //Set this to the length of this sound
           healobj(trigger, vendget);
           vendhealth = (vendhealth - vendget);
       }
       startscript(2);
       vendrunning = 0;
   }
}

script 2 //Makes it so the player can't go over 100% health
{
   if(objhealth(trigger) > 100)
   {
       healobj(trigger);
   }
}

Lucius Octavion - July 11, 2007 12:44 AM (GMT)
Gosh, you are a big help to me in scripting, xbolt. Thank you.

I have now also added a sector sound that adds a motor hum to the machine.

I will try and use your script now.

That is one nice script, man. I'm not that good with the variables and all those ifs and elseifs.


Also guys, I have made a nice 16x128 texture that can now be used when making stairs with gradient ceilings and floors using the ORGWALL texture on the sides, with no unpegging or offsetting. I also made the IFOC logo on the ORWALL1 texture They both look pretty nice, here's a shot:

user posted image

You can see in the previous vending machine shot, that the texture to the sides of the stairs look misaligned and crappy. Now it looks like in this picture.

Replica - July 11, 2007 06:20 PM (GMT)
:o I really do like what your doing! it looks aswome! It makes CQ3 look bad! though it maybe. :unsure: any way its aswome! grewat work. you should put securety camras on the ceiling. and then have a room with a bunch of computers on it. i was thinking of doing that for CQ3, but it would just fit :) nice job and keep it up!

xbolt - July 11, 2007 08:53 PM (GMT)
No problem. Always happy to help. ^_^

The new textures look very nice indeed.

GameMaster - July 11, 2007 10:44 PM (GMT)
will this run on doom legacy or gzdoom?

Lucius Octavion - July 11, 2007 11:28 PM (GMT)
This is made to run on Legacy, GameMaster.

Thank you, Replica.

Right now I am using xbolt's modified script and I am using vending machine sounds ripped from Half Life 2.

Lucius Octavion - July 13, 2007 11:40 PM (GMT)
Before I leave to go on vacation I'll post some few screenshots to show you guys how the map has progressed in the past week. Still not an awful lot but I got a lot done, and there's a lot of cool new things added. I'd put more shots but there's just not that much content to show right now. So far I haven't even started the city part. Just a little more and I will be creating a big city.

This is just a little slide show with just a few shots:

http://img244.imageshack.us/slideshow/play...43693983lv.smil


Replica - July 14, 2007 12:33 AM (GMT)
so when are you going to finsh it?

Lucius Octavion - July 14, 2007 01:38 AM (GMT)
I don't know. Only time will tell. I wish I could get it done this summer but I don't know if I can do it in time.

Master of Nachos - July 14, 2007 07:35 PM (GMT)
QUOTE (Lucius Octavion @ Jul 7 2007, 02:29 PM)
I am going to finish at least the first level before a download, I don't like to make too many releases. Right now xbolt is helping me with direction and some issues.

These levels are going to have outdoor areas, city landscape, and lots of action. Basically I am trying to create the feeling of e2m4, only better.

Wait, I thought Chex City was only one level? Or are you just re arranging things?

GameMaster - July 15, 2007 04:17 AM (GMT)
dont worry LO, take your time, a good mod needs time.
Just look at Boingo. He's been taking his sweet time for over a few years now. TUCQ must be one great mod. :lol:

Lucius Octavion - July 29, 2007 04:43 PM (GMT)
It would be cool if it was one level. If I have to I will make it a few levels because it might cause frame rate drops.

Replica - August 9, 2007 07:21 PM (GMT)
it would be cool if in one of the city buildings, you could hav a securety room with the secrety camras on computers. if you understand.

Lucius Octavion - August 10, 2007 04:32 AM (GMT)
Ah yes, that would be cool, wouldn't it? I know how to work the cameras, but is there a way to make it look as though you are looking through a camera?

Replica - August 10, 2007 05:23 PM (GMT)
maybe theirs a script.... to make you see threw a certain sector. or you could just make a animated texture that a flemoid walks threw.




Hosted for free by InvisionFree