Advanced Search

Author Topic: (beta 5) OH DEARY ME we have a problem  (Read 14426 times)

0 Members and 1 Guest are viewing this topic.

October 14, 2009, 09:27:53 AM
Read 14426 times

Offline CutmanMike

  • Administrator

  • Is it hot in here or is it just zscript?
  • *******
  • Date Registered: December 17, 2008, 12:24:34 PM

    • View Profile
    • https://cutstuff.net
(beta 5) OH DEARY ME we have a problem
« on: October 14, 2009, 09:27:53 AM »
The Cyborg dash coming to beta 5 may not be coming to beta 5 unless I can work around this little bump in the road. Basically GetPlayerInput is going to cause the server to lag more if it's used with the directions because it requires more network traffic. This, to me, is unacceptable for GVH (no ones fault) so I need to come up with a way of checking if the player is moving forward, backward, or strafing left or right without using GetPlayerInput. I thought about checking the x/y momentum in DECORATE but apparently that's map based and not in the direction you're facing.

Throw some ideas at me. Please try to know what you're talking about before suggesting though. Beta 5 is on hold until I come up with a solution.

More info here

October 14, 2009, 10:00:16 AM
Reply #1

Offline White

  • Standard Member
  • Date Registered: August 15, 2009, 12:31:46 AM

    • View Profile
    • http://cybruiserdomain.freeforums.org/index.php
Re: (beta 5) OH DEARY ME we have a problem
« Reply #1 on: October 14, 2009, 10:00:16 AM »
Welp' I know your answer. This may cause lag, but I fear it is your last option with GetPlayerInput not working properly online.

Basically, the player Cyborg class will constantly launch 5 or 9 projectiles.

5 being Left, Right, Forward, Backward, and Upward.

9 being Left, FrwdLeft, Forward, FrwdRight, Right, BkwdRight, Bkwd, BkwdLeft, and Upward.

Do either, but each projectile can be hit by the Cyborg class, and him alone.
Im sure thats a possible way, but once the cyborg runs into another cyborg if you fail to make it so the only player takes the projectile inventory, it will cause a collision between two cyborgs. Of course with that, im not sure they deserve to stay alive with a Jitter coming after 'em :P

IF The cyborg runs into the projectile enlisted in the proper direction, he will get a A_GiveInventory("PutSomeStrangeInventoryNameHereLol",1)

His Cyborg dashing state (Speaking of which, next time when I try to work on this[or anyone for that matter] try adding state names, as it's really confusing lol) will do a 10 way Inventory Check, I.E.

TNT1 0 A_JumpIfInventory("LolOneOhOne",1,"CyborgDashLeft")

Alot of work, but however this is entirely possible. Of course it provides more difficulties to make the class object only hit by the parent actor, but hey...

Anyhow, this is your solution, if any a difficult one. If yall find something better, let the guy playing with a pair of scissors up there know about it. :>

Also, lol Good morning.

October 14, 2009, 10:05:18 AM
Reply #2

Offline CutmanMike

  • Administrator

  • Is it hot in here or is it just zscript?
  • *******
  • Date Registered: December 17, 2008, 12:24:34 PM

    • View Profile
    • https://cutstuff.net
Re: (beta 5) OH DEARY ME we have a problem
« Reply #2 on: October 14, 2009, 10:05:18 AM »
Hmm I'm not sure if causing the Cyborg pain is a good idea. Entering pain states means you have to damage the actor (NODAMAGE doesn't work on players grr) which also means losing health and getting your screen to flash red. Not my style.

However spawning stuff AROUND the Cyborg to tell which direction he's walking in could work... maybe. Perhaps spawning inventory items around him infront, back and to his sides, and if he picks it up he dashes in that direction? Could work but holy damn it will have to be tested like a bat out of hell. I don't want cyborgs picking up other cyborgs inventory and I don't want lag to cause the cyborgs to not pick up the items.

Might be on to something though... NEED PEPSI

October 15, 2009, 12:36:14 AM
Reply #3

Offline Qent

  • Standard Member
  • Date Registered: August 14, 2009, 02:44:51 PM

    • View Profile
Re: (beta 5) OH DEARY ME we have a problem
« Reply #3 on: October 15, 2009, 12:36:14 AM »
Are GetActorVelX/Y/Z and SetActorVelocity in Skulltag? Because then you could boost the cyb in the direction he's going without worrying which way he's facing.

October 15, 2009, 08:43:30 AM
Reply #4

Offline CutmanMike

  • Administrator

  • Is it hot in here or is it just zscript?
  • *******
  • Date Registered: December 17, 2008, 12:24:34 PM

    • View Profile
    • https://cutstuff.net
Re: (beta 5) OH DEARY ME we have a problem
« Reply #4 on: October 15, 2009, 08:43:30 AM »
Nope, and they won't be in 98a either  :(

Btw this might be sorted if Torr knows what he's doing (he usually does)


http://skulltag.com/forum/viewtopic.php ... 14#p268414

October 15, 2009, 03:45:46 PM
Reply #5

Anonymous

  • Guest
.
« Reply #5 on: October 15, 2009, 03:45:46 PM »
.

October 16, 2009, 07:51:04 PM
Reply #6

Offline White

  • Standard Member
  • Date Registered: August 15, 2009, 12:31:46 AM

    • View Profile
    • http://cybruiserdomain.freeforums.org/index.php
Re: (beta 5) OH DEARY ME we have a problem
« Reply #6 on: October 16, 2009, 07:51:04 PM »
Cutman, it's not nessicarily about hitting other cyborgs. You can easily just apply the +DEFLECT or +REFLECT flag to the monster/player class (although Im no longer sure what the fuck is the difference). Even if the player deflects it, you can easily make it so it drops an inventory item that has a +NOGRAVITY flag and dies after 1 tic. Plus, the projectile would have to go unruly' fast.

Either way, I can try to engineer this. I just need the scripts your thinking of (or idea pane), some work music, AND COFFEE!

...What? Being a teen has downfalls!

Offtopic : Cutman, do you drink coffee? Or, do you just set scissors on fire and swallow them like the people at fairs, except with swords? :3

October 16, 2009, 07:56:20 PM
Reply #7

Offline CutmanMike

  • Administrator

  • Is it hot in here or is it just zscript?
  • *******
  • Date Registered: December 17, 2008, 12:24:34 PM

    • View Profile
    • https://cutstuff.net
Re: (beta 5) OH DEARY ME we have a problem
« Reply #7 on: October 16, 2009, 07:56:20 PM »
White I have no idea what you're talking about. The problem is that it doesn't read up down left and right in ACS, not that I can't deflect stuff (?). And I drink tea.

October 16, 2009, 08:43:35 PM
Reply #8

Offline White

  • Standard Member
  • Date Registered: August 15, 2009, 12:31:46 AM

    • View Profile
    • http://cybruiserdomain.freeforums.org/index.php
Re: (beta 5) OH DEARY ME we have a problem
« Reply #8 on: October 16, 2009, 08:43:35 PM »
Quote from: "CutmanMike"
And I drink tea.

Thank you for the answer. Cause honestly, I don't know if Tea really does anything, and im quite surprised that you drink it! :3 British boy.

AND I think I worded my stuff wrong :
Basically, I ment like... Decorate of what your attempting.

October 16, 2009, 10:31:33 PM
Reply #9

Offline Robjoe

  • Standard Member
  • Date Registered: August 15, 2009, 03:10:58 AM

    • View Profile
    • http://www.xfire.com/profile/catadioptrictrap/
Re: (beta 5) OH DEARY ME we have a problem
« Reply #9 on: October 16, 2009, 10:31:33 PM »
Quote from: "White"
:3 British boy.
I drink tea too, though. That dunt make me British. =(

October 16, 2009, 10:36:50 PM
Reply #10

Offline White

  • Standard Member
  • Date Registered: August 15, 2009, 12:31:46 AM

    • View Profile
    • http://cybruiserdomain.freeforums.org/index.php
Re: (beta 5) OH DEARY ME we have a problem
« Reply #10 on: October 16, 2009, 10:36:50 PM »
Quote from: "Robjoe"
Quote from: "White"
:3 British boy.
I drink tea too, though. That dunt make me British. =(

I hope choke doesn't barf up these posts, but...

Of course I hear all of these cartoons and shows of how brit's drink tea and go hunting and all that shit. High class cartoons? Either way, this is going off topic.

Any news on the jetpack, cutty?

October 17, 2009, 06:55:49 PM
Reply #11

Anonymous

  • Guest
.
« Reply #11 on: October 17, 2009, 06:55:49 PM »
.

October 18, 2009, 06:31:00 AM
Reply #12

Offline dark-slayer-201

  • Standard Member
  • Date Registered: September 22, 2009, 08:47:03 AM

    • View Profile
Re: (beta 5) OH DEARY ME we have a problem
« Reply #12 on: October 18, 2009, 06:31:00 AM »
Quote from: "White"
Being a teen has downfalls!
I know all about that, and also I don't drink coffee or tea, just soft drink (soda drinks), and I am Australian.

OnTopic.
Get what you can done.
I am even having ideas of remaking the gvh decorate code.

October 21, 2009, 05:26:13 PM
Reply #13

Anonymous

  • Guest
.
« Reply #13 on: October 21, 2009, 05:26:13 PM »
.

October 22, 2009, 08:44:10 AM
Reply #14

Offline CutmanMike

  • Administrator

  • Is it hot in here or is it just zscript?
  • *******
  • Date Registered: December 17, 2008, 12:24:34 PM

    • View Profile
    • https://cutstuff.net
Re: (beta 5) OH DEARY ME we have a problem
« Reply #14 on: October 22, 2009, 08:44:10 AM »
That's nice but this isn't your blog and we really don't care what one is drinking right now