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 Product Chat / ***(Request) Eai gun animations for v1.18, weapon swap system (Request)***

Author
Message
Help bugs!
16
Years of Service
User Offline
Joined: 1st Sep 2009
Location:
Posted: 11th Oct 2010 12:09 Edited at: 11th Oct 2010 12:10
Re-posted In main forum because wasn't getting any response in the other board.


OK guys,
I've been searching for some decent Eai melee animations for ages now. What I'm looking for is a script that when you press = x it does a melee action. (I think this was already done in Fenix mod)

As for the weapons,
I'm looking for something like this

player walks within = x of weapon press = x to pick up. This needs to be reversible, meaning you can swap back. I want there to be a 2 weapon limit.
I also want there to be the picture of the gun hovering over it when you pick it up. Like in halo.

The script also has to carry through to the next level - If possible.
(So if you pick up a gun, you still have that gun next level)

It also has to work when you kill an enemy. So you can swap your gun for the enemy's gun.

This is not a request for the v1.18 A simple script would be much nicer.

A side note: This is for a game I am making for the splatter spawn competition.


A huge thanks in advance. This is greatly needed for my game.
Help bugs!
The Zoq2
16
Years of Service
User Offline
Joined: 4th Nov 2009
Location: Linköping, Sweden
Posted: 11th Oct 2010 17:00
Most of this stuff allready exist

Srry about my english im from sweeden
zeza
18
Years of Service
User Offline
Joined: 27th Jun 2008
Location:
Posted: 11th Oct 2010 17:22
Shouldn't this go in the scripts section?

I'd change the world, but I don't have the source code
R.I.P. heltor, we will miss you
Help bugs!
16
Years of Service
User Offline
Joined: 1st Sep 2009
Location:
Posted: 11th Oct 2010 23:26
Quote: "Shouldn't this go in the scripts section?"


I didn't get any response from the script section.

Quote: "Most of this stuff allready exist"


Could you link me?
zeza
18
Years of Service
User Offline
Joined: 27th Jun 2008
Location:
Posted: 11th Oct 2010 23:57
Quote: "Eai melee animations for ages now. What I'm looking for is a script that when you press = x it does a melee action"

This can be done in stock now, for example,

this is my melee section of the gunspec for the G36

Quote: "player walks within = x of weapon press = x to pick up"

Also in stock now is playerdropcurrent, so the player drops their current weapon. Just add this to the pickup script in front of the playertake.

Quote: " want there to be a 2 weapon limit."

In Project Blue, you can set the number of weapon slots with setmaxweapslot=x, x being the number of slots

Quote: "I also want there to be the picture of the gun hovering over it when you pick it up"

This can be done with a simple hud, which you would have to make, or find somewhere

Quote: "It also has to work when you kill an enemy. So you can swap your gun for the enemy's gun"

This one I'm not sure about, since the weapon is automatically collect in the source, i.e. it is not running a .fpi script, but it won't collect if there is no slot open, so you might have to have a way for the player to drop their current weapon, and pick up the new one.

I'd change the world, but I don't have the source code
R.I.P. heltor, we will miss you
Brunopark09
15
Years of Service
User Offline
Joined: 7th Jul 2010
Location: Santiago de Chile
Posted: 12th Oct 2010 01:22
I thought playerdropcurrent doesn't work

Or i'm wrong?

SCI FI MEDIA IS NEVER ENOUGH!
Help bugs!
16
Years of Service
User Offline
Joined: 1st Sep 2009
Location:
Posted: 13th Oct 2010 04:52 Edited at: 13th Oct 2010 04:57
Quote: "this is my melee section of the gunspec for the G36"

Ok, I'm going to need some direction cuz i'm a total noob at scripting.

Quote: "Also in stock now is playerdropcurrent, so the player drops their current weapon. Just add this to the pickup script in front of the playertake."


But doesn't that mean it will swap your 1st gun, so you can only have one at a time. Hang on, If I didn't put the script on the 1st gun you find, I could make it 2 gun limit. THANKS



EDIT

There is no scriot called playerdropcurrent in the script bank.

Quote: "This can be done with a simple hud, which you would have to make, or find somewhere"


Couldn't you just use the stock hud that displays with ammo and make it smaller?
zeza
18
Years of Service
User Offline
Joined: 27th Jun 2008
Location:
Posted: 13th Oct 2010 14:01
Quote: "There is no scriot called playerdropcurrent in the script bank."

playerdropcurrent is an action that can be used in a script
http://forum.thegamecreators.com/?m=forum_view&t=176625&b=23 I'd try out this link, it should help with your scripting problem

I'd change the world, but I don't have the source code
R.I.P. heltor, we will miss you
Help bugs!
16
Years of Service
User Offline
Joined: 1st Sep 2009
Location:
Posted: 17th Oct 2010 02:44 Edited at: 17th Oct 2010 02:44
Yeah, alright but does anyone have a ready made script for the melee,
the weapon melee is more important.

Login to post a reply

Server time is: 2026-07-04 13:04:48
Your offset time is: 2026-07-04 13:04:48