Old 05-22-2008, 02:29 PM   #41 (permalink)
Jr. Zuner
 
8007859's Avatar
 
Join Date: Mar 2008
Posts: 36
8007859 is an unknown quantity at this point
Default

zune 30 controlls please






8007859 is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old 05-22-2008, 03:09 PM   #42 (permalink)
Zuner
 
Join Date: May 2008
Posts: 61
Pauliver is on a distinguished road
Send a message via AIM to Pauliver Send a message via MSN to Pauliver
Default

How To: Zune 30 Controls.

(sorry for not doing this myself, I don't have a zune right now so if i wrote it i couldn't test it).

In the file \Systems - Managers\InputWrapper.cs line 19 to 30 where it says:
Code:
public struct ThumbStick
   {
      public float X;
      public float Y;
      public void Update(Vector2 vector)
      {
          X = vector.X;
          Y = vector.Y;
          // ADD your custom logic here
      }
   }
This is not the ideal situation, however it should let people who have a Zune 30 play the game.

The code should be something along the lines of:

Code:
if (Microsoft.Xna.Framework.Input.GamePad.GetState(PlayerIndex.One).DPad.[Direction] == Microsoft.Xna.Framework.Input.ButtonState.Pressed)
{
    X or Y = 1 or -1; depending on which button
}
Hope this helps, sorry I can't impliment it and more importantly test it myself right now. Whoever impliments it (after testing it) feel free to submit a patch to the project.



Pauliver is offline   Reply With Quote
Old 05-22-2008, 03:27 PM   #43 (permalink)
lost in paradise with rae
Support Team
Moderator
Expert Zuner
 
Red Sky's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 2,632
Red Sky is just really niceRed Sky is just really niceRed Sky is just really nice
Send a message via MSN to Red Sky
Default

Well, I just added that, and now i'll test it out. I will let everyone know how it goes.
__________________
Runaway! thread|Beat Wave thread|
Rock Rain SD thread|
MY BLOG!


Thanks Charge!
Click Here to see more of Charge's work!





Red Sky is offline   Reply With Quote
Old 05-22-2008, 03:39 PM   #44 (permalink)
Support Team
Expert Zuner
 
Soccerfreak24's Avatar
 
Join Date: Nov 2007
Posts: 3,027
Soccerfreak24 is just really niceSoccerfreak24 is just really niceSoccerfreak24 is just really nice
Default

Sweet, zune 30 controls. I'll try and get em in now.
__________________





Soccerfreak24 is offline   Reply With Quote
Old 05-22-2008, 03:58 PM   #45 (permalink)
lost in paradise with rae
Support Team
Moderator
Expert Zuner
 
Red Sky's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 2,632
Red Sky is just really niceRed Sky is just really niceRed Sky is just really nice
Send a message via MSN to Red Sky
Default

well, i added all of that code and it works pretty well
I don't see any need to do it differently, I mean it does everything that the d-pad should do. You don't need to worry about sensitivity like you do for touch or anything.

add this to the area stated by Pauliver
Code:
if (Microsoft.Xna.Framework.Input.GamePad.GetState(PlayerIndex.One).DPad.Down == Microsoft.Xna.Framework.Input.ButtonState.Pressed)
                {
                    Y -=1;
                }
                if (Microsoft.Xna.Framework.Input.GamePad.GetState(PlayerIndex.One).DPad.Up == ButtonState.Pressed)
                {
                    Y += 1;
                }
                if (Microsoft.Xna.Framework.Input.GamePad.GetState(PlayerIndex.One).DPad.Left == ButtonState.Pressed)
                {
                    X -= 1;
                }
                if (Microsoft.Xna.Framework.Input.GamePad.GetState(PlayerIndex.One).DPad.Right == ButtonState.Pressed)
                {
                    X += 1;
                }
__________________
Runaway! thread|Beat Wave thread|
Rock Rain SD thread|
MY BLOG!


Thanks Charge!
Click Here to see more of Charge's work!





Red Sky is offline   Reply With Quote
Old 05-22-2008, 04:26 PM   #46 (permalink)
Super Zuner
 
Tobososlow's Avatar
 
Join Date: Nov 2007
Location: In a hypocritical world
Posts: 1,663
Tobososlow is a name known to allTobososlow is a name known to allTobososlow is a name known to allTobososlow is a name known to all
Default

That would be excellent if I knew exactly where to place it.
__________________




Tobososlow is offline   Reply With Quote
Old 05-22-2008, 04:28 PM   #47 (permalink)
Experienced Zuner
 
ChrisV1's Avatar
 
Join Date: May 2007
Posts: 167
ChrisV1 is on a distinguished road
Send a message via Skype™ to ChrisV1
Default

Is there any chance of adding AI support?





ChrisV1 is offline   Reply With Quote
Old 05-22-2008, 04:36 PM   #48 (permalink)
lost in paradise with rae
Support Team
Moderator
Expert Zuner
 
Red Sky's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 2,632
Red Sky is just really niceRed Sky is just really niceRed Sky is just really nice
Send a message via MSN to Red Sky
Default

Quote:
Originally Posted by Tobososlow View Post
That would be excellent if I knew exactly where to place it.

Go to the Systems - Managers folder. under that is inputwrapper.cs. Open that

Expand the region PINPUT near the top. under that you'll find the public Struct Thumbstick, and under that is the update, add that code to the update method
__________________
Runaway! thread|Beat Wave thread|
Rock Rain SD thread|
MY BLOG!


Thanks Charge!
Click Here to see more of Charge's work!





Red Sky is offline   Reply With Quote
Old 05-22-2008, 04:39 PM   #49 (permalink)
Jr. Member
 
Grim's Avatar
 
Join Date: Dec 2007
Location: Your house, stalking you!
Posts: 376
Grim will become famous soon enough
Default

ima gonna try for 30 gb release
__________________




Grim is offline   Reply With Quote
Old 05-22-2008, 04:52 PM   #50 (permalink)
Super Zuner
 
Tobososlow's Avatar
 
Join Date: Nov 2007
Location: In a hypocritical world
Posts: 1,663
Tobososlow is a name known to allTobososlow is a name known to allTobososlow is a name known to allTobososlow is a name known to all
Default

Quote:
Originally Posted by Link9228 View Post
Go to the Systems - Managers folder. under that is inputwrapper.cs. Open that

Expand the region PINPUT near the top. under that you'll find the public Struct Thumbstick, and under that is the update, add that code to the update method
Thanks! That's what I was looking for.
__________________




Tobososlow is offline   Reply With Quote
Old 05-22-2008, 04:53 PM   #51 (permalink)
lost in paradise with rae
Support Team
Moderator
Expert Zuner
 
Red Sky's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 2,632
Red Sky is just really niceRed Sky is just really niceRed Sky is just really nice
Send a message via MSN to Red Sky
Default

No problem, glad to help, i would just upload it, but there's little point when it's just like 8 lines of code.
__________________
Runaway! thread|Beat Wave thread|
Rock Rain SD thread|
MY BLOG!


Thanks Charge!
Click Here to see more of Charge's work!





Red Sky is offline   Reply With Quote
Old 05-22-2008, 05:08 PM   #52 (permalink)
Squirt
 
Join Date: Jul 2007
Posts: 14
mojo is on a distinguished road
Default

Please post the zune 30 package
Having a bit of errors with the code



mojo is offline   Reply With Quote
Old 05-22-2008, 05:17 PM   #53 (permalink)
lost in paradise with rae
Support Team
Moderator
Expert Zuner
 
Red Sky's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 2,632
Red Sky is just really niceRed Sky is just really niceRed Sky is just really nice
Send a message via MSN to Red Sky
Default

Ok, this is a link to the z30 fixed controls... and pauliver, let me know when you get an update, i'll remove this link.

http://files.filefront.com/wormsrar/.../fileinfo.html
__________________
Runaway! thread|Beat Wave thread|
Rock Rain SD thread|
MY BLOG!


Thanks Charge!
Click Here to see more of Charge's work!





Red Sky is offline   Reply With Quote
Old 05-22-2008, 05:19 PM   #54 (permalink)
Experienced Zuner
 
miceylulu's Avatar
 
Join Date: May 2008
Posts: 182
miceylulu is on a distinguished road
Default

Quote:
Originally Posted by mojo View Post
Please post the zune 30 package
Having a bit of errors with the code
Me too, I feel like a retard and can't get it to work.




miceylulu is offline   Reply With Quote
Old 05-22-2008, 05:22 PM   #55 (permalink)
lost in paradise with rae
Support Team
Moderator
Expert Zuner
 
Red Sky's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 2,632
Red Sky is just really niceRed Sky is just really niceRed Sky is just really nice
Send a message via MSN to Red Sky
Default

Quote:
Originally Posted by miceylulu View Post
Me too, I feel like a retard and can't get it to work.
I posted the link, it's right above your post.
__________________
Runaway! thread|Beat Wave thread|
Rock Rain SD thread|
MY BLOG!


Thanks Charge!
Click Here to see more of Charge's work!





Red Sky is offline   Reply With Quote
Old 05-22-2008, 05:34 PM   #56 (permalink)
Experienced Zuner
 
DareckT's Avatar
 
Join Date: May 2008
Posts: 127
DareckT is on a distinguished road
Default

Whoa, this is a huuuge advancement over the last version. And kudos to Arthur also, the art is really sweet. Amazing game man can't wait until the wireless multiplayer, and all of that other good stuff gets put in

Last edited by DareckT; 05-22-2008 at 05:41 PM.




DareckT is offline   Reply With Quote
Old 05-22-2008, 05:42 PM   #57 (permalink)
lost in paradise with rae
Support Team
Moderator
Expert Zuner
 
Red Sky's Avatar
 
Join Date: Nov 2007
Location: Pennsylvania
Posts: 2,632
Red Sky is just really niceRed Sky is just really niceRed Sky is just really nice
Send a message via MSN to Red Sky
Default

Me either, this will be a sweet 2 v 2 for when you're bored... i can't wait for the future of zune games... if we could get an rpg with coop that would be so amazingly fun... just 2 people playing an rpg wirelessly....
__________________
Runaway! thread|Beat Wave thread|
Rock Rain SD thread|
MY BLOG!


Thanks Charge!
Click Here to see more of Charge's work!





Red Sky is offline   Reply With Quote
Old 05-22-2008, 06:17 PM   #58 (permalink)
Squirt
 
Join Date: Sep 2007
Posts: 18
Thekirby45 is on a distinguished road
Default

Wow nice game

we just need bot support and an auto end button this game could be a time waster for sure
__________________



Thekirby45 is offline   Reply With Quote
Old 05-22-2008, 06:20 PM   #59 (permalink)
Support Team
Expert Zuner
 
Soccerfreak24's Avatar
 
Join Date: Nov 2007
Posts: 3,027
Soccerfreak24 is just really niceSoccerfreak24 is just really niceSoccerfreak24 is just really nice
Default

Wow, this game is a lot funner when you can move!! And btw, we need a way to end turns.
__________________





Soccerfreak24 is offline   Reply With Quote
Old 05-22-2008, 06:35 PM   #60 (permalink)
Experienced Zuner
 
miceylulu's Avatar
 
Join Date: May 2008
Posts: 182
miceylulu is on a distinguished road
Default

Quote:
Originally Posted by Link9228 View Post
I posted the link, it's right above your post.
Thank you




miceylulu is offline   Reply With Quote
Reply

Bookmarks

Thread Tools