Jump to content
Sign in to follow this  
Espy

Longjump delay

Recommended Posts

Here is the longjump delay u wanted Bios.

    es es_xkeygetvalue wcs_longjump "WCSuserdata" event_var(userid) "longjump"

    es es_xif (server_var(wcs_longjump) != "0") do

    {

      es es_xkeygetvalue wcs_longjump_count "WCSuserdata" event_var(userid) longjumpcount

      es es_xif (server_var(wcs_longjump_count) != "0") do

      {

        // Adds one to longjumpcount every time u jump

        es es_xmath wcs_longjumpcount +1

        es es_xif (server_var(wcs_longjump) < 1) then es_xsetinfo wcs_longjump 1

        // calculate the new velocy for jumping

        es es_xgetplayerprop wcs_tmp event_var(userid) CCSPlayer.baseclass.localdata.m_vecVelocity[0]

        es es_xmath wcs_tmp * server_var(wcs_longjump)

        es es_xgetplayerprop wcs_tmp1 event_var(userid) CCSPlayer.baseclass.localdata.m_vecVelocity[1]

        es es_xmath wcs_tmp1 * server_var(wcs_longjump)

        es es_xformat wcs_tmp "%1,%2,0" server_var(wcs_tmp) server_var(wcs_tmp1)

        es es_xsetplayerprop event_var(userid) CBasePlayer.localdata.m_vecBaseVelocity server_var(wcs_tmp)

      }

      es es_xif (server_var(wcs_longjump_count) = 5) do

      {

        // This adds the delay when you have reached a count of 5

        es es_xkeysetvalue wcs_longjump "WCSuserdata" event_var(userid) "longjump" 0

        es es_xtell event_var(userid) #multi #lightgreen Longjump Disabled #default : #green Longjump is disabled for 5 seconds.

        es es_delayed 5 es_xkeysetvalue wcs_longjump "WCSuserdata" event_var(userid) "longjump" 1

        es es_delayed 5 es_xkeysetvaule wcs_longjump_count event_var(useird) "longjumpcount" 1

        es es_xtell event_var(userid) #multi #lightgreen Longjump Enabled #default : #green Longjump is not enabled again        

      }

    }

That is what u replace with the current longjump code.

    "skill4_setting"    "es_xsetinfo wcs_multiplier 1.2|es_xsetinfo wcs_multiplier 1.3|es_xsetinfo wcs_multiplier 1.4"

    "skill4_cmd"        "es es_xkeysetvaule WCSuserdata event_var(userid) longjumpcount 1;es es_xkeysetvalue WCSuserdata event_var(userid) longjump server_var(wcs_multiplier);wcs_getlanguage wcs_lng wcs_lng_r_longjump;es es_xtell event_var(userid) #multi server_var(wcs_lng)"

    "skill4_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 50 1 30 100 0.8 255 100 100 255 1"

I didnt test this, so if it doesnt work, let me know.

Share this post


Link to post
Share on other sites
Here is the longjump delay u wanted Bios.

    es es_xkeygetvalue wcs_longjump "WCSuserdata" event_var(userid) "longjump"

    es es_xif (server_var(wcs_longjump) != "0") do

    {

      es es_xkeygetvalue wcs_longjump_count "WCSuserdata" event_var(userid) longjumpcount

      es es_xif (server_var(wcs_longjump_count) != "0") do

      {

        // Adds one to longjumpcount every time u jump

        es es_xmath wcs_longjumpcount +1

        es es_xif (server_var(wcs_longjump) < 1) then es_xsetinfo wcs_longjump 1

        // calculate the new velocy for jumping

        es es_xgetplayerprop wcs_tmp event_var(userid) CCSPlayer.baseclass.localdata.m_vecVelocity[0]

        es es_xmath wcs_tmp * server_var(wcs_longjump)

        es es_xgetplayerprop wcs_tmp1 event_var(userid) CCSPlayer.baseclass.localdata.m_vecVelocity[1]

        es es_xmath wcs_tmp1 * server_var(wcs_longjump)

        es es_xformat wcs_tmp "%1,%2,0" server_var(wcs_tmp) server_var(wcs_tmp1)

        es es_xsetplayerprop event_var(userid) CBasePlayer.localdata.m_vecBaseVelocity server_var(wcs_tmp)

      }

      es es_xif (server_var(wcs_longjump_count) = 5) do

      {

        // This adds the delay when you have reached a count of 5

        es es_xkeysetvalue wcs_longjump "WCSuserdata" event_var(userid) "longjump" 0

        es es_xtell event_var(userid) #multi #lightgreen Longjump Disabled #default : #green Longjump is disabled for 5 seconds.

        es es_delayed 5 es_xkeysetvalue wcs_longjump "WCSuserdata" event_var(userid) "longjump" 1

        es es_delayed 5 es_xkeysetvaule wcs_longjump_count event_var(useird) "longjumpcount" 1

        es es_xtell event_var(userid) #multi #lightgreen Longjump Enabled #default : #green Longjump is not enabled again        

      }

    }

That is what u replace with the current longjump code.

    "skill4_setting"    "es_xsetinfo wcs_multiplier 1.2|es_xsetinfo wcs_multiplier 1.3|es_xsetinfo wcs_multiplier 1.4"

    "skill4_cmd"        "es es_xkeysetvaule WCSuserdata event_var(userid) longjumpcount 1;es es_xkeysetvalue WCSuserdata event_var(userid) longjump server_var(wcs_multiplier);wcs_getlanguage wcs_lng wcs_lng_r_longjump;es es_xtell event_var(userid) #multi server_var(wcs_lng)"

    "skill4_sfx"        "es es_xgetplayerlocation wcs_x1 wcs_y1 wcs_z1 server_var(wcs_userid);es est_effect 10 #a 0 sprites/lgtning.vmt server_var(wcs_x1) server_var(wcs_y1) server_var(wcs_z1) 20 50 1 30 100 0.8 255 100 100 255 1"

I didnt test this, so if it doesnt work, let me know.

What can it do?

Share this post


Link to post
Share on other sites

You get 5 jumps, then 5 second cooldown before u can longjump again.

Bios wanted it to prevent ppl jumping the map all the time

Share this post


Link to post
Share on other sites
You get 5 jumps, then 5 second cooldown before u can longjump again.

Bios wanted it to prevent ppl jumping the map all the time

Arg that is shitty but probably a good idea so they don't whore it ..

Share this post


Link to post
Share on other sites

Annoying for those that have longjump yes.

And bios, you gotta add the _xkeysetvaule wcs_longjump_count event_var(useird) "longjumpcount" 1 to the shopmenu longjump aswell

Share this post


Link to post
Share on other sites

Very horrible cooldown amount. Now yes, I absolutely love longjump, but if it means making the game fair, make the cooldown 10 seconds, people usually longjump, shoot for 5 seconds, then longjump again. Won't make a difference with such a short cooldown.

Share this post


Link to post
Share on other sites
Very horrible cooldown amount. Now yes, I absolutely love longjump, but if it means making the game fair, make the cooldown 10 seconds, people usually longjump, shoot for 5 seconds, then longjump again. Won't make a difference with such a short cooldown.

True true..

Share this post


Link to post
Share on other sites

Not sure how I can implement this but we can talk about it later, I'm gonna be going fishing after work.

Share this post


Link to post
Share on other sites

Ok, its the wrong day :D

Its tomorow :P

Well if u get on within the next few hours ill help u now. If not u have to wait till tomorow

Share this post


Link to post
Share on other sites
cooldown..? on LONG JUMP!?!??!!?!? NOO!!!! =(

Ya its sucks but its the only thing that will make it fair,.. Just try yiyas or me with longjump. We can go dust 2 around in 30 secs..

Share this post


Link to post
Share on other sites
isn't long jump like 10000? That's why i don't buy that shit lol. would there be a cool down on races that have long jump or just the shop item long jump?

Yeh I think it got raised .. Before it was 5000

Share this post


Link to post
Share on other sites
Sign in to follow this  

×
×
  • Create New...