Jump to content

showAim function - aiming (crosshair)


dukenukem

Recommended Posts

Posted

Hi everybody. I have got suggestion to make showAim function, this is great idea i think, then we can make full cool first person shooting, i have got first person camera but i haven't got function to make showAim when you turn on first person and then we can aiming in first person mode. Now i can only run and i cant aim.

Greetz, dukenukem.

16211.gif

dukenukem3Dsa project, mta interfaces

I wanna kick your ass!

Posted

yup, maybe is a good idea, but i think this can be done scripting, right?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

duke nukem game mode o_O, you will need many things like models :P

good luck with it, i love duke nukem too.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

I think I wrote clearly enough: it's not directly possible, but with a little improvement of MTA that could be done. However, you can make the script imitate shooting, for example, make the player perform shooting animation and create DX 3D lines which represent shots. Another way would be creating a ped, setting its control states to those of the player and putting player camera in the position where the head is. setPedAimTarget could be used on that ped and crosshair could be drawn with drawing functions.

-

Posted

Script it. This isn't something that really depends on the core of MTA, so just script it.

And I don't get exactly what you want. Do you want ADS ( Aim Down the Sights )? Or do you want to trigger the crosshair?

If you want the ADS, just place the cam correctly and use the correct animations. Shouldn't be too hard.

If you want the crosshair, use setControlState.

Posted

there is one fps server already - so it's obviously possible

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

Posted
there is one fps server already - so it's obviously possible

what server? i must see it.

it was 6 months ago, and i was there only once. it (server) sucked anyway - but had working good fps mode. can't remember the name. sorry.

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

Posted

ive seen only one server with fps mode (but i was playing only in 2-3 servers, then on own server, tried totally like 20 servers only!) - and it had aiming

Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online!

programista php rzeszów

Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting.

Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...