lfnetwork.com mark read register faq members calendar

Thread: GITEdit: What do you guys want?
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 10-01-2014, 07:06 PM   #1
Fair Strides 2
Witty Programmer
 
Fair Strides 2's Avatar
 
Join Date: Jan 2012
Location: Oregon, United States
Posts: 613
Current Game: Master of Orion 2
Helpful! 
GITEdit: What do you guys want?

Well, as the title says, this is about GITEdit.

GITEdit is a program I'm making to give a visual interface to edit the file, as opposed to the tree view of K-GFF that I despise(not the program, just the layout)...

Currently, the program can:
  • Load .git files from the .rims, .mods, and override
  • Parse TLK references
  • Count the number of each type of file
  • Provide an interface to each file type
  • Allows you to input degrees for the bearing and orientation
  • Compiles each file type into a list
  • Can delete items from the lists
But I'm at a loss as to what functionality to add to it. I will add the ability to copy and paste item types as soon as I look up the XML parsing. Adding new items of a specific type will be implemented shortly.

Currently, as the program stands, here's what I've got for you:


So, if anyone has any requests, please feel free to share. ]


All of my mods are available on Deadlystream.

Always remember modders: "Quality= Effort*Time"

KSE 3.3.4 is LIVE!!! Check it out here.

Check out WalkSwitch, the Walkmesh-changing tool!
Fair Strides 2 is offline   you may: quote & reply,
Old 10-01-2014, 07:21 PM   #2
Darth InSidious
A handful of dust.
 
Darth InSidious's Avatar
 
Join Date: Feb 2005
Location: The Eleven-Day Empire
Posts: 5,778
Current Game: KotOR II
I can't think of any requests right now. It look amazing.



Works-In-Progress
~
Mods Released
~
Quid existis in desertum videre?
Darth InSidious is offline   you may: quote & reply,
Old 10-10-2014, 02:28 AM   #3
logan23
Veteran
 
logan23's Avatar
 
Join Date: Aug 2007
Location: East Coast
Posts: 916
Current Game: Revenge of Revan
Veteran Modder Forum Veteran Contest winner - Modding Hot Topic Starter 
wow!!!
Looking great!

logan23 is offline   you may: quote & reply,
Old 10-10-2014, 04:41 AM   #4
Fair Strides 2
Witty Programmer
 
Fair Strides 2's Avatar
 
Join Date: Jan 2012
Location: Oregon, United States
Posts: 613
Current Game: Master of Orion 2
Helpful! 
Quote:
Originally Posted by logan23 View Post
wow!!!
Looking great!
Thanks!:P

As an update, the program now saves everything properly, and I've added an interface for the Area Properties(Music settings).

In addition, copy-and-paste works between programs, using XML and the Windows Clipboard. And you can add new items to customize, or past an item as a new instance.

Currently adding support for custom paths(paths for the program to check for .rims/.mods/ or /gits). It supports it now, by the .ini file, but I need to work on implementing it from inside the program...



All of my mods are available on Deadlystream.

Always remember modders: "Quality= Effort*Time"

KSE 3.3.4 is LIVE!!! Check it out here.

Check out WalkSwitch, the Walkmesh-changing tool!
Fair Strides 2 is offline   you may: quote & reply,
Old 10-10-2014, 05:38 PM   #5
Canderis
Mercenary
 
Canderis's Avatar
 
Join Date: Jun 2008
Location: Unknown
Posts: 2,513
Current Game: Skyrim
Veteran Modder Helpful! 
Spectacular!
Do you plan to release the source code when you release it?




Canderis is offline   you may: quote & reply,
Old 10-10-2014, 06:33 PM   #6
Fair Strides 2
Witty Programmer
 
Fair Strides 2's Avatar
 
Join Date: Jan 2012
Location: Oregon, United States
Posts: 613
Current Game: Master of Orion 2
Helpful! 
Quote:
Originally Posted by Canderis View Post
Spectacular!
Do you plan to release the source code when you release it?
Yes, though I warn you, it's Perl. I say "warn" because some programmers don't really see Perl as a useful language...


All of my mods are available on Deadlystream.

Always remember modders: "Quality= Effort*Time"

KSE 3.3.4 is LIVE!!! Check it out here.

Check out WalkSwitch, the Walkmesh-changing tool!
Fair Strides 2 is offline   you may: quote & reply,
Old 10-14-2014, 11:14 AM   #7
DarthParametric
I bent my Wookiee
 
DarthParametric's Avatar
 
Join Date: Apr 2004
Location: Oz
Posts: 2,713
Forum Veteran Helpful! 
There's always Jade Empire support I suppose. At the very least I'd be curious about how similar/different the file formats are from K1/TSL.
DarthParametric is offline   you may: quote & reply,
Old 10-16-2014, 01:10 AM   #8
logan23
Veteran
 
logan23's Avatar
 
Join Date: Aug 2007
Location: East Coast
Posts: 916
Current Game: Revenge of Revan
Veteran Modder Forum Veteran Contest winner - Modding Hot Topic Starter 
Do you feel using your new program has made camera placement and placement of npc and plcs easier when determining orientation?

logan23 is offline   you may: quote & reply,
Old 10-16-2014, 01:17 AM   #9
Fair Strides 2
Witty Programmer
 
Fair Strides 2's Avatar
 
Join Date: Jan 2012
Location: Oregon, United States
Posts: 613
Current Game: Master of Orion 2
Helpful! 
Quote:
Originally Posted by logan23 View Post
Do you feel using your new program has made camera placement and placement of npc and plcs easier when determining orientation?
Yes, as I can just enter the degree facing and let the program do the math...

Though, I'm assuming that cameras are oriented from North and everything else from East...


All of my mods are available on Deadlystream.

Always remember modders: "Quality= Effort*Time"

KSE 3.3.4 is LIVE!!! Check it out here.

Check out WalkSwitch, the Walkmesh-changing tool!
Fair Strides 2 is offline   you may: quote & reply,
Old 10-16-2014, 01:22 AM   #10
logan23
Veteran
 
logan23's Avatar
 
Join Date: Aug 2007
Location: East Coast
Posts: 916
Current Game: Revenge of Revan
Veteran Modder Forum Veteran Contest winner - Modding Hot Topic Starter 
Am i seeing this right? You can draw your Trigger form/shape? with your program?

please say yes =)

logan23 is offline   you may: quote & reply,
Old 10-16-2014, 01:45 AM   #11
Fair Strides 2
Witty Programmer
 
Fair Strides 2's Avatar
 
Join Date: Jan 2012
Location: Oregon, United States
Posts: 613
Current Game: Master of Orion 2
Helpful! 
Quote:
Originally Posted by logan23 View Post
Am i seeing this right? You can draw your Trigger form/shape? with your program?

please say yes =)
Not quite. You can add the points and give the coordinates, but you can't actually draw it.

But yes, you can see the shape.:P


All of my mods are available on Deadlystream.

Always remember modders: "Quality= Effort*Time"

KSE 3.3.4 is LIVE!!! Check it out here.

Check out WalkSwitch, the Walkmesh-changing tool!
Fair Strides 2 is offline   you may: quote & reply,
Old 10-16-2014, 02:11 AM   #12
logan23
Veteran
 
logan23's Avatar
 
Join Date: Aug 2007
Location: East Coast
Posts: 916
Current Game: Revenge of Revan
Veteran Modder Forum Veteran Contest winner - Modding Hot Topic Starter 
Quote:
Originally Posted by Fair Strides 2 View Post
Not quite. You can add the points and give the coordinates, but you can't actually draw it.

But yes, you can see the shape.:P
That sounds good to me =)

Are you close to it being stable/ for use?

logan23 is offline   you may: quote & reply,
Old 10-16-2014, 02:25 AM   #13
Fair Strides 2
Witty Programmer
 
Fair Strides 2's Avatar
 
Join Date: Jan 2012
Location: Oregon, United States
Posts: 613
Current Game: Master of Orion 2
Helpful! 
Quote:
Originally Posted by logan23 View Post
That sounds good to me =)

Are you close to it being stable/ for use?
It's fully functional and stable*, just have to write the read-me.

*: For some reason, due to the math functions, the UTC Orientation can't go over 180. Every time I try, it set it back to 360 - the number.

Example:
I set the Orientation to 181. Click Ok to save changes. Now click the UTC again, and it'll reads 179...


All of my mods are available on Deadlystream.

Always remember modders: "Quality= Effort*Time"

KSE 3.3.4 is LIVE!!! Check it out here.

Check out WalkSwitch, the Walkmesh-changing tool!
Fair Strides 2 is offline   you may: quote & reply,
Old 10-16-2014, 02:42 AM   #14
DarthParametric
I bent my Wookiee
 
DarthParametric's Avatar
 
Join Date: Apr 2004
Location: Oz
Posts: 2,713
Forum Veteran Helpful! 
Are you doing a quaternion to euler conversion under the hood? That sort of thing is over my head, but I hear it can lead to those sorts of problems.
DarthParametric is offline   you may: quote & reply,
Old 10-16-2014, 02:52 AM   #15
Fair Strides 2
Witty Programmer
 
Fair Strides 2's Avatar
 
Join Date: Jan 2012
Location: Oregon, United States
Posts: 613
Current Game: Master of Orion 2
Helpful! 
Quote:
Originally Posted by DarthParametric View Post
Are you doing a quaternion to euler conversion under the hood? That sort of thing is over my head, but I hear it can lead to those sorts of problems.
Yes, but it only has issues with the UTCs...

I'll try to fix it tomorrow...


All of my mods are available on Deadlystream.

Always remember modders: "Quality= Effort*Time"

KSE 3.3.4 is LIVE!!! Check it out here.

Check out WalkSwitch, the Walkmesh-changing tool!
Fair Strides 2 is offline   you may: quote & reply,
Old 10-16-2014, 03:06 AM   #16
Fair Strides 2
Witty Programmer
 
Fair Strides 2's Avatar
 
Join Date: Jan 2012
Location: Oregon, United States
Posts: 613
Current Game: Master of Orion 2
Helpful! 
Quote:
Originally Posted by Fair Strides 2 View Post
Yes, but it only has issues with the UTCs...

I'll try to fix it tomorrow...
Sorry, it's actually a Radian to Degree conversion...


All of my mods are available on Deadlystream.

Always remember modders: "Quality= Effort*Time"

KSE 3.3.4 is LIVE!!! Check it out here.

Check out WalkSwitch, the Walkmesh-changing tool!
Fair Strides 2 is offline   you may: quote & reply,
Old 10-16-2014, 06:02 AM   #17
DarthParametric
I bent my Wookiee
 
DarthParametric's Avatar
 
Join Date: Apr 2004
Location: Oz
Posts: 2,713
Forum Veteran Helpful! 
How are you calculating the conversion? It seems like Perl already has an inbuilt function for it?
DarthParametric is offline   you may: quote & reply,
Old 10-21-2014, 04:01 AM   #18
Fair Strides 2
Witty Programmer
 
Fair Strides 2's Avatar
 
Join Date: Jan 2012
Location: Oregon, United States
Posts: 613
Current Game: Master of Orion 2
Helpful! 
Quote:
Originally Posted by DarthParametric View Post
How are you calculating the conversion? It seems like Perl already has an inbuilt function for it?
Sorry for the late reply.

The orientation for creatures involves rotations on the X and Y axes, which the engine handles in the form of radian rotations around a circle.

When the game handles it, the X Orientation is calculated with the cosine of the angle's measure (most likely in degrees). The Y Orientation is handled with the sine of that same measure.

That is all fine and dandy, except for one issue: Perl deals in radians, and I'm trying to let a user handle the orientation in degrees.

You see, when one gets the X and Y Orientation via scripting within the game, they pass the facing of the object in question in degrees and use the sin(sine) and cos(cosine) functions on the facing. This means that the game handles and treats sin and cos in degrees.

Example:
Code:
void main()
{
    // Get main PC
    object oPC = GetFirstPC();

    // Set PC's facing to 180 degrees(calculated from the East in-game, which corresponds to the right on the area's map)
    AssignCommand(oPC, SetFacing(180));

    // Now get the facing and store it
    int iFacing = GetFacing(oPC);

    // Here's where Perl and Aurora Engine diverge...
    float fXOrientation = cos(iFacing);
    float fYOrientation = sin(iFacing);
}
Notice that I just sent the degrees to the cos and sin functions...

Unfortunately, Perl uses radians for the cos and sin functions, which means that it expects to get passed radians as an argument and will return radians as an answer.

And with 1 Radian = Pi (3.1415926535897932384626433832795 and then some...), no matter what conversion or transformation I apply, I can only get answers that are at or below 180 degrees...

.................................................. .................................................. ....

I could modify the .utc and .utw(all that was said above applies to waypoints as well) section to allow for input of the X and Y Orientation, but that would also disable/screw up the circle above it that gives a visual indication of the rotation...

So, what do you guys want me to do here? If anyone can do it, I'd like to talk to this guy, since he was able to do half of what I want/need to do...


All of my mods are available on Deadlystream.

Always remember modders: "Quality= Effort*Time"

KSE 3.3.4 is LIVE!!! Check it out here.

Check out WalkSwitch, the Walkmesh-changing tool!
Fair Strides 2 is offline   you may: quote & reply,
Old 11-01-2014, 07:34 PM   #19
Fair Strides 2
Witty Programmer
 
Fair Strides 2's Avatar
 
Join Date: Jan 2012
Location: Oregon, United States
Posts: 613
Current Game: Master of Orion 2
Helpful! 
Hey guys!

I released a 1.0 version of GIT Edit at DeadlyStream!

It's not quite complete, but it is fully functional.

Link!


All of my mods are available on Deadlystream.

Always remember modders: "Quality= Effort*Time"

KSE 3.3.4 is LIVE!!! Check it out here.

Check out WalkSwitch, the Walkmesh-changing tool!
Fair Strides 2 is offline   you may: quote & reply,
Old 11-02-2014, 02:29 AM   #20
DarthParametric
I bent my Wookiee
 
DarthParametric's Avatar
 
Join Date: Apr 2004
Location: Oz
Posts: 2,713
Forum Veteran Helpful! 
Nice work.

Seeing as you like Perl so much, now fix MDLOps.
DarthParametric is offline   you may: quote & reply,
Old 11-06-2014, 04:17 PM   #21
Lord2
Rookie
 
Lord2's Avatar
 
Join Date: Nov 2006
Posts: 114
Interesting tool, but I am unable to run it.

I get a lengthy error message:
"Error: Can't locate perl516.dll
Make sure the ActivePerl bin directory is in your PATH
PATH=C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;
C\Windows\System32;
C:\Windows;
C:\Windows\System32\Wbem;
C:\Program Files\digieffects\bin;
C:\Windows\System32\WindowsPowerShell\v1.0\;
(and so on and so forth... a bunch of other locations.)*

* There are times like these when I wish Microsoft had implemented a simple copy text from error messages function...


Meh...
Lord2 is offline   you may: quote & reply,
Old 11-06-2014, 05:09 PM   #22
Fair Strides 2
Witty Programmer
 
Fair Strides 2's Avatar
 
Join Date: Jan 2012
Location: Oregon, United States
Posts: 613
Current Game: Master of Orion 2
Helpful! 
Quote:
Originally Posted by Lord2 View Post
Interesting tool, but I am unable to run it.

I get a lengthy error message:
"Error: Can't locate perl516.dll
Make sure the ActivePerl bin directory is in your PATH
PATH=C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;
C\Windows\System32;
C:\Windows;
C:\Windows\System32\Wbem;
C:\Program Files\digieffects\bin;
C:\Windows\System32\WindowsPowerShell\v1.0\;
(and so on and so forth... a bunch of other locations.)*

* There are times like these when I wish Microsoft had implemented a simple copy text from error messages function...
Okay, did you read the warning at the top of the download's description area?

You need the three DLL files from the warning...


All of my mods are available on Deadlystream.

Always remember modders: "Quality= Effort*Time"

KSE 3.3.4 is LIVE!!! Check it out here.

Check out WalkSwitch, the Walkmesh-changing tool!
Fair Strides 2 is offline   you may: quote & reply,
Old 11-10-2014, 02:29 PM   #23
Malxados
Rookie
 
Malxados's Avatar
 
Join Date: Feb 2009
Location: Mandalore
Posts: 224
Current Game: Warframe, SC Blacklist, KOTOR1
Quote:
Originally Posted by Fair Strides 2 View Post

Notice that I just sent the degrees to the cos and sin functions...

Unfortunately, Perl uses radians for the cos and sin functions, which means that it expects to get passed radians as an argument and will return radians as an answer.

And with 1 Radian = Pi (3.1415926535897932384626433832795 and then some...), no matter what conversion or transformation I apply, I can only get answers that are at or below 180 degrees...
I'll admit I don't fully understand the situation, but I'm curious if you've considered using negative angles angles, as -1/2 pi = 3/2 pi (or -90 degrees = 270 degrees).


"But God demonstrates His own love toward us, in that while we were still sinners, Christ died for us." (Romans 5:8, NKJV)
"For the wages of sin is death, but the gift of God is eternal life in Christ Jesus our Lord." (Romans 6:23, NKJV)

Ask me about my sig!

Bao-Dur: I'll take the one who was stupid enough to threaten us instead of shoot us when he had the chance.

k_inc_force bothers me.
Malxados is offline   you may: quote & reply,
Old 11-10-2014, 03:21 PM   #24
Fair Strides 2
Witty Programmer
 
Fair Strides 2's Avatar
 
Join Date: Jan 2012
Location: Oregon, United States
Posts: 613
Current Game: Master of Orion 2
Helpful! 
Quote:
Originally Posted by Malxados View Post
I'll admit I don't fully understand the situation, but I'm curious if you've considered using negative angles angles, as -1/2 pi = 3/2 pi (or -90 degrees = 270 degrees).
No worries, man. I managed to get some help from someone at Deadlystream.

http://www.lucasforums.com/showpost....7&postcount=20


All of my mods are available on Deadlystream.

Always remember modders: "Quality= Effort*Time"

KSE 3.3.4 is LIVE!!! Check it out here.

Check out WalkSwitch, the Walkmesh-changing tool!
Fair Strides 2 is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > Knights of the Old Republic > Editing / Modding > Holowan Laboratories > GITEdit: What do you guys want?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:24 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.