Various troubles. Any kind of help will be good.
Posted: Wed Apr 10, 2013 10:04 pm
Ok, as far you know from...one year i think... my goal is to merge all the best mods of q3a. Freezetag, CPMA, osp etc...
I'm not a good debugger or programmer so i still got a lot of problems.
I will try to use only this topic in order to not fullfill the forum with my questions.
So let's begin:
1. I'm trying to add "on hud" the current time, everything looks so simple also because inside the game there's time.h ... but for some strange reason it doesn't work. One thing i hate on all quake (this is a feature i want for my own) is that i can't see realtime on my hud, so still playing, the current time. When i was young isn't a problem but right about now know if there are the 01.00am or 04.00am when i need to wake up at 05.00am in order to work can be very good.
2.There's a debug or log command or cvar in order to record anything on my game? I create a lot of new gametypes but with one (a CTF based one) my game crashes at random (so probably i made a mess with the code). Any clue in order to get detailed info about what's happend?
3.I'm trying to add a gameplay similar to Clan Arena or Rocket Arena;
A. i need to create the READY command before the warmup...can i use the one from intermission or it's better if i create a new player state?
for now that's all...i'm trying to make little steps...for now the most annoying trouble i get is the CTD i got with the CTF gameplay. It's like an Instagib CTF so probably the mess is about something i commited out (like powerup spawn etc...)
Thanks again. Any direction will be good for any kind of these troubles.
If you need more detailed code or stuff just write here. I will be glad to share it. For what i do, the only uncleary code on Instagib CTF is about the spawn and respawn. I repeat all the gameplay looks and works good, but i got random crashes on desktop. So, for sure, it's something i coded wrong somewhere.
I'm not a good debugger or programmer so i still got a lot of problems.
I will try to use only this topic in order to not fullfill the forum with my questions.
So let's begin:
1. I'm trying to add "on hud" the current time, everything looks so simple also because inside the game there's time.h ... but for some strange reason it doesn't work. One thing i hate on all quake (this is a feature i want for my own) is that i can't see realtime on my hud, so still playing, the current time. When i was young isn't a problem but right about now know if there are the 01.00am or 04.00am when i need to wake up at 05.00am in order to work can be very good.
2.There's a debug or log command or cvar in order to record anything on my game? I create a lot of new gametypes but with one (a CTF based one) my game crashes at random (so probably i made a mess with the code). Any clue in order to get detailed info about what's happend?
3.I'm trying to add a gameplay similar to Clan Arena or Rocket Arena;
A. i need to create the READY command before the warmup...can i use the one from intermission or it's better if i create a new player state?
for now that's all...i'm trying to make little steps...for now the most annoying trouble i get is the CTD i got with the CTF gameplay. It's like an Instagib CTF so probably the mess is about something i commited out (like powerup spawn etc...)
Thanks again. Any direction will be good for any kind of these troubles.
If you need more detailed code or stuff just write here. I will be glad to share it. For what i do, the only uncleary code on Instagib CTF is about the spawn and respawn. I repeat all the gameplay looks and works good, but i got random crashes on desktop. So, for sure, it's something i coded wrong somewhere.