View previous topic :: View next topic |
|
Author |
Message |
cobie2
Sergeant


Joined: 20 Mar 2006
Posts: 26

|
|
|

|
|
|
I dont really know where to put this, so moderators feel free to correct me. Anyways, so I'm having trouble with MPE. I was trying to add a cloak to a TOS Defiant, and copied the script from the USS Archangel. When I load QBR, everything loads ok. Then I load the defiant, and when i look at Felix, no button for cloak. If i go to red alert, the game crashes. All other ships seem to be fine. I am running Kob Maru Pimped with patch. Any help is appreciated.
|
_________________

|
|
Back to top |
|
 |
Imperial_Destroyer
Rear Admiral

Age: 26
Zodiac: 
Joined: 01 Nov 2004
Posts: 1604
Location: Georgia

|
|
|

|
|
|
try getting a console report before you go to red alert, it maybe something else
|
_________________ did you hear the one where a lawyer had to teach a priest about ethics?
|
|
Back to top |
|
 |
tiqhud
Pro-Captain


Joined: 28 Aug 2004
Posts: 1067
Location: this Desktop

|
|
|

|
|
|
Have you deleted the Defiants PYC file
(some times if the pyc file is Not deleted new items you have added onto the ship will not appear)
|
_________________ TiqHud - COE
I didn't do it
If we don't learn from our Mistakes, we will surely repeat them.
It is all the little details, that cause headaches.
According to the way society is going, I'll need a college Degree just to change a light bulb
|
|
Back to top |
|
 |
cobie2
Sergeant


Joined: 20 Mar 2006
Posts: 26

|
|
|

|
|
|
I'll try deleting the PYC, then ill post results
|
_________________

|
|
Back to top |
|
 |
cobie2
Sergeant


Joined: 20 Mar 2006
Posts: 26

|
|
|

|
|
|
Ok, so I tried Deleting the PYC, but now BC crashes before the ship even loads.
|
_________________

|
|
Back to top |
|
 |
Imperial_Destroyer
Rear Admiral

Age: 26
Zodiac: 
Joined: 01 Nov 2004
Posts: 1604
Location: Georgia

|
|
|

|
|
|
look through the py file useing a text editor, ie notepad, and see if everything is correct, this will teach you some things about a hp file
|
_________________ did you hear the one where a lawyer had to teach a priest about ethics?
|
|
Back to top |
|
 |
tiqhud
Pro-Captain


Joined: 28 Aug 2004
Posts: 1067
Location: this Desktop

|
|
|

|
|
|
OK, sometimes in MPE, if you have two open file (your defiant and the arch- any muptile opens)
One needs to be closed or you may get some information in the one you save
Copy the item from "global to local templates" do not add the item directly from the Global , copy it to the local templates first then add it to the ship
Example: your copying the cloak details from the srch- , (Work on it first, copy the details over to global templates, close archangel , not the MPE program, then Open the defiant, move the cloak from global in to the local template the list for the defiant and ADD it like a new system , position it midhull .
Save it, don't forget to delet the PYC
|
_________________ TiqHud - COE
I didn't do it
If we don't learn from our Mistakes, we will surely repeat them.
It is all the little details, that cause headaches.
According to the way society is going, I'll need a college Degree just to change a light bulb
|
|
Back to top |
|
 |
cobie2
Sergeant


Joined: 20 Mar 2006
Posts: 26

|
|
|

|
|
|
Ok. So i tried just starting from scratch. Now when I look at the .py, I go to the top and use Ctrl-F to find cloak. When I get there, the only mention is after the line: "# Property load function". I know from my weapon modding experience that there should be an area with the properties of the cloak as there is with the Sheilds, Phasers, Ect. I seem to have this same difficulty with adding Shuttle bays for the shuttle launching framework. This is my first time with MPE, so I dont know if this is just the ship or MPE
|
_________________

|
|
Back to top |
|
 |
tiqhud
Pro-Captain


Joined: 28 Aug 2004
Posts: 1067
Location: this Desktop

|
|
|

|
|
|
cobie2 wrote: | Ok. So i tried just starting from scratch. Now when I look at the .py, I go to the top and use Ctrl-F to find cloak. When I get there, the only mention is after the line: "# Property load function". I know from my weapon modding experience that there should be an area with the properties of the cloak as there is with the Sheilds, Phasers, Ect. I seem to have this same difficulty with adding Shuttle bays for the shuttle launching framework. This is my first time with MPE, so I dont know if this is just the ship or MPE |
if this is your first, you might want to read the tutorial, that comes with the SDK (mpe is only a part) A-lot of wqhat you just said, makes no sense.
did you run the reg that came included with the SDK\MPE?
Oh now I see your useing the notepad (or wordpad) not MPE (model property editor, it is included with the SDK, and it is different than just plain editting)
in the hardpoints file of the archangel (which ever ship you gonna take the cloak from) copy the cloak properties then close that PY , you don't need to save it. Open in notepad the defiant's hardpoint py file and
before the # Property load function
paste what you copied so it looks sort'a like this
Code: |
################################################
Cloak = App.CloakingSubsystemProperty_Create("Cloak")
Cloak.SetMaxCondition(50000.000000)
Cloak.SetCritical(0)
Cloak.SetTargetable(1)
Cloak.SetPrimary(1)
Cloak.SetPosition(-0.007111, -0.164024, 0.251049)
Cloak.SetPosition2D(76.000000, 71.000000)
Cloak.SetRepairComplexity(1.000000)
Cloak.SetDisabledPercentage(0.500000)
Cloak.SetRadius(1.600000)
Cloak.SetNormalPowerPerSecond(200.000000)
Cloak.SetCloakStrength(700.000000)
App.g_kModelPropertyManager.RegisterLocalTemplate(Cloak)
|
|
_________________ TiqHud - COE
I didn't do it
If we don't learn from our Mistakes, we will surely repeat them.
It is all the little details, that cause headaches.
According to the way society is going, I'll need a college Degree just to change a light bulb
|
|
Back to top |
|
 |
cobie2
Sergeant


Joined: 20 Mar 2006
Posts: 26

|
|
|

|
|
|
No, I am using MPE. What I meant was that after I add the cloak with MPE, I review the .PY with notepad, to make sure everything went OK. When I look at the PY, I do not see that portion that you just wrote. I did save& overwrite the PY while still in MPE.
|
_________________

|
|
Back to top |
|
 |
cobie2
Sergeant


Joined: 20 Mar 2006
Posts: 26

|
|
|

|
|
|
Also, forget anything I said about the Archangel, I am no longer copying anything from it.
|
_________________

|
|
Back to top |
|
 |
tiqhud
Pro-Captain


Joined: 28 Aug 2004
Posts: 1067
Location: this Desktop

|
|
|

|
|
|
Oh I see, another problem, when you save a new HP it takes the name of the Nif (model)
Example:
I have worked on ships where the HP was named something.py, but the model was sumthing.nif
see if that is the problem!
|
_________________ TiqHud - COE
I didn't do it
If we don't learn from our Mistakes, we will surely repeat them.
It is all the little details, that cause headaches.
According to the way society is going, I'll need a college Degree just to change a light bulb
|
|
Back to top |
|
 |
cobie2
Sergeant


Joined: 20 Mar 2006
Posts: 26

|
|
|

|
|
|
Unfortunately, the NIF and the PY have the same name
|
_________________

|
|
Back to top |
|
 |
tiqhud
Pro-Captain


Joined: 28 Aug 2004
Posts: 1067
Location: this Desktop

|
|
|

|
|
|
cobie2 wrote: | Then I load the defiant, and when i look at Felix, no button for cloak. I am running Kob Maru Pimped with patch. Any help is appreciated. |
I just saw this, I don't know anything about KM 
|
_________________ TiqHud - COE
I didn't do it
If we don't learn from our Mistakes, we will surely repeat them.
It is all the little details, that cause headaches.
According to the way society is going, I'll need a college Degree just to change a light bulb
|
|
Back to top |
|
 |
cobie2
Sergeant


Joined: 20 Mar 2006
Posts: 26

|
|
|

|
|
|
oh. thanks anyways
|
_________________

|
|
Back to top |
|
 |
Nebula
CA/KM/BCS:TC Mod Team Member Moderator


Age: 22
Zodiac: 
Joined: 04 Oct 2002
Posts: 21131
Location: Michigan

|
|
|
|
Back to top |
|
 |
cobie2
Sergeant


Joined: 20 Mar 2006
Posts: 26

|
|
|

|
|
|
Thanks for the link!
|
_________________

|
|
Back to top |
|
 |
|