PDA

View Full Version : Buttons


Andvari
05-15-2006, 5:17 PM
I got memgaf working and i followed the excact directions to make the depots make civs. but when i hit ok to start the game actually when i pick terren. sc crashes.. if i can make this work i can try makin the med. attack. which i am close to doin. just need to find out what i am doing wrong.

DarkLStrike
05-15-2006, 10:19 PM
um, memgraft doesnt work on the current version of starcraft (1.13f) wait for firegraft.

U-238
05-15-2006, 11:44 PM
Nope sorry you're outta luck. However SC shouldn't just crash like that. What version are you useing?

SuiCidAl-KiSmEt
05-16-2006, 3:21 PM
MemGraft won't work for the current version of StarCraft, 1.13f. You can repatch StarCraft using this; StarCraft patcher All version (http://www.staredit.net/index.php?download=5043). Use the same tutorial, just repatch to the version that works for MemGraft.

U-238
05-16-2006, 3:35 PM
Yes he can repatch but that still doesn't explain why his mod still crashes. (Unless, I suppose, he's useing the bugged version)

SuiCidAl-KiSmEt
05-16-2006, 3:38 PM
MemGraft mods will still load with some other versions. But it's not sapposed to. I think you need to find the right MemGraft version to fit with the right StarCraft version it was meant to be used for.

U-238
05-16-2006, 3:58 PM
It'll load with all versions just not work with all of them (ie if you use MemGraft 1.13e with Brood War 1.05 it runs fine. But you can't type in any cheat codes or messages because that causes the game to crash.)

Andvari
05-16-2006, 4:10 PM
i AM using 1.05 yes. but the text.stat.tbl file i use is the one in the arsena 3/default folder since i dsont have one. its weird. have not gotton it to work.

and another thing. when i change a wep a unit uses. and he attacks when in the game, it only shows the inpact graphics for it. not the graphic of him using it. like when the bc charges up a yamato. i cant make that graphic apopear on another unit. or when lurkers shoot spines. i cant make anyone else show the spine pixels. any thing i am forgetting to do?

SuiCidAl-KiSmEt
05-16-2006, 4:21 PM
There are MemGraft versions that are meant for only 1 particular versions of StarCraft. I'm sure that MemGraft was created after patch 1.11. 1.05 is too low. Try updated StarCraft to version to 1.12. If that does not stop the crashing, try patching StarCraft to another version. I think it also suggest what version to patch when you load the mod.

U-238
05-16-2006, 4:28 PM
It'll load with all versions just not work with all of them (ie if you use MemGraft 1.13e with Brood War 1.05 it runs fine. But you can't type in any cheat codes or messages because that causes the game to crash.)

It bears worth repeating.



[/End GA Impersonation]

Andvari
05-17-2006, 5:50 PM
ok i got my button to work. tks

but how come when i put new weps on a unit. how do i get the firing graphics. i get the impact graphics but how do i get the graphics of the firing itself. or is there no way to.

DarkLStrike
05-17-2006, 7:23 PM
2 words: Ares III

or

1 word: Iscripts

Ares III are easier though.

Andvari
05-17-2006, 7:37 PM
i had another problem here----> http://www.warboards.org/showthread.php?t=17247

SuiCidAl-KiSmEt
05-17-2006, 7:42 PM
Graphic editing involves Ice or IceCC. Which you can download here (http://www.warboards.org/showthread.php?t=16586).
Ice is easier for begginers.

Since there is no Ice tutorial I can find about what your triend to do, you can try to get familiare with it with these tutorials.
http://www.smempire.org/tutorials/

Andvari
05-18-2006, 4:23 PM
k tks. i got one more question. if i make other buttons for other units. the tut. on the sc.org site it has how to make the supply depot make civs. it says name the new mpq file that was patch_mpg to civilian.mpq. if i make a new button for like the medic to let her attack. what would i call it? anything?

nvm. i think i know what ot do.

as i am making he attack button though. the req var and action var in mamgaft, waht should the numbers in those slots be?

U-238
05-18-2006, 4:32 PM
The numbers only need to be 0 and 0. You arn't makeing any units just making the medic attack so there's no unit offsets to mess with. As for takeing your current mod and changing it to let the medic attack you'll have to redo everything that you've done in Memgraft. In other words you'll need to do everything you used to make the supply depots make civilians over again and this time add your medic attack. Sounds stupid I know but there's a reason behind it.

Andvari
05-18-2006, 4:34 PM
i think i found out that pasrt also. but my biggest problem is. how do i load my medic attacker .exe file from memgaf along with my aresnal 3 mod that gives the medic a gun?

U-238
05-18-2006, 4:36 PM
You need to use WinMPQ to replace the units.dat file in your mod MPQ with your custom units.dat file.

SuiCidAl-KiSmEt
05-18-2006, 4:37 PM
You can name your .mpq file anything you want. If your doing a big project that has more than one unit modified, you can name it... like My First Mod.

You don't need MemGraft to make the medic attack with a weapon. You need Ice (for the attack animation) and Arsenal III to give her the weapon.

Andvari
05-18-2006, 4:38 PM
what was that last post? i dont get it.

U-238
05-18-2006, 4:38 PM
Yes there's that, but I think he meant giving the medic an attack button.

Andvari
05-18-2006, 4:40 PM
yea. i want to get her an attack button. i got it set up. i changed her things to mkae her have an attack button but i dont know how to make it work incooperation with my mod to give her a wep.

SuiCidAl-KiSmEt
05-18-2006, 4:41 PM
Drag the units.dat into your mpq before you make it into an .exe.

If your dragging any files into the .mpq you have to put this in front of them. Example; when you put units.dat into the mpq, it'll ask you to add text before it. So you should have it end out as "arr\units.dat"

For *.dat files, add "arr\" before the name. So it should be "arr\units.dat"
For *.bin files, add "scripts\" before the name. So it should be "scripts\iscript.bin"
For *.mgp files, add "custom\" before the name. So it should be "custom\mgpatch.mgd"

Err. Sorry, I'm a couple secounds slow to react. Were posting a little too fast here.

Andvari
05-18-2006, 4:43 PM
so put my custom units.dat file into the patch_rt mpq? then copy it and put the memgaf mpg in it and then run it?

Err. Sorry, I'm a couple secounds slow to react. Were posting a little too fast here yea. this i love boards wher eppl are activ elike this.

U-238
05-18-2006, 4:48 PM
No you take your copied MPQ. (The one that you use origanaly for your mod) and put you custom units.dat in there. Then you need to remake your whole Memgraft mgd file and put that in there too. Then you can run your mod.

Err. Sorry, I'm a couple secounds slow to react. Were posting a little too fast here

Too fast? I've gone all the way around the boards before I came back here since my last post...

Andvari
05-18-2006, 4:49 PM
wait lemme fix that. copy the patch_rq THEN put my modded units.dat in it. lol

U-238
05-18-2006, 4:50 PM
Correct. :)

SuiCidAl-KiSmEt
05-18-2006, 4:52 PM
I think your going a little too fast. You have made a simple Arsenal III mod yet? If you have, good. You need to learn the basics of modding before you go to MemGraft.

No. Do not replace your patch_rt with your mod. Instead, make a new mpq file and name it anything.

Some MemGraft stuff from when I was a noob. You could learn from this.
http://www.warboards.org/showthread.php?t=12753
http://www.warboards.org/showthread.php?p=226868#post226868
Observe the names in the .mpq.
http://www.warboards.org/attachment.php?attachmentid=2897&d=1141133149

omg... Im too slow.

For the medic, look at the last two Arsenal 3 pictures in the secound link. They will help to Medic to automatically attack.

U-238
05-18-2006, 4:54 PM
omg... Im too slow.

Lol, I just "looped" the boards again...:P

Andvari
05-18-2006, 4:54 PM
ok i tried my idea and it worked. i stated and makde a medic and she has a wep. but still no attack button

U-238
05-18-2006, 4:57 PM
*sigh* because you still have yet to redo your Memgraft file.

Andvari
05-18-2006, 4:58 PM
i copied the patch_rq mpq and named it medic. i put my custom units.dat file in it and then my memgaf mgd. but when i load my medic.exe form memgaf all it has it the medic wep no button

lol sry i posted to late i did nto see yoru message. hold on lemme remake my memgaf again

SuiCidAl-KiSmEt
05-18-2006, 4:59 PM
No no. Just look the Marine in MemGraft and look at the Marines attack command, just copy and past it to the Medics commands.

Andvari
05-18-2006, 4:59 PM
after i remake it. where should i put my files whe i save them? same place? and jsut re-put the mgd in my mpq again?

U-238
05-18-2006, 4:59 PM
Yes that is correct...

Andvari
05-18-2006, 5:02 PM
ok i redid all my memgraft and i saved it all. hold on.

ok its all saved. i copied the patch_mq and renamed it as medic. tell my step by step whats to do next

i have not added anything into it yet.

SuiCidAl-KiSmEt
05-18-2006, 5:08 PM
Hey you know what? It's easier to use StarGraft instead of MemGraft becouse all of its special features it has. Like copy and pasting commands and such. It's out-dated though and saves files as *.pat. But MemGraft can import *.pat files and convert them to MemGraft mods.

You should just give that a try and see if you like it.

Andvari
05-18-2006, 5:09 PM
problem is though kismet. my memgaf wont load my files. lol dunno if i am trhe only person with this prob ot noy

but u=238 where are you?

U-238
05-18-2006, 5:18 PM
Ummm. You should really spell check your posts before hitting that "Submit" button.

Okay here goes.

1. Add your modded units.dat file into your "medic.mpq"
2. Go into Memgraft and do up everything like you had in your civilians mod.
3. In the "Medic" spot under the "Buttons" tab right click on the button at top and click new.
4. now change the icon to "Attack"
5. Give it the proper orders for attack and give it the proper strings. (They're both attack strings so just keep hitting "a" on your keyboards untill you can see a set of numbers, letters and symbols that spell out attack.
6. Now go under the "Misc" tab.
Change the patch_rt.mpq field to: medic.mpq
7. Save your file as an mgd
8. Now add that into your medic.mpq
and make sure that your medic.mpq is in your SC folder and run the exe that Memgraft produced.

That should work.

Andvari
05-18-2006, 5:22 PM
add my custom units.dat BEFORE i even make the memgraft mpd?

U-238
05-18-2006, 5:24 PM
You can do it before or after it doesn't matter. Just make sure it gets in there.

Andvari
05-18-2006, 5:31 PM
when i got all the files in the medic.mpq in my main starcraft folder i go an run the exe for my button from memgraft. it has an error running starcraft. anyone know why?

.. hmm weird.

SuiCidAl-KiSmEt
05-18-2006, 8:32 PM
.. hmm it is weird. It could be anything. Does the error poped-up a message box? What does it say?

Andvari
05-18-2006, 8:38 PM
i redid it and it started. but the attack button still does not show up.

SuiCidAl-KiSmEt
05-18-2006, 9:23 PM
Auhh... I might know what you didn't do. Just in case, look at these steps;

1. You gave the medic the attack command in the appropriate place.
http://up.kupatrix.org/f/4/MemGraft-AddAttack.JPG

2. You modified the number of commands the Medic has from 7 commands to 8 commands. (Just added the Attack command which is +1)
http://up.kupatrix.org/f/4/MemGraft-AddNumCommand.JPG

3. You told MemGraft to use Medic.mpq (or your .mpq name) instead of patch_rt.mpq
http://up.kupatrix.org/f/4/MemGraft-MPQ.JPG

4. You pressed the "Save Release" button and saved the MemGraft data (.mgd) file as "mgpatch" and saved your exe as "Medic" somewhere in a convenient place. I would put it into my desktop.

5. You drag mgpatch into your MPQ using WinMpq as long with the other files.
http://up.kupatrix.org/f/4/MPQ-FILES.JPG

6. You put you’re .mpq into your StarCraft directory. (Where you StarCraft folder is) It should be by default, C:\Program Files\StarCraft\

7. You run the Medic.exe and your mod should be working.

Andvari
05-19-2006, 6:34 AM
1 question. 1) step 5, its empty. i copy patch_rt and rename the copy medic

SuiCidAl-KiSmEt
05-19-2006, 6:59 AM
Ok. You don't need to copy patch_rt.mpq, you can just make a new one. On your desktop, right click on the background and click New. Do you see anything like this?
http://up.kupatrix.org/f/4/NewMpq.JPG

On the Mpq, right next to the word compact, make sure you an astrict (*) in there. Did you even drag any files in there?

Scourge_Splitter
05-19-2006, 3:11 PM
Ummm. You should really spell check your posts before hitting that "Submit" button.

Okay here goes.

1. Add your modded units.dat file into your "medic.mpq"
2. Go into Memgraft and do up everything like you had in your civilians mod.
3. In the "Medic" spot under the "Buttons" tab right click on the button at top and click new.
4. now change the icon to "Attack"
5. Give it the proper orders for attack and give it the proper strings. (They're both attack strings so just keep hitting "a" on your keyboards untill you can see a set of numbers, letters and symbols that spell out attack.
6. Now go under the "Misc" tab.
Change the patch_rt.mpq field to: medic.mpq
7. Save your file as an mgd
8. Now add that into your medic.mpq
and make sure that your medic.mpq is in your SC folder and run the exe that Memgraft produced.

That should work.

I have a question about that aswell...
the file you must place in SC folder, what is the name it should have there inorder for memgraft to find it and use the right one?

SuiCidAl-KiSmEt
05-19-2006, 3:18 PM
Look at step 3 in my post. Replace the word patch_rt.mpq to the name of your mod. Then MemGraft will find the .mpq in your StarCraft directory.

Andvari
05-19-2006, 3:58 PM
On the Mpq, right next to the word compact, make sure you an astrict (*) in there. Did you even drag any files in there?i dont under sttand what you mean here.

SuiCidAl-KiSmEt
05-19-2006, 4:17 PM
1. You can name your Mpq anything as long as you did what I showed you in Step 3.
2. In WinMpq, you can select what files you want to veiw. Example:

Right now it is displaying all the files. (*)
http://up.kupatrix.org/f/4/AllFiles.JPG

Now that I changed what I want to veiw, it only shows .dat files. (*.dat)
http://up.kupatrix.org/f/4/Onlydatfiles.JPG
Its just a small feature.

That probolly doesn't help anything. Sorry.

Andvari
05-19-2006, 4:47 PM
i have memgraft 1.13 and sc 1.13e and id id everyhting needed and everything that would not prob make a diff but i tried it anyway. hmm. RAGHRRR

SuiCidAl-KiSmEt
05-19-2006, 5:12 PM
Just download this. Look at the files in the Mpq. Open Medic Project with MemGraft, everything I did was explained here.
MemGraft Mod - Medics with Grenades (http://up.kupatrix.org/f/4/Medic.zip)

You seem to be confused about some of the program I mentioned, let me lay them out for you.

Arsenal III - Makes basic unit modification; including weapon, stats, cost, portrait, image, spirit, etc. editing.

Ice - Edits unit animations. You can't have a Marine walk unless you make pictures of the Marine walking and tell a program what frame to play them. Units that originally doesn't attack, doesn't have an attack animation. You must tell StarCraft how to display the unit, like a Medic to attack. A unit with no attack animation but have a weapon will cause the game to crash.

IceCC: - Like Ice but more advance and used by pro modders. IceCC allows you to do more than what Ice is limited on.

WinMpq - Stores files and could be used to send edited data to StarCraft.
MpqCompactor - This allows modders to make mods that only consist of .dat, .bin, .smk, .pcx, etc. files. This used by dragging folders of files and converts it into an MPQ file.
MPQDraft - This is used for auto executables, not MemGraft mods. Mostly used for Arsenal III/.dat mods.

MemGraft - Allows you to add and edit buttons. This is used to modify buttons and other properties of units.

Most of these programs are NOT for beginners. This will be confusing if you are not familiar with any of these programs. Most people get confused and frustrated by making mods and quit. You should go back and take it slow. I suggest doing a heavy mod using only Arsenal III, WinMpq, and MpqCompactor then step your way up with Ice.

I see that your having big trouble after all this.

Andvari
05-19-2006, 7:43 PM
i knwow hat all of those are. you not much help rofl. u-238 is helpin in pms but your trying hard. rly lol. tks anyway

Scourge_Splitter
05-20-2006, 7:25 AM
Auhh... I might know what you didn't do. Just in case, look at these steps;

1. You gave the medic the attack command in the appropriate place.
http://up.kupatrix.org/f/4/MemGraft-AddAttack.JPG



I am wondering

when you add the attack button by right click --> add it is being add down, is it really necerairy that it is dragged up to the third place?
like i the image?

or can it also be left all at the bottom?

Look at step 3 in my post. Replace the word patch_rt.mpq to the name of your mod. Then MemGraft will find the .mpq in your StarCraft directory.

appearently memgraft doesn't find it,because it starts up regular starcraft in stead of my mod..

SuiCidAl-KiSmEt
05-20-2006, 9:40 PM
I am wondering

when you add the attack button by right click --> add it is being add down, is it really necerairy that it is dragged up to the third place?
like i the image? or can it also be left all at the bottom?

Yes. If I remembered right, putting buttons on the bottom of the list that is not sapposed to will make the buttons screw up during the game. It should end up having buttons missing or dislocated.


appearently memgraft doesn't find it,because it starts up regular starcraft in stead of my mod..
It should... did you made sure that your mpq file was in the StarCraft directory? It's the same folder that the StarCraft.exe is located in.

Did you put mgpatch.mgd into your mpq file?

Scourge_Splitter
05-21-2006, 6:34 AM
for as far as I know i've done all those things...

and which version of memgraft supports to shift the add buttons in the right place in that drop-down list? i've tried it with mine... but it won't work...
hmm, maybe waiting for firegraft to become available :P

Andvari
05-21-2006, 7:02 AM
i cant drag buttons either. sucks.

ill jsu wait for firegraft then :) until then i am gonna learn more about ice and icecc

SuiCidAl-KiSmEt
05-21-2006, 8:46 AM
for as far as I know i've done all those things...

and which version of memgraft supports to shift the add buttons in the right place in that drop-down list? i've tried it with mine... but it won't work...
hmm, maybe waiting for firegraft to become available :P
Firegraft isn't going to release for a long while. If you play around with it, you could get the buttons in the right place, it can be done but its a little tricky in MemGraft. Again, try using StarGraft, it has everything that MemGraft does but has more features. StarGraft saves files as .pat which MemGraft can load into a MemGraft mod.

U-238
05-21-2006, 11:54 AM
Firegraft isn't going to release for a long while.

It'll be out sooner than you think I'm guessin;)

Well I suppose I'll have to cave and uninstall/reinstall my SC and get this workin so that we can settle this once and for all.

Btw Kismet. I still liked you old siggy better The guy in your avy reminds me of "Prince Charming" from Shrek 2.

Scourge_Splitter
05-22-2006, 5:59 AM
Firegraft isn't going to release for a long while. If you play around with it, you could get the buttons in the right place, it can be done but its a little tricky in MemGraft. Again, try using StarGraft, it has everything that MemGraft does but has more features. StarGraft saves files as .pat which MemGraft can load into a MemGraft mod.

yeah i'm using this switcheroo thing aswell... first making all requirements in stargraft so that it's easier to find my way around in memgraft (since i cant rename crap)

btw... why does memgraft crash when i want to load a mgp file?
i recently found out about that

SuiCidAl-KiSmEt
05-22-2006, 6:38 AM
It does that to me too. I heard that MemGraft had a few bugs. It might be that MemGraft was reprogramed so many times to work with the later versions of StarCraft. I remember that working with an earlier version of MemGraft.

U-238
05-22-2006, 12:06 PM
That was a bug that DW hadn't fixed before he quit working on it. And without the scource code DoA couldn't fix it either. There are a few more bugs with MG too. Like when useing any MemGraft mod, unless you have the "researched" flag unchecked in DE you will not be able to make Archons. I'll reload my SC and try doing it myself either today or tomorrow depending on how tied up I get.