.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > YappA > Offtopic
Offtopic Just anything. You have time to waste ? Prove it !!!

Reply
 
Thread Tools
Re: Cs 2d!
Old
  (#31)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Cs 2d! - 22-07-2004

Well, i have to set for each tile and cloud a different blender. Unless i use 32BPP and only use the alpha channel or something. But sinc ei am in 16BPP it does not work that way.

Anyway, it took me some freaking time to get this working:
- my dude (an arctic terror, used with model viewer, scaled down, looks neat... i think) now looks where i want it to and also MOVES to that position. Its speed is increased incrementally and... its dependant on 'how far' your mouse is. So when you have it close, it will walk.. when its far, it will run.. etc

there is NO collision detection yet. Though i have an idea on this one. I use a memory bitmap which simply holds BLACK and WHITE colors. When something is white, it means it can block the player. When i blit my player on this bmp and the ffcol library returns 'true' (so it overwrites a WHITE color), it means collission. THerefor the movement cannot go and voila.

picture:


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me

Last edited by stefanhendriks; 22-07-2004 at 23:02..
  
Reply With Quote
Re: Cs 2d!
Old
  (#32)
TruB
One Eyed Freak
 
TruB's Avatar
 
Status: Offline
Posts: 1,164
Join Date: Dec 2003
Location: local mall
Default Re: Cs 2d! - 22-07-2004

do the view pan yet?.. i may a missed the answer to that..
  
Reply With Quote
Re: Cs 2d!
Old
  (#33)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Cs 2d! - 23-07-2004

you mean, you cannot look through walls and such? no, there is nothing in yet for that.

i already am thinking of possible 'traceline' and 'visibility' things to make sure i can make a neat 'viewcone'.

dunno how to code that fast & properly yet though.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Cs 2d!
Old
  (#34)
TruB
One Eyed Freak
 
TruB's Avatar
 
Status: Offline
Posts: 1,164
Join Date: Dec 2003
Location: local mall
Default Re: Cs 2d! - 23-07-2004

no view pan is when the view moves with the player.. up down right left.. even though,, pan is actually right left.. while tilt is up down..
  
Reply With Quote
Re: Cs 2d!
Old
  (#35)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Cs 2d! - 23-07-2004

controls are relative to player:
ie, when player looks up:

pressing left, goes left

when player goes down:
pressing left goes right.

Strafing is even more complex: (working on it, but not working 100%!)

pressing strafe_left when facing UP, you go... left
but when facing down, you go right. Quite funny on 2d


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Cs 2d!
Old
  (#36)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Cs 2d! - 23-07-2004

i got strafing working now! ... i added more gfx, i also have added a weapon drawing now. On the next screenies you see 2 scenes which are almost identical; the 2nd shot casts shadows ON players as well now. THere is still no collission detection going on... going to work on that when scrolling also works on players.

I got all CT models in (except the vip); only 2 terror models in and 2 weapon models (dropped as well as 'in-game')...

steady as we go!





Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Cs 2d!
Old
  (#37)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Cs 2d! - 23-07-2004

collision detection is now in! THanks go to ppcol (use google to see wha tit is).

Unlike CS2D at www.cs2d.com , my players 'slide' when they are blocked only on one axis. This way you can move in those tiny hallways way easier. Yeah! And ... no noticable fps decrease. Its going well And ic an use any mask i want to collide. Currently i just do not use a a mask at all. Sort of 'hitboxes' hehe.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Cs 2d!
Old
  (#38)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Cs 2d! - 23-07-2004


i know, i made a little mistake with the shadow in the editor. This is after a quick-grab from the original de_aztec textures. There is no water yet as you can see, i wonder how that looks like in the game. In overall i am quite pleased with the results.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: Cs 2d!
Old
  (#39)
Thirdeye
Member
 
Thirdeye's Avatar
 
Status: Offline
Posts: 102
Join Date: Apr 2004
Default Re: Cs 2d! - 24-07-2004

omg... dude keep it up !!!!!!!
  
Reply With Quote
Re: Cs 2d!
Old
  (#40)
TruB
One Eyed Freak
 
TruB's Avatar
 
Status: Offline
Posts: 1,164
Join Date: Dec 2003
Location: local mall
Default Re: Cs 2d! - 24-07-2004

beta?..
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com