 |
WiiLi.org a new revolution
|
| View previous topic :: View next topic |
| Author |
Message |
djdna
Joined: 29 Jun 2008 Posts: 36
Digg It |
Posted: Tue Jul 01, 2008 3:53 pm Post subject: ONE SCRIPT TO RULE THEM ALL?????? (help!!) |
|
|
ok basically im going through all the great scriptspeople have made and while most are good they all seem setupp in a specific way for a specific game, which means they can be a lot more hassle to use esspecially for those (like me) that cant code etc...
heres my idea...
make a script that includes all the best scripts about and would be usefull in LOTS of ways....
heres the scripts i think would work best....
STEP 1
firstly i think we should start with the "batch file script launcher" by speaker219, this would allow us to use 1 script to run multiple scripts and switch between them easily using a wiimote shortcut... and load/run glovepie and our wiimote all by clicking on 1 shortcut file
(also im having problems setting this up, so a small tutorial would be helpfull or even a "default" setup you can use, by installing glovepie in the default DIR and placing the BAT/PIE files in a specific place etc)
STEP 2
use something like "Carl's IR Mouse" for really smooth mouse movement, that goes under all the bounding box code etc, ie: make sure all IR pointing uses this script to smooth out the movement etc...
STEP 3
add the bounding box & analog turning control (from the best scripts with bounding boxes etc) ontop of carls IR mouse script, (for smooth mouse movement) and add in analog turning via a bounding box aswell (for use in fps games)...
also something REALLY usefull would be to add in "Configurable Wii Lightgun Script by Tre Lantana" as this lets you calibrate your controller before starting anything!! which is really usefull imo! as then you can determin where you want the endges of your control area to end etc... (so u can use bigger/smaller hand movements for IR control etc)
STEP 4, add about 4-5 scripts into the "batch file script launcher" so that the new script covers most things people will want to use a wiimote/nunchuck or classic controller for, all in 1 easy to use script....
1 = a simple script with smooth mouse control for windows with assignments like dpad = scroll wheel and arrow keys, 1 & 2 buttons held for 1 second = windows + U key (for accessing the on screen keyboard in windows etc) and a+b = mouse buttons etc
2 fps setup 1, uses really smooth IR control (based on carls IR mouse or a smooth IR script), default fps keys and no bounding box ie: direct control (tho this could be a better setup if anyone has experimented enough to know that this method really doesnt work etc?)
3 another fps setup, again using carls smooth IR control script (or something similar) with a bounding box and analog movement etc and it must include adjustments for the bounding box size and turning speed etc... also one important note here is...
the last script i used with a bounding box and analog turning etc had 1 very annoying problem, the look up/down control was very problematic as you found yourself looking in the air, even tho you were pointing at the floor etc etc.... mst annoying, i think a good way to fix this would be... make a script which uses analog turning and a bounding box for left/right IR pointing ONLY and uses direct wiimote pointing for the up/down mouse movement, that way you shouldnt have this problem (i hope, but id have no idea how to achieve this atall)
(both FPS setups should use WSAD for movement, E&R assigned to nunchuck flick for reload and "use" combined into a usefull motion and other usual fps button assignments like shift for run, c for duck and space bar for jump etc etc... the reason i say this is MOST fps games use these keys so it seems the best starting point for anyone)
4 a setup like my "classic controller with mouse" script, which basically assigns all the classic controller functions to key strokes for use in emulators etc (and includes a choice between keys or analog control in the script for the left analog stick) and uses the right analog stick and ZL and ZR for mouse button 1 & 2 (so u can browse windows without swapping controllers etc)
the other things that would be nice to include would be a button combo that lets you check the battery life... and another button combo that checks if the nunchuck/classic controller is recognised ok or not
i think this would be idea for me and a lot of other people, is there anyone out there willing to have a go at coding this??
i think it would be great as it means anyone who has just got their wiimote connected to their pc etc, has an AMAZING script that does pretty much everything they could want in the best/easiest way possible...
it could also become the "standard" and people could use it as a good starting point for improvements and more features etc...
i would LOVE this to happen, does anyone have enough time/enthusiasm to embark on a project like this??
i would help in any way i can, but im very much a noob at all this.... |
|
| Back to top |
|
 |
wonder6oy
Joined: 12 Jun 2008 Posts: 20
Digg It |
Posted: Tue Jul 01, 2008 5:07 pm Post subject: |
|
|
I'm about to post someting VERY close to what you're looking for!
(I just need to clean up the code a bit)
Please check back in a day or two!  |
|
| Back to top |
|
 |
djdna
Joined: 29 Jun 2008 Posts: 36
Digg It |
Posted: Tue Jul 01, 2008 7:55 pm Post subject: |
|
|
@wonder6oy sounds great!!! i look forward to it... and i wish i could contribute more but i just dont code atall, so all this is totally new to me
while i think of it one more thing that could/should be included ideally (in my original list) is the code that allows you to point offscreen with the wiimote and use a real mouse instead.... as this makes things a lot easier
and/or a wiimote button combo (i suggest A+B+ minus buttons, held for 1 second) that ends the glovepie script aswell, as a failsafe if anything goes wrong |
|
| Back to top |
|
 |
wonder6oy
Joined: 12 Jun 2008 Posts: 20
Digg It |
Posted: Tue Jul 01, 2008 8:28 pm Post subject: |
|
|
While I don't have the script quite ready to put up just yet (check back tomorrow), here's a "feature list " I made up for it.
Also, just as a word of warning, I have not tested the script on ANY machine other than my own, which I am running as an HTPC, so I really hope there are no "compatibility issues" on other people's systems. We'll just have to wait and see, I guess...
"Universal Wiimote" - by wonder6oy
PLEASE READ BEFORE USING!!!
This script features 4 modes of operation. If the current mode isn't working for you, PRESS AND HOLD THE "Home" BUTTON UNTIL YOU HEAR THE AUDIBLE BEEP to switch between the two most commonly used modes (2 and 3).
FEATURES:
----------------
- There are 4 modes of operation:
1. ABSOLUTE POINTER (Home+B): Where you point at the screen is where the mouse cursor goes. Good for navigating Windows or starting up a game. Incompatible with many games, unfortunately. This is the default startup mode.
2. RELATIVE ANALOG (Home): A complex but intuitive blend of analog and pointer control featuring a transparent "clutch and braking" system to transition between precision pointing and analog motion. Excellent for FPS games. For platform style games, precision pointing mechanism can be disabled (Home+A) for analog style control only. Compatible with most games that support mouse input.
3. RELATIVE POINTER (Home): Similar to Absolute Pointer, but based on cursor movement rather than screen position. Frequent realignment may be necessary. Good for menu navigation in games that don't support Absolute Pointer mode. Compatible with most games that support mouse input.
4. DRIVING MODE (Home+Up): Same as Relative Pointer mode but with tilt control movement sent to the PPJoy driver using 2 axis (required for this mode) for steering controls. Nunchuk and function button features are disabled. Compatible with most games that support both joystick and mouse input.
- Switching modes is confirmed with an audible beep from the Wiimote.
- Button B and button A are mapped to mouse left-click and mouse right-click respectively. There is a slight pause when pressing button B (mouse left-click) in modes 1, 3, and 4 to aid in pointer accuracy. D-pad up and down are mapped to mouse scroll up and down.
- Nunchuk controller fully supported. Analog stick mapped to WASD keys respectively (unless using PPJoy mode - see below).
- Buttons 1 and 2 on the Wiimote serve as "function" buttons. While pressing and holding either button before pressing buttons C, Z, D-pad, B, or flick motions on the Nunchuk, an alternate key will be triggered. Buttons 1 and 2 may also be used as normal buttons for toggle type actions (flashlight, toggle prone, map, etc.). Not suitable for actions requiring press-and-hold usage (walk, run, prone(no toggle)) except when using mode 4 (Driving Mode) where the function feature is disabled.
- Flick actions Up, Down, Left, and Right on both the Wiimote and Nunchuk can also be mapped to keys. Function buttons 1 and 2 provide additional key commands to flicks on the Nunchuk only. Great for weapon reloading, melee attacks, grenade toss, etc.
- Short rumble burst when pressing the B button.
- PPJoy Enable (Home+Nunchuk Analog Up) replaces the WASD keystrokes sent from the analog stick with actual analog data sent to the PPJoy driver (2 axis) for true analog control. Excellent for games that support speed of movement via joystick input (i.e. Splinter Cell, Tomb Raider, etc.)
- Battery indicator on Wiimote
- Through the use of function buttons, all letters on the keyboard as well as numbers 0-9 have been mapped to the Wiimote/Nunchuk combo. Default assignments are a good starting point for most FPS games. |
|
| Back to top |
|
 |
djdna
Joined: 29 Jun 2008 Posts: 36
Digg It |
Posted: Wed Jul 02, 2008 9:56 am Post subject: |
|
|
sounds really good man
and as long as the script is setup in a way that its easy to stick different scripts into your script, then people can do a lot of stuff with that script
ps: right now i cant get the "batch file script launcher" to work anyway, so its no use to me  |
|
| Back to top |
|
 |
djdna
Joined: 29 Jun 2008 Posts: 36
Digg It |
Posted: Wed Jul 02, 2008 11:25 am Post subject: |
|
|
sorry ive just had one more idea id like to contribute aswell...
id love the script code to be able to press 2 buttons to scroll through different commands aswell for example....
hold 2 and use the wiimotes dpad left/right to scroll through letters of the alphabet or numbers and leftmouse click to enter that letter/number... (so that in games you can either use 1 key to switch between LOTS of different modes/weapons etc, really easily or just to be able to type with your wiimote in an emergency etc)
wether this code is seperate or not is no problem, but the ability to do this would be REALLY usefull imo |
|
| Back to top |
|
 |
wonder6oy
Joined: 12 Jun 2008 Posts: 20
Digg It |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|