Author |
Message |
tcsoccerman Server Help Squatter
Age:32 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Sun Mar 25, 2007 7:43 pm Post subject: Ammo module |
 |
|
|
|
Would it be possible to make a module that makes variables for ammunition, each time a person shoots, it goes down. each ship would have different amounts. there would also be a way to buy ammo. If so, that's sweet. I can probably attempt pretty well at it, so i'll try. just seeing if maybe someone already made one or can make it in 1 minute lol.
Edit: What module includes the the "shoot" function, or the coding that recgonizes a player shooting a bullet. |
|
Back to top |
|
 |
Animate Dreams Gotta buy them all! (Consumer whore)

Age:37 Gender: Joined: May 01 2004 Posts: 821 Location: Middle Tennessee Offline
|
Posted: Sun Mar 25, 2007 7:58 pm Post subject: |
 |
|
|
|
Um, yeah, Bak made one for his PB zone. I don't know if he's willing to distribute it, though. I don't think it would be incredibly easy to do it, though(I mean, there's no CB_GUNFIRE, I'd be clueless on how to actually track that, maybe it involves packets?), but if you think you can do it, then you might want to try it. I suggest checking with Bak just in case he doesn't mind handing it out, though.  |
|
Back to top |
|
 |
Chambahs Power attack

Joined: Jun 19 2005 Posts: 820 Offline
|
Posted: Sun Mar 25, 2007 8:41 pm Post subject: |
 |
|
|
|
Bak is big on open source, i dont think he would mind giving you the module...or maybe when it comes to his zone hes anti-open source..dunno, give it a shot and ask em. |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:25 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Mon Mar 26, 2007 12:21 am Post subject: |
 |
|
|
|
here's all the (custom) modules for paintall: http://rshl.org/bak/Custom_Code.zip
don't bug me too much about how it works, it'll probably need to be modified for what you need. the PBInventory module does the part that you're thinking of, but it also does some other things. Basicly you can listen to position packets from players (which may contain weapons chunks), if they do subtract one from their ammo, deprize guns if they're out. PBItems lets people pick up ammo of the map and reprizes guns if necessary.
again, you'll probably need a coder to make sense of it all. _________________ SubSpace Discretion: A Third Generation SubSpace Client |
|
Back to top |
|
 |
tcsoccerman Server Help Squatter
Age:32 Gender: Joined: Jan 15 2007 Posts: 694 Location: Atlantis Offline
|
Posted: Mon Mar 26, 2007 8:01 pm Post subject: |
 |
|
|
|
I do code c, but i suck. it will make sense to me, but i won't be able to edit much of it. ty very much. you made my long and difficult day of running come to a soothing end :0 . lol ty again. |
|
Back to top |
|
 |
corvey Novice
Joined: Apr 02 2007 Posts: 40 Offline
|
Posted: Mon Apr 02, 2007 2:07 am Post subject: |
 |
|
|
|
I am very interested in this too, as it is one of the milestones I want to achieve. Bak, the link you gave is not working, do you have another link to download this from? |
|
Back to top |
|
 |
Chambahs Power attack

Joined: Jun 19 2005 Posts: 820 Offline
|
Posted: Mon Apr 02, 2007 11:40 am Post subject: |
 |
|
|
|
It works for me, i just checked. |
|
Back to top |
|
 |
corvey Novice
Joined: Apr 02 2007 Posts: 40 Offline
|
Posted: Mon Apr 02, 2007 12:36 pm Post subject: |
 |
|
|
|
Link says server not found for me, and if I just try to save the file in this thread, it's corrupt. |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:25 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Mon Apr 02, 2007 3:50 pm Post subject: |
 |
|
|
|
rshl.org renews it's web hosting on april 1st... so it's usually down for a day or two around now... try again it should work. |
|
Back to top |
|
 |
Legatus Guest
Offline
|
Posted: Fri Apr 10, 2009 2:01 pm Post subject: |
 |
|
|
|
I'd like to get this module but the link is probably too old. Is it still available? |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:25 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
|
Back to top |
|
 |
Legatus Guest
Offline
|
Posted: Fri Apr 10, 2009 2:46 pm Post subject: |
 |
|
|
|
Sorry, but that link doesn't work either. Should I check back at a different time and see if the server is online? |
|
Back to top |
|
 |
Bak ?ls -s 0 in

Age:25 Gender: Joined: Jun 11 2004 Posts: 1826 Location: USA Offline
|
Posted: Fri Apr 10, 2009 2:57 pm Post subject: |
 |
|
|
|
seems to work for me. try again |
|
Back to top |
|
 |
Legatus Guest
Offline
|
Posted: Fri Apr 10, 2009 3:50 pm Post subject: |
 |
|
|
|
The connection with the server gets reset for some reason. |
|
Back to top |
|
 |
Legatus Guest
Offline
|
Posted: Fri Apr 10, 2009 6:31 pm Post subject: |
 |
|
|
|
Got it finally, thx |
|
Back to top |
|
 |
|