I try to program a Little shooter game (my first Project)
Guess its useless2 pray now that a fps is the most bad decission4 a first project...
My Player-Entity is the weapon thats how I want to do
Very bad idea. Try it and iam pretty sure u know why. Pure collision - mass...only one of thousands reasons why u need2 use at least two models. Simple set this in your player model
set this flag in your gun script
set (my, PASSABLE | ZNEAR);
optional ( if i remember right ) set this ( still gunscript )
if you add "Genius" u need2 add the following code too
ENTITY* myplayer; // global entity pointer
action YourHeroScriptWED(){
...
..
.
myplayer = me; // set pointer2 this entity, mark as player
.
..
...
possible solution
c_trace (....USE_POLYGON | ...);
instead of
Btw, 2setup your bbox / collision hull u also may look@ "vec_set - min_x, max_x etc., or the POLYGON flag" ( like already said ).
Heres a little example i made while ago showing solutions2 every of your probs mentioned above.
Most Basic stuff4 writing a ( very simple! ) fps project. Check it out:
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=414603This stuff is pretty cool 4 newbies aswell:
http://www.rp-interactive.nl/ws/wshops.html...moved2 "Starting with Gamestudio" btw...
Peace