Automated Bitmask Converter!
-
- Green Beret
- Posts: 3470
- Joined: Sat Jun 03, 2006 11:08 am
- Contact:
The plugins are done in XML. I haven't looked but you might find a plugin or addon for Applescript that reads XML. That way you wouldn't have to deal with delimiters. Another option would be to make your own plugins without all the XML stuff. Just list is in a plain text file then read it with Applescript. That is probably the easiest way. For example, every line in the file is a different attribute.
Kansas....Like Paris Hilton: White, Flat, and Easy to Enter. -- Conan O'Brien
Masturbation is like procrastination, they're both great until you realize your screwing yourself.
MGM Discord | MGM Chat
Masturbation is like procrastination, they're both great until you realize your screwing yourself.
MGM Discord | MGM Chat
Alright, smart idea because delimiters are such a pain. I'll try doing something like that. Or, giving myself a stretch I could try it in C++, which I'm still learning more and more. To be more specific, how would I list it as a plain text file putting each attribute in each line? Like...you're saying "weap>>flags>>drop trigger lock" or something like that?
i think he means:
0x2f4
0xwm
dgbfb
dgargr
gsvv
blah
blah
blah
it is in order.
so the program knows that the first line is some plugins value
the second is the next then the next then the next.
i think thats what he meant.
so you just program the program to know that if you ask for the speed of the hog plugin, it takes line 236's value and add's it to a meta you select............
is that right monoman?
or did i just make a fool of myself?? lol
0x2f4
0xwm
dgbfb
dgargr
gsvv
blah
blah
blah
it is in order.
so the program knows that the first line is some plugins value
the second is the next then the next then the next.
i think thats what he meant.
so you just program the program to know that if you ask for the speed of the hog plugin, it takes line 236's value and add's it to a meta you select............
is that right monoman?
or did i just make a fool of myself?? lol
Everyone on Macgamingmods.com wrote:WOOT for MAV!
Yea, that is what I meant mavrick06. Yummy, your way works (weap>>flags>>drop trigger lock) too but you will have to deal with delimiters to get rid of the >> when you parse the file.
Kansas....Like Paris Hilton: White, Flat, and Easy to Enter. -- Conan O'Brien
Masturbation is like procrastination, they're both great until you realize your screwing yourself.
MGM Discord | MGM Chat
Masturbation is like procrastination, they're both great until you realize your screwing yourself.
MGM Discord | MGM Chat
Well no matter what, you will have to deal with delimiters to parse it, because with what mavrick posted, you have to use the return as a delimiter anyways (separate lines) I am confused as to how 0x2f4 would help? that's only telling you an offset, not telling you what is at 2f4.
Oh wait, never mind. I would have like two corresponding lists in a 2 dimensional array (stupid apple script doesn't do arrays, only lists). So, I would have two lists, one with the offsets, and one with what is at each offset.
Oh wait, never mind. I would have like two corresponding lists in a 2 dimensional array (stupid apple script doesn't do arrays, only lists). So, I would have two lists, one with the offsets, and one with what is at each offset.
Actually if you make the files like how mavrick posted you do not need a delimiter. You can just grab the text by paragraph. Applescript will treat each line as a paragraph and you don't have to worry about the end of the line.
Kansas....Like Paris Hilton: White, Flat, and Easy to Enter. -- Conan O'Brien
Masturbation is like procrastination, they're both great until you realize your screwing yourself.
MGM Discord | MGM Chat
Masturbation is like procrastination, they're both great until you realize your screwing yourself.
MGM Discord | MGM Chat
Oh right, I can do paragraph x of the_values or whatever it is. True, of course I didn't think of that...
Once I get around to starting this program, It won't be out for a while due to the fact that I have school...oh well. I will try to do it piece by piece.
I would also have to include reflexives if it is a reflexive....because, of course, if it is a reflexive I have to calculate a new offset.
Let's see, how would this program look now? (Thinking aloud)....I would not even use any other applications, I would only use XCode. It would have all the tags, like vehi, weap, so on so on. Once you select one of those, you would get a list of all the things in there to edit (for instance Forward Speed), then you would press calculate.
Now, the problem is once again, reflexives. I would have to input every reflexive into the app? Or, could I just only give the reflexive OFFSET, then you would copy and paste that into another part of the program, and it would automatically calculate the new offset?
Once I get around to starting this program, It won't be out for a while due to the fact that I have school...oh well. I will try to do it piece by piece.
I would also have to include reflexives if it is a reflexive....because, of course, if it is a reflexive I have to calculate a new offset.
Let's see, how would this program look now? (Thinking aloud)....I would not even use any other applications, I would only use XCode. It would have all the tags, like vehi, weap, so on so on. Once you select one of those, you would get a list of all the things in there to edit (for instance Forward Speed), then you would press calculate.
Now, the problem is once again, reflexives. I would have to input every reflexive into the app? Or, could I just only give the reflexive OFFSET, then you would copy and paste that into another part of the program, and it would automatically calculate the new offset?
i guess if you needed to make a list of all the offsets, everyone on here could help to make it shorter.
if everyone knew they just had to list all the offsets like how i showed above. then each person do a plugin or 2.
then send it to you yummy. no need for you to do all the hard work and us just sit back and wait for it.
if everyone knew they just had to list all the offsets like how i showed above. then each person do a plugin or 2.
then send it to you yummy. no need for you to do all the hard work and us just sit back and wait for it.
Everyone on Macgamingmods.com wrote:WOOT for MAV!
-
- Green Beret
- Posts: 3470
- Joined: Sat Jun 03, 2006 11:08 am
- Contact:
BIG IDEA!!!!!!!!!
Today I felt like trying my hand at a Widget. So i download a tutorial and what do I see? XML CODING! Thats it! Thats what we make. A widget that could read the code and use it! It seems obvious now. I was going to give it a shot, then realized I have about the skill of a crouton at XML coding. Yay! So there it is. Instead of pesky (or so you say) XML>Spplescript or a Script with all the metas (take a long time...), we make one that reads already made plugins. Seems simple enough to me.
Who is online
Users browsing this forum: No registered users and 46 guests