• 0

    posted a message on [Data, Actor] [Events + Message] Texture Select By ID

    @Kueken531: Go

    Thank you! This was exactly what I needed! The relief I feel is immeasurable, I've been stuck for hours.

    Posted in: Tutorials
  • 0

    posted a message on [Data, Actor] [Events + Message] Texture Select By ID

    @Bijan641: Go

    So now I know it definitely has something to do with slots and the texture declarations. When I decided to remove my good texture and use the main.diffuse slot for my modified ThorCE_Modifications_Diffuse I got the desired result.

    So I can apply multiple textures on the same slot but once I need to do 2 textures on two slots I run into big problems. I know this is weird because the tutorial clearly uses 2 slots and two different declaration indexes.

    Posted in: Tutorials
  • 0

    posted a message on [Data, Actor] [Events + Message] Texture Select By ID

    Hello! Back again. I am having trouble switching multiple textures. Everything was fine when I tried to switch out ThorCE_Diffuse but when i got to ThorCE_Cannons_Diffuse and ThorCE_Modifications_Diffuse I ran into errors, and none of the txtures work, not even the first one.

    CActorUnit[Thor3] No mapping for slot generic01.diffuse.

    I thought the slots were the issue so I tried a few with no luck. I've attached a screen of the texture declarations.

    I should also note that I had success when trying to mess with the Thor_CE_Specular texture at the same time, but that was on the same slot as my successful texture and therefore on the same index for the texture declaration. I don't know if that's important or not I'm just trying to figure out what is different.

    Edit: I've added an image of the model's progress so far with my texture. I'm starting by making the whole thing white and then I'll be adding in detail with red, blue, and yellow colors.

    Edit 2: I've noticed in the previewer that ThorCE_Modifications_Diffuse.dds is used for both the Diffuse and Specular textures. When I tried to replace the specular instead of the diffuse I got no error, but I also got no results (I colored the skin bright pink just to be sure).

    I don't expect anyone to actually look at my map but I uploaded it for the hell of it as well.

    Posted in: Tutorials
  • 0

    posted a message on Issues with duplicating weapons/attacks
    Quote from DrSuperEvil: Go

    @Bijan641: Go

    Yes it is, but someimes altering/fixing the dupe can take more time than creating a functional ability from scratch/copying and altering individual components. Which is why I said to understand how the individual compenents of the ability link for form the whole if most of the battle. For Action type actors I usually copy the marauder one as a base since that has no issues with copying. The colossus weapon on the other hand has a whole tutorial on how to get it working again.

    That's a neat little tip. This is only for action actors? So if you were missing one you'd copy from marauder and link to the new unit?

    Posted in: Data
  • 0

    posted a message on [Data, Actor] [Events + Message] Texture Select By ID
    Quote from Kueken531: Go

    @Bijan641: Go

    Did you restart your editor before? After creating a new texture object, it produces these kinds of errors, because the textures are not correctly loaded to the editor. If you restart the editor afterwards, the error should vanish.

    I feel like I did, but at this point who knows? I remember reading things about needed to restart your editor before so I'm probably just assuming I tried something I didn't in hindsight, just to psychologically "save face" after spending a few hours on it in frustration.

    Posted in: Tutorials
  • 0

    posted a message on [Data, Actor] [Events + Message] Texture Select By ID

    Actually, I guess it got fixed. Now I don't get the error anymore, and not only that, but the texture shows up in the editor. Thank you guys again!

    Posted in: Tutorials
  • 0

    posted a message on Issues with duplicating weapons/attacks

    Edit: Old message deleted!

    Thank you so much! After realizing I hadn't actually copied the persistent damage effect I was able to copy it and get everything working.

    Thanks for teaching me so much, I owe you guys.

    Posted in: Data
  • 0

    posted a message on Issues with duplicating weapons/attacks
    Quote from Khalanil1: Go

    @Bijan641: Go

    Is your copied attack using copied versions of the persistent and splash damage target effects?

    Yes it is. Should it not be? I switched it back to the normal one and now its back listed under Apollo Sol, but doesn't that give me the same error as before? Now there are 2 actors using the same effect, the splash damage target effect is the one that controls the amount of damage.

    Edit: Confirmed. Now that they both point to the same effect they are causing that error.

    Edit2: I did not actually copy persistent.

    Quote from DrSuperEvil: Go

    Also check the Launch Missile effects that they are using copied ammo units. Blind copying is not helpful unless you at least have a clue as to what each element does.

    I didn't copy that actually, but I don't think that would affect the normal hand cannon which doesn't have a missile. On that note, is it possible to duplicate the actor and then attach it to the unit after wards? I've been starting from scratch each time I find out I need to copy something new.

    Posted in: Data
  • 0

    posted a message on Issues with duplicating weapons/attacks

    @Khalanil1: Go

    Here they are:

    Posted in: Data
  • 0

    posted a message on Issues with duplicating weapons/attacks
    Quote from DrSuperEvil: Go

    It seems there is a problem with one of your Action actors, do not worry it is a common problem with duping. Check the Events+ fields you will find the last event has been multiplied 1-5 times, just delete the extras. This results in it trying to create multiple of the same action each time the effect occurs. Other problems to look out for inlcude the 2 of the dupe being put in the wrong location in the event target fields, the art - missile and art - beam fields.

    You can right click the shared object and get it to explain the link. Probably they share a common actor or model.

    So I started over a few times and now i'm getting a slightly different issue. I have created the duplicate Thor (Apollo Sol) and its working. I set the Apollo Sol to attack another thor and it happens, sound effects and all.

    The only problem is that in the Unit tab in the data editor, I can see that the ThorAttack Copy is not listed for the attack, only the original ThorAttack. I checked under the actors and it is indeed created, but it appears not to be linked to my unit. Conversely, it seems both ThorAA Attack And Thor AA Missile are not only copied, but both linked to the unit. Currently I am only worried about the normal attack, if I figure that out I can probably figure out the rest.

    So in summary, no more error messages, but somehow I'm in a worse situation? I just can't seem to see how the ThorAttack is linked to the thor unit or actor in any way at all.

    Thanks for all the help already, I feel like I'm on the verge of understanding this.

    Edit: When I use explain link on the ThorAttack I see that it is linked to Effect - Thor Hand Gun Splash Damage Target which is linked to Thor Arm Cannons Persistent and that is linked to Thor - Thor's Hammer Copy.

    From what I can tell, the Weapon is sopied properly, the effects are all proper, but the final link, the ThorAttack actor is used instead of the ThorAttack copy.

    Posted in: Data
  • 0

    posted a message on Issues with duplicating weapons/attacks

    I am having issues duplicating a thor. I have copied the attack actors but I get this error:

    CActorAction[ThorAttack2] Can only create one CActorAction per effect [ThorsHammerDamage].

    I have noticed that when duplicating the ThorAttack actor, the original is still linked on the unit.

    Thanks for any help.

    Posted in: Data
  • 0

    posted a message on [Data, Actor] [Events + Message] Texture Select By ID

    Hey, so I've been using this method with some success, but I can't seem to stop getting certain errors.

    I have duplicated a thor and am using the thorce.m3 model. Now I'm trying to replace the thorce_modifications_diffuse.dds with my own texture using the swapping method here.

    It seems to work, but I can't stop getting errors from the editor anytime I select the unit.

    [2/21/2012 3:09:04 PM] Warning: Unable to load image from 'Assets\Textures\UnknownTexture.dds' (Core: a required object could not be found) [2/21/2012 3:18:20 PM] Warning: Unable to load image from 'Assets\Textures\BTN-upgrade-terran-combatshield.dds' (Core: a required object could not be found) [2/21/2012 3:24:43 PM] Warning: [ 0 2] CActorUnit[Thor3] ThorCE Assets\Units\Terran\ThorCE\ThorCE.m3; Could not find texture with id UnknownTexture and expression <None>.

    The error about the combatshield texture I get quite often actually, even before I changed anything in the map.

    Posted in: Tutorials
  • 0

    posted a message on Is it possible to copy all data from another map?

    I think I actually figured it out. in enUS.SC2Data there is a gamestrings.txt that has something that looks like it sets the unit name for the new unit. That might be the cause of the error, I didn't copy it before. Object strings as well.

    Edit: OK so I added some of the files from enUS like gameobjects and some of my issues went away. The units now had their names back instead of just their id's. Unfortunately, I always get this error anytime I click anything at all:

    Warning: Unable to lad 'GameData' from 'C:/Path/test.SC2Map

    Posted in: Data
  • 0

    posted a message on how to convert a regular map to 'mod' status [solved]

    Is there a limit to the amount of dependencies you load? This method works for me because I can't figure out how to actually merge the data in the MPQ editor without getting errors, but I'm worried because I potentially will need to load a ton of dependencies for each map. If I could figure out how to import data normally that would be ideal though.

    Posted in: Galaxy Scripting
  • 0

    posted a message on Is it possible to copy all data from another map?
    Quote from Talon0815: Go

    Save both maps as .SC2Component and you get a folder for each map that you can edit. copy the "Base.SC2Data" folder (contains all data changes) of your old maps folder into the new maps folder. If there is no Base.SC2Data folder in your new map before you put the folder from the old map in, open the file "Componentslist.SC2Components" (or something like that...) with notepad and put in this line: <DataComponent Type="gada">GameData</DataComponent> This will make the map recognize that there are data changes inside your map. Save everything and open the folder of the new map again in editor -> new map with old data.

    If you want to add certain data from one map to another that also already has some custom data, don't overwrite the Base.SC2Data folder, but open the old one and you will find xml files for every data tab here. open those you want to copy data from, copy the entries with the names of the things you need and paste it at the end of the same xml file of the other map.

    Thanks so much! This got it working but I still get error messages anytime I load up imported data. The unit is there but the name didn't save, it only goes by the idea. Its a little annoying to have an error pop up every time you use that unit but its a start.

    Posted in: Data
  • To post a comment, please or register a new account.