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.

FPSC Classic Scripts / Help with a script (Using Ply's mod)

Author
Message
Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 2nd Apr 2009 14:31
I edited the humvee drive script to be an artilery gun script
, you press Enter then you have minigun to shoot with , press g to leave the gun , here's the code :

but there is a proplem , the bullets hit the gun and not throwing out.
i tried to make coloff , bulletpass but it didn't work , please help with this , and if someone could i hope he makes the gun rotates with the camera rotating if possiple.
thanks.

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 3rd Apr 2009 01:33 Edited at: 3rd Apr 2009 01:33
This line:
Quote: ":state=3:cameraposx=0 $EPX,cameraposy=0 $EPY,cameraposz=0 $EPZ"


will reposition the player to be inside the entity.

I think that is your problem here. Bullets come from the player's camera location (Camera 0) so the bullets are most likely being shot from inside of the entity.


The one and only,


Mr illusionest
15
Years of Service
User Offline
Joined: 5th Mar 2009
Location: Cairo , Egypt
Posted: 3rd Apr 2009 12:16 Edited at: 3rd Apr 2009 12:24
Thanks Plystire , I will try it.
and by the way , your mod is fantastic!
Can't wait to see your games.
I tried it and it works , but Is it possiple to rotate the artillary gun with the rotation of the camera ?

"I am the night visitor when everyone is sleep , and when the last light fades"
The illusionest
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 4th Apr 2009 01:57
Hmmm, you could try making the artillery gun a seperte entity, positioning it on top of the mount and moving it like that.


The one and only,


Login to post a reply

Server time is: 2024-11-24 23:06:17
Your offset time is: 2024-11-24 23:06:17