[SOURCE] FLBasketball

This forum is related to alpha maps and mods only.

Moderator: Forum Guards

[SOURCE] FLBasketball

Postby Dae » Mon May 11, 09 3:38 pm

As I promised in my journal, I will release some source codes of mine.

FunLine Basketball is a relatively simple modification with a relatively simple code, but I'm still proud of it.

Image Image

In case you don't remember, features of FLBasketball:
  • The ball features smooth movement, improved physics, better sound & design.
  • The auxiliary classes allow a modder to build a complete online basketball gametype, with sharpened, practice-proven cheating and spoiling protections, scoring system based on distance of throw and much more.
  • Classes work without a separate game type or player classes. You may even extract FLBasketball.uc and FLBasketball4Player.uc with minimal changes to use alone without auxiliary classes on your maps.
  • The ball is picked up automatically when the player touches it (no need to press right mouse button -- helpful for high-pingers; although this feature may be turned off).
  • Muscle aug enhances force of throw, so does movement (impulse).
  • Players may force other players to throw the balls by making damage (jumping on each other, for example).
  • Players can manually control the amount of balls in the game, while admins can be sure that the map won't be cloggered with thousands of balls lying everywhere.

The archive includes only the source codes of the aforementioned mod (+ the Readme.txt). After making some changes they can be used by Unreal script programmers to compile a working package, suitable for hosting and playing.

Please don't hesitate to ask questions, because it's been a long time since we made this and I could forget to mention something in the readme.

Authors:
Eugene 'Dae' Zuyev
Derek 'Cataclyzm' Kirby
Attachments
FLBasketball (source).zip
Licensed under Creative Commons "attribution non-commercial share-alike" license. Please read the full version of the license:
http://creativecommons.org/licenses/by-nc-sa/3.0/legalcode
(101.02 KiB) Downloaded 1019 times
Last edited by Dae on Tue May 12, 09 11:06 am, edited 10 times in total.
User avatar
Dae
Alpha
 
Posts: 12086
Joined: Sat Sep 06, 03 4:40 pm

Postby ~[ß]Lost~ » Tue May 12, 09 10:33 am

That ball doesn't look like a sphere 8)
Sike
clanb.deus-ex.net

Legion wrote:By default, I'm bi. However I've spent a great deal of time "burying" that aspect of me...
~[ß]Lost~
Poster
 
Posts: 240
Joined: Sat Dec 27, 08 1:06 am
Location: Finland

Postby James » Tue May 12, 09 11:06 am

SORRY FOR BEING A WHITE KNIGHT BUT

nofuckingclue wrote:That ball doesn't look like a sphere 8)


Criticism is fine, but give Derek a break. He did an excellent job so that it looks perfectly round enough making use of the Unreal 1 engine's limitations to make it look good. Plus the fact the creativity shines whenever it was effort or not to port the model to the now compressed Deus Ex version.

Do you know how hard it is to render something perfectly round?!

I mean!:

http://www.imagocentre.com/images/38/th ... ing_81.jpg

Look how poorly jagged this is, disgusting!
You see, you might say "hurpderp then blow up the image of the basketball like you did with my sig!!!!" but you see that is a 3d render, he can just load up the mod and take another screenshot of the ball but closer. It'll still look more spherical than your (unoriginal and boring) signature image that's limited to its primitive 2d pixels.

If you're open enough to do critcism then be ready to accept critcism. Shut up Sike you big gay bear! :smt049
Last edited by James on Tue May 12, 09 11:18 am, edited 4 times in total.
I am dead.
User avatar
James
Alpha
 
Posts: 28885
Joined: Sun Oct 26, 03 9:14 pm
Location: Home

Postby Kaiden » Tue May 12, 09 11:37 am

Hehe basketball was awesome on test, although Dae was too good at it <_< (And I think Baleout was good too!)
Last edited by Kaiden on Tue May 12, 09 11:37 am, edited 1 time in total.
------
Kaiden
Alpha
 
Posts: 7003
Joined: Wed Jan 18, 06 11:21 pm
Location: England

Postby James » Tue May 12, 09 11:37 am

I don't think I got ONE hoop.
I am dead.
User avatar
James
Alpha
 
Posts: 28885
Joined: Sun Oct 26, 03 9:14 pm
Location: Home

Postby Kaiden » Tue May 12, 09 11:38 am

I got some lucky ones, it was quite hard before the anti box/weapon field was added, people just filled the hoops with the boxgun squares D:
------
Kaiden
Alpha
 
Posts: 7003
Joined: Wed Jan 18, 06 11:21 pm
Location: England

Postby Dae » Tue May 12, 09 11:47 am

Speaking of spheres, there was a bug about lighting (one part of the ball was absolutely dark) so Derek had to reduce amount of polys and split the model into hemispheres.

Kaiden wrote:although Dae was too good at it <_< (And I think Baleout was good too!)

I think there were a lot of good players. What I also find advantegeous about it, is that you could actually train your throwing, so it's not some random stuff.
Attachments
basketball-team3-echelonxps.jpg
basketball-team3-echelonxps.jpg (19.47 KiB) Viewed 20818 times
Last edited by Dae on Tue May 12, 09 11:51 am, edited 2 times in total.
User avatar
Dae
Alpha
 
Posts: 12086
Joined: Sat Sep 06, 03 4:40 pm

Postby Professor Layton » Tue May 12, 09 1:36 pm

I must've missed this when it was fully functional :$ :(
GrandpaTerran wrote:THIS MAP HAS BEEN POSTPONED FOR NOW I'LL RE-DEVELOP WHEN I HAVE COMPLETED MY MAPPING TRAINING
User avatar
Professor Layton
Forum Hero
 
Posts: 2333
Joined: Mon Apr 04, 05 3:17 pm
Location: Critical thinking is the key to success!

Postby Baleout » Tue May 12, 09 4:32 pm

I think I managed to get the max score, throwing it from the opposite wall of the level :S
User avatar
Baleout
Master
 
Posts: 1606
Joined: Mon Feb 19, 07 1:28 pm
Location: Greater London

Postby Zondartul » Tue May 12, 09 6:29 pm

The ball is nice.

For something perfectly round that looks the same way from any angle (unlike basketball) one could use a sprite.
User avatar
Zondartul
Poster
 
Posts: 217
Joined: Thu Oct 28, 04 7:27 am

Postby clyzm » Tue May 12, 09 9:37 pm

Dae we should've made a football :oops:

I had the texture and everything!
Last edited by clyzm on Tue May 12, 09 9:38 pm, edited 1 time in total.
Image
User avatar
clyzm
Forum Master God
 
Posts: 16023
Joined: Sun Nov 28, 04 2:48 am
Location: Chiraq

Postby ~DJ~ » Thu May 14, 09 12:40 pm

Nice!

yay


Now I'll call it:


DEEJAYBASKETBALLMOD.DEEJAYBASKETBALL1337NESSBALL
User avatar
~DJ~
Forum Super Hero
 
Posts: 3766
Joined: Tue May 22, 07 12:23 pm


Return to alpha laboratories

Who is online

Users browsing this forum: No registered users and 11 guests
cron