Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / Weapon Positioning Help Please

Author
Message
SlickRick
17
Years of Service
User Offline
Joined: 22nd Nov 2002
Location:
Posted: 30th Nov 2002 06:05
I am making a first person shooter, and I need to find a way to keep the weapon in the bottum right corner of the screen, no matter what direction your facing. Iv'e tried locking the object to the screen, but then you could see objects through the gun. Also I would like to know if anyone could help me with making the weapon bob as you walk
or side step like in quake.
QuothTheRaven
17
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 30th Nov 2002 06:16
lock object on should work just fine, and you can still move objects that are locked on. Lock on simply means they are always on top of everything else. What do you mean by "see the objects through the gun"
Shadow Robert
17
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 30th Nov 2002 12:11
when you lock an object onscreen... for reasons that illude me completely, every 2nd limb will becomes inside out. Completely insane and has been a continued bug into DBpro, you'll have to take note manually of when this happens and setup a file to -100 scale limbs on XYZ.

It'll fixx the problem quite happily, really stupid solution but ya know what they say -
Stupid solution to a simple problem isn't stupid

Anata aru kowagaru no watashi!
indi
17
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 1st Dec 2002 06:17
just use a limb instead of that method

Shadow Robert
17
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 1st Dec 2002 18:29
Ya thats also good ... but i think there is a big problem with the Zbuffer within DarkBasic - never had much luck with objects staying normal hehee

Anata aru kowagaru no watashi!
Cybermind
Valued Member
17
Years of Service
User Offline
Joined: 28th Nov 2002
Location: Denmark
Posted: 1st Dec 2002 19:59
This is something from wwww.Darkbasic.com create section, it worked for me (and still does)

indi
17
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 2nd Dec 2002 01:52
that method wont work well with a imported object.
some facets appear reveresed as veg mentions above.
use a limb its the less problematic way.

actarus
17
Years of Service
User Offline
Joined: 29th Aug 2002
Location: 32 Light Years away
Posted: 2nd Dec 2002 01:56
Does the make mesh from object keep the same texture coords?
Never messed with it.
If so you could try if the same bug happens or not.

Just remember that you're standing on a planet that's evolving
And revolving at nine hundred miles an hour!
SlickRick
17
Years of Service
User Offline
Joined: 22nd Nov 2002
Location:
Posted: 2nd Dec 2002 02:52
Thanks for the advice, but can you please give me some code examples. The problem im having is when I lock my objects to the screen,you can see other parts of the object through
it. How can I get rid of this?
John H
Retired Moderator
17
Years of Service
User Offline
Joined: 14th Oct 2002
Location: Burlington, VT
Posted: 2nd Dec 2002 04:24
He, uh, just explained that. Scale the obejct negativly.

Current - RPG: Eternal Destiny : Help Wanted!
Upcoming- MMOFPS- Paintball Game: HELP WANTED!
Http://halbrosproductions.netfirms.com

Login to post a reply

Server time is: 2020-08-12 02:42:38
Your offset time is: 2020-08-12 02:42:38