Game Development Community

Weapon Image problem

by Joseph Jonathan · in Artist Corner · 03/31/2007 (1:45 pm) · 10 replies

Hey all I need a little help. The player and weapon I am using I made my self.

When I am in 3pv the weapon model looks fine, but when i am in 1pv the gun model dissapears exept when I am looking downwards or straid upwards.

Any sugestions?

#1
03/31/2007 (3:02 pm)
Pretty sure you just need to adjust the " eyeOffset = " in your weapons .cs file.
#2
04/01/2007 (7:53 am)
Nope doesnent work still.

could it have something to do with my player model's look animations not working?
#3
04/01/2007 (8:05 am)
You can see it when looking down and up..hmm I guess I didn't read that part?...That's pretty odd.
#4
04/01/2007 (8:45 am)
Im thinking it is with my model because even the crossbow dissapears. So it is not my custom weapon.
#5
04/01/2007 (7:53 pm)
I think your mounted Image may be disappearing because it is outside the player's bounding box, which is set in script. I've noticed this also on some weapons, which also have a more straight out arm posture, which would take the mountPoint and it's Image outside the bounding box.
#6
04/02/2007 (7:34 am)
Where can i find the bounding box script?
#7
04/02/2007 (11:00 am)
It's in the Player.cs script; not the Constructor Player.cs script that loads the dsq sequences, rather the PlayerClass dataBlock script. I'll take the player bounding box inside my modelling program to check, it's also how I checked my FirstPerson perspective animations. Just made sure my weapon and hands were within the default FOV[geometry I made, ;)] each side of center and it worked pretty well....


...and I'm not entirely sure that this is the issue; the mountPoint and it's Image moving outside the player's box or if the animation produced via the dsq moves outside the bounding box for the sequence?? I've not had any of these issues with my own produced weapons and player's animations. I see it now that I'm working with material I did not export or setup...??? Something I need to look into as well.

This would be great if a GG artist/coder could fill in some data on this.
#8
04/03/2007 (7:20 am)
Is this player.cs found in the engien folders?
#9
04/03/2007 (11:12 am)
Ah, I see, a non-licensed engine user, evaluating the demo....and beginning a string of FAQ's, lol.


Search your DemoTree folder[s] for "player.cs". Go forward from there. Become selfMotivating...

A word of advice: this engine and gameDeveloping is fairly DIY. Without holding a license for the SDK; you may find getting someone to walk you thru the engine may take a while.

You should probably get to know the folder structure and engine structure before jumping ahead to art production...my opinion.

Good luck.
#10
04/03/2007 (12:11 pm)
Yea I am using Ken Finneys starting block of Emaga6.

I am still trying to convince my dad to allow me to buy the Licence.