dukenukem Posted December 2, 2010 Posted December 2, 2010 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. dukenukem3Dsa project, mta interfaces I wanna kick your ass!
Castillo Posted December 2, 2010 Posted December 2, 2010 yup, maybe is a good idea, but i think this can be done scripting, right? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
dukenukem Posted December 2, 2010 Author Posted December 2, 2010 (edited) ye i want to make duke nukem gamemode in mta 1.1 and i must have got that function. Edited December 2, 2010 by Guest dukenukem3Dsa project, mta interfaces I wanna kick your ass!
Castillo Posted December 2, 2010 Posted December 2, 2010 duke nukem game mode o_O, you will need many things like models good luck with it, i love duke nukem too. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
dukenukem Posted December 2, 2010 Author Posted December 2, 2010 ye, but first weapons, hud, first person aiming and on end skin models and other scripts. dukenukem3Dsa project, mta interfaces I wanna kick your ass!
DiSaMe Posted December 2, 2010 Posted December 2, 2010 If setPedAimTarget worked on players, aiming could be scripted. -
dukenukem Posted December 2, 2010 Author Posted December 2, 2010 "if"? so this work? dukenukem3Dsa project, mta interfaces I wanna kick your ass!
DiSaMe Posted December 3, 2010 Posted December 3, 2010 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. -
dukenukem Posted December 3, 2010 Author Posted December 3, 2010 eh, i must have got easy function, for normal aiming in first person camera. "imitate shooting" is bad. dukenukem3Dsa project, mta interfaces I wanna kick your ass!
botanist Posted December 3, 2010 Posted December 3, 2010 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. Handling editor | Modloader
dukenukem Posted December 3, 2010 Author Posted December 3, 2010 (edited) crosshair aiming when shooting in first person camera i dont want "imitate" "anims" i want real aiming ... and i think , setControlState is for cars Edited December 3, 2010 by Guest dukenukem3Dsa project, mta interfaces I wanna kick your ass!
botanist Posted December 3, 2010 Posted December 3, 2010 If you want the crosshair, use setControlState. Handling editor | Modloader
dukenukem Posted December 3, 2010 Author Posted December 3, 2010 setControlState is for cars dukenukem3Dsa project, mta interfaces I wanna kick your ass!
botanist Posted December 3, 2010 Posted December 3, 2010 Dude, click it. It's not only for cars. Why would I quote myself if it wasn't? Sets a state of a specified player's control, as if they pressed or released it. Handling editor | Modloader
dukenukem Posted December 3, 2010 Author Posted December 3, 2010 i dont know lot of people dont know how to make aiming in camera. dukenukem3Dsa project, mta interfaces I wanna kick your ass!
dzek (varez) Posted December 4, 2010 Posted December 4, 2010 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)!
dukenukem Posted December 4, 2010 Author Posted December 4, 2010 there is one fps server already - so it's obviously possible what server? i must see it. dukenukem3Dsa project, mta interfaces I wanna kick your ass!
lil Toady Posted December 4, 2010 Posted December 4, 2010 totally scriptable, i've seen this done even in alpha stages Do not PM me, im not going to read it anyway.
dukenukem Posted December 5, 2010 Author Posted December 5, 2010 totally scriptable, i've seen this done even in alpha stages really?, in 1.1 ? dukenukem3Dsa project, mta interfaces I wanna kick your ass!
botanist Posted December 5, 2010 Posted December 5, 2010 Alpha stages = MTA:DM DP. The MTA versions after MTA Race, and before MTA:SA 1.0. MTA 1.1 is called nightly, and that's something really, really different. Handling editor | Modloader
dukenukem Posted December 5, 2010 Author Posted December 5, 2010 Alpha stages = MTA:DM DP. The MTA versions after MTA Race, and before MTA:SA 1.0. MTA 1.1 is called nightly, and that's something really, really different. ah... okay. dukenukem3Dsa project, mta interfaces I wanna kick your ass!
dzek (varez) Posted December 5, 2010 Posted December 5, 2010 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)!
dukenukem Posted December 5, 2010 Author Posted December 5, 2010 lot of servers have got first person but haven't got aiming. dukenukem3Dsa project, mta interfaces I wanna kick your ass!
botanist Posted December 5, 2010 Posted December 5, 2010 Which server? The only server I know nowadays with a FPS mod is COD2MOD, and that one sux-ass. Could be easily better scripted. Handling editor | Modloader
dzek (varez) Posted December 5, 2010 Posted December 5, 2010 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)!
Recommended Posts