Inside3D!
     

Reload working.... kinda
Goto page Previous  1, 2, 3, 4  Next
 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
Ghost_Fang



Joined: 12 Nov 2009
Posts: 162

PostPosted: Sat Jan 09, 2010 4:44 am    Post subject: Reply with quote

i got it guys!
allllll by myself!

it was self.currentammo = ammo_pistol = 8;
and it had to go UNDER W_setcurrentammo ();
Back to top
View user's profile Send private message
r00k



Joined: 13 Nov 2004
Posts: 483

PostPosted: Sat Jan 09, 2010 6:50 pm    Post subject: Reply with quote

:facepalm

W_setcurrentammo, sets the model of the weapon, the frame for animation and the ammo amount. You are just overriding that by merely changing the value to 8.


Last edited by r00k on Tue Jan 12, 2010 12:22 am; edited 2 times in total
Back to top
View user's profile Send private message
Ghost_Fang



Joined: 12 Nov 2009
Posts: 162

PostPosted: Sat Jan 09, 2010 9:25 pm    Post subject: Reply with quote

is that facepalm for me?
Back to top
View user's profile Send private message
r00k



Joined: 13 Nov 2004
Posts: 483

PostPosted: Sun Jan 10, 2010 5:42 am    Post subject: Reply with quote

you've circumvented your logic to ditch my efforts only make yours less trivial. Neutral
Back to top
View user's profile Send private message
Ghost_Fang



Joined: 12 Nov 2009
Posts: 162

PostPosted: Sun Jan 10, 2010 7:25 am    Post subject: Reply with quote

umm... im gona assume that means i didnt do it your way even with all your effort you gave me.
And i do appreciate it, i really do.
But i didnt get it to work, and i thought i would just look more like a retard if i just keep asking for people to give me code.
Back to top
View user's profile Send private message
r00k



Joined: 13 Nov 2004
Posts: 483

PostPosted: Sun Jan 10, 2010 7:44 am    Post subject: Reply with quote

It seems you fixed your 1st post's mistake without learning anything i posted thereafter, so ya facepalm meant all that i did went over your head.

Left4Quake is a dead project if you dont learn quakeC.


Last edited by r00k on Tue Jan 12, 2010 12:24 am; edited 1 time in total
Back to top
View user's profile Send private message
Ghost_Fang



Joined: 12 Nov 2009
Posts: 162

PostPosted: Sun Jan 10, 2010 8:40 am    Post subject: Reply with quote

I know it is, we looked and looked for coders, but no one either replies, or is "too busy" to help us.
Knowing that, i took it upon myself to learn just enough qc to give us what we need, but it seemed a little out of reach for me, at least what i was aiming for, a few days of tutorials and i'd be done, but that wasnt so.
You don't suppose you can contribute some of your time and skill for us?
Or at least get us into contact with someone who will?
Back to top
View user's profile Send private message
ceriux



Joined: 06 Sep 2008
Posts: 969
Location: Florida, USA

PostPosted: Sun Jan 10, 2010 9:09 am    Post subject: Reply with quote

Most basic coding in qc is real easy from what iv learned its a bunch of if this is this then do that. and you get to make up the names lol... the little more advanced stuff you just gotta research up a bit and attempt the shit out of it for like a day or so and if you dont get it jump on irc lol.
_________________
QuakeDB - Quake ModDB Group
Back to top
View user's profile Send private message Yahoo Messenger
Ghost_Fang



Joined: 12 Nov 2009
Posts: 162

PostPosted: Sun Jan 10, 2010 6:07 pm    Post subject: Reply with quote

Which i did, i asked for a basic reload code, (and let me tell ya, i feel like a retard for asking for that, its actually really simple) saw how it worked, play with it for hours, didnt get anywhere so then i asked.
i know how to make up basic if statements but putting them where i need is wat gets me.
Back to top
View user's profile Send private message
r00k



Joined: 13 Nov 2004
Posts: 483

PostPosted: Mon Jan 11, 2010 12:04 am    Post subject: Reply with quote

It's easier to want than to have.

If your team can nail down some wants, i can help. I've seen your mod's progress and think there should be something as the modelers show talent. I've never played L4D so all i can draw from is my own imagination.

what is the goal of the mod? Can you maybe summarize the game idea?
Back to top
View user's profile Send private message
c0burn



Joined: 05 Nov 2004
Posts: 158
Location: Liverpool, England

PostPosted: Mon Jan 11, 2010 12:35 am    Post subject: Reply with quote

Show me your models and i'll think about coding for you.
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
LonePossum.



Joined: 02 Nov 2009
Posts: 38

PostPosted: Mon Jan 11, 2010 12:55 am    Post subject: Reply with quote

As for the goal of the L4D Series (And what L4Q is trying to do) Is a zombies shooter/surviaval where you have to run through a map to a safe house while staying alive a well. You do this 4 times in a "Chapter" and then once you finish getting to the 4th Safe house the next ending part of the chapter you have to escape by a boat or plane which you contact. The maps are very good usually and easy to explore.

You should be able to see some of it here.
http://www.moddb.com/games/tsluecke
This is missing a lot of the content as they had a bit of in team difficulties (Long Story) (You can probably read on it on the page)

As for what needs doing or what Ghost is trying to do.
Is basic reload code.
Different clips etc for guns, different firerates and damage (To defines to different guns)
Bash (Also known as melee using your weapons, but with a modification to knockback the zombies so you can run or reload gun to shoot.
And Zombie coded (Runs fast when sees you, and then tries to attack you with a melee (It does not shoot).

More stuff which can be done without but should be included.
Having AI Team mates helping you with these chapters.
Or even better being able to join in a lan or online game and help your friends do these chapters.
Another would be a health kit that you carry and can only carry one of to heal you.
One bomb. Pipe Bomb etc.
One Main Guns (Sniper, Assualt Rifle, Shotgun etc)
One Seccondary Weapon (Frying Pan, Guitar, Pistol or Duel Pistols.

That is about it I think. But different types of zombies will need to be coded in the above one is just the basic type. They do have some things done from tutorials but a lot of this depends on a coder.

Correct me if I am wrong Ghost but I am pretty sure im correct Wink
Back to top
View user's profile Send private message
Ghost_Fang



Joined: 12 Nov 2009
Posts: 162

PostPosted: Mon Jan 11, 2010 7:21 am    Post subject: Reply with quote

yea he pretty much nailed it lol. L4D is a completely team based co-op game. Team work is the only way you win. There are several special infected that incapacitate the victim until a teammate helps. Take for example the hunter, it is human (was) and it lunges great distances to tackle you. When it succeeds the player is unable to move while he gets ripped to shreds until a teammate can either shoot and kill the hunter or melee him off, the hunter will then stumble off the player, recuperate and begin trying to lunge someone. Another team based quality is when your life reaches 0 its not game over, you become incapacitated and must be helped up by a teammate, but you only come back with 30 health, you will eventually bleed out, as your health drops 1 every few seconds. But you can only be incapacitated twice, the third time you go down your dead.

Special Infected include:
Hunter - explained above

Smoker - somewhat hides, then shoots his long tongue from a distance at a player and drags the player (pretty much like a frog) to him and away from his teammates so he can wail on him. (player becomes helpless until teammates assist)

Boomer - A big chubby zombie that tried to get close just to puke on the player, his bile attracts a horde of zombies that for a short period of time will ignore all player but you and attack you. Don't kill him when your too close either he explodes when he died, also getting bile on you.

Tank - A huge, muscular zombie that chases after the closest player and when landing a successful hit, sends the player flying and takes significant damage, the tank can also take a chuck out of the floor and chuck it at a player.

Witch - a little girl zombie who sits down and cries and cries, but if you get too close to her or shoot her, she will stand up and go on a rampage toward the person who startled her, instantly incapacitating the player, then running away when the player is downed.

Introduced in Left 4 Dead 2:
(L4D2 includes all L4D1's special infected)

Charger - this zombie has one little limp arm and one huge arm, it charges at the players with its large arm out, and if he catches a player on his way he will keep running until they slam into a wall he will then proceed to slam the player into the ground repeatedly.

Spitter - this zombies is like the boomer, it will spit at you, but at your feet, making a pool a acid that will burn you til you step off or the pool disappears, killing her will result in a pool of acid were she dies.

Jockey - in my opinion the most annoying special infected in the game. this is just a little guy that jumps on you just like that hunter but on your head/shoulders and grabs and pulls your head in the direction he wants to go, usually toward danger, such as a horde of zombies or just farther away from your teammates.

As you can see this game is a blast to play, but very difficult seeing as there are tons of zombies, and several special infected at time sometimes, it gets pretty intense sometimes because you'll be hoping that the last man standing can hurry up and help you up before that hunter you hear in the distance gets to him. Lol.

There are 5 chapters, each with a theme
such as mall, or swamplands
each chapter has either 4 or 5 levels in them.
In each level your sole purpose is to get to the next safe area.
At the last level in each chapter is the finale. You sometimes gotta use a radio to call in a evac chopper, or vehicle, it varies depending on the chapter and its theme. But until the vehicle comes you must make your finale stand and hold out from tons and tons of zombies and special infected until the help arrives.

I hope that helps you understand what L4D is all about lol.

Left 4 Quake's goal is to take that game, and make it bite sized for quake for the PSP. We already have several maps made, i think all the models made, and some of the models textured. The only progress that hasnt made it very far is coding, when the team wasnt working we were searching for a coder, when we didnt find any, i took it into my own hands. But the extensive amount of coding needed to get this game done is at the moment, out of my league. You can see all our progress here:
http://www.moddb.com/games/tsluecke
and our actual site is here:
http://left4quake.com/forum/index.php

Your help would be GREATLY appreciated.

To stay on topic:
I have learned even more since my last post, instead of trying to bind the entire code to an impulse command, i learned how to make a whole new void() blah function and use it that way. Which means i started from scratch. And got it how i wanted it, using r00k's cache idea (not code). So now it works how i want it except i get an unknown frame macro : $reload when i want it to call upon those frames. where do i tell it what $reload is?
Back to top
View user's profile Send private message
c0burn



Joined: 05 Nov 2004
Posts: 158
Location: Liverpool, England

PostPosted: Mon Jan 11, 2010 12:57 pm    Post subject: Reply with quote

Do you have a player model yet?

Is this mod only for the PSP? I don't have a PSP (and I don't want one) but I would happily code a PC/Darkplaces version with a compile option for a PSP version.

Are the models all working fine in .mdl format? Can you export to .md3 for a higher resolution darkplaces version?
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
Mobster103



Joined: 08 Jan 2010
Posts: 3

PostPosted: Mon Jan 11, 2010 10:12 pm    Post subject: reply Reply with quote

Hey I am the animator for Left4Quake and also one of the leaders. There will be a pc version to go along with the psp one, but it will feature the same content on both. We have a couple different player models for the zombies and characters too.

Anyways anyone that is interested in helping this game succeed please visit www.left4quake.com
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 2 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group