This repository was archived by the owner on Mar 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathUsingTheOsaFlash.txt
More file actions
42 lines (22 loc) · 1.98 KB
/
UsingTheOsaFlash.txt
File metadata and controls
42 lines (22 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
For development I use a few hot keys which simulate events that Skyrim would be sending.
These events have to be manually sent to be able to work directly in flash on the project.
The keys to replicate Skyrim are set in OMajor in a function called keySim()
Here are the steps from flash to get it running:
1. Make sure you are focused in the program on any script, for example: "OMajor" instead of OSA
2. CTRL + ENTER: Compiles the swf and runs it
3. You'll see a grey screen
4. Hit NumPad Enter (0) to start, at this point you'll see nothing
5. Hit 1 twice, this simulates skyrim adding an actor (two of them)
6. Hit 5 twice, this simulates Skyrim sending the actor's equipment data (once for each actor)
To confirm thats NumpadEnter + 1 + 1 + 5 + 5 to get started
there's a few other hot keys for specific situations during development like for loading in 3 character scenes etc. and keys for testing the inspection function but I have to brush up on thise.
Once you are in you can use the scene as normal. Num + will open up the menu. The output log also has a lot of information that might help figure out what's going on.
There are also a few nuances to look for:
- The hotkeys are slightly different. 2 is used for down instead of 5 on the numpad
- If the input keys aren't working try changing NumLock
- My hot keys don't work right unless i have a script focused in Flash. Basically the OK key Num7 doesn't work. For example if OSA is focused in my flash program the keys are weird but if I switch to a script like OMajor they work fine.
ADDITIONAL NOTES
For testing persona and profiles
In the system/sim folder in this function -> simActraAdd()
This replicates the data gathered up by Skyrim from an NPC and is sent when you hit 1 at the hotkey startup. The first time you hit 1 the top data is sent and the 2nd time the bottom data is sent.
You can change the simulated formid for example to have it load different personas / profiles or change the race to test customizer or change the name etc.