Staredit Network

Staredit Network -> Modding Assistance -> Adding New Buildings
Report, edit, etc...Posted by Darius.DeValle on 2005-06-11 at 13:25:50
Okay, I want to give the Terran's 3 new buildings, the Protoss maybe four, and the Zerg 2. What do I need to change? I know that I need to change the buttons/unit requirements in Memgraft, the stats in Arsenal III, but is there anything I need to chznge in the iscript ot graphics?

Ex of buildings: Power Generator, Ion Cannon, Xel'Naga Temple, Cerebate, etc.
Report, edit, etc...Posted by Mrnice007 on 2005-06-11 at 13:53:20
I don't think it is a good idea you should be more than upper intermidiate cause it is easy to crush sc, and adding new bulding is more than imposoble , beacouse you will need to make graphics all animations, but you could try to use bulding that already exist l!!!! try before you will crash you sc

Sorry now i had read that you like to add power generator or else happy.gif happy.gif ,it could be more dificult u must find a action to build and modify order ai requrement
...... and ......and....
Report, edit, etc...Posted by scwizard on 2005-06-11 at 16:03:09
Try the memgraft stuff and the arsenal 3 stuff, then tell me what's missing.
Report, edit, etc...Posted by BSTRhino on 2005-06-11 at 20:24:32
Hmmm... as long as you give them a construction animation in Arsenal III, and do your thing with MemGraft, I don't see why you would need iscript. It actually sounds quite easy to do now that I think of it.
Report, edit, etc...Posted by Darius.DeValle on 2005-06-11 at 21:41:37
QUOTE(m.r.bob @ Jun 11 2005, 03:03 PM)
Try the memgraft stuff and the arsenal 3 stuff, then tell me what's missing.
[right][snapback]232778[/snapback][/right]


Alright, I will. Give me a couple of days to finish the majority of the mod as I work, though.

ADDITION:
There doesn't seem to be a construct for it...when ever I try to build it, regardless of the construct, it crashes mid-way. There just doesn't seem to be a simple solution for it. And what worries me most is the Protoss one because even when you do build them there is that display part where it shows it near completion.

This...is going to take some work.
Report, edit, etc...Posted by DT_Battlekruser on 2005-06-11 at 22:56:07
Either change it's construct animation to that of a constructable building using Arsenal III or use IceCC to give it a construction Iscript.
Report, edit, etc...Posted by Darius.DeValle on 2005-06-11 at 23:32:30
QUOTE(DT_Battlekruser @ Jun 11 2005, 09:56 PM)
Either change it's construct animation to that of a constructable building using Arsenal III or use IceCC to give it a construction Iscript.
[right][snapback]233020[/snapback][/right]


The first thing I tried was to change its contruct in Arsenal III. That crashed everything except with Zerg. No permenant damage (I have yet to find a mod that makes anything permenant) but it has to be the iscript.

So, I'm assuming I simply add in a previously used contruct from another building and add the construct in (Terran) and just that last part for Protoss?
Report, edit, etc...Posted by BSTRhino on 2005-06-12 at 02:29:24
Ah yes, that's right, I remember now. One of the frames of each Terran building is an image of it partially constructed, and it's referenced in the iscript. Yes, you do need that. I don't remember Protoss building construction animations, but you've got the idea. Just look at other buildings to see what they do.
Report, edit, etc...Posted by DT_Battlekruser on 2005-06-12 at 07:07:46
Wouldn't the Protoss construct animations be the frames of the glowing white spehere? And the Zerg construct sprites be the frames of that ugly pool thing?
Report, edit, etc...Posted by Darius.DeValle on 2005-06-17 at 11:54:31
Zerg I have working...they either use contruct 103 or 104, and as far as the building for them that I'm using, they already come with contructs.

Terran, as previously mentioned, has to have specific contructs to work. The Ion Cannon and the Power Generator do not have said contructs, so that's what's holding me up.

The Protoss, though...they don't have ANY contructs, they just have a warp building, the flash of near-completion, and the image of the building slowly un-glowing (pardon the lack of better word). This one, I think, might be the hardest because I'm not sure quite how it works. Terran and Zerg I've known for a while, but this....hm....

Anyhow, If I can figure out the whole iscript thing with IceCC, which sholdn't be too hard, but I haven't really moded iscript much, then maybe it will work...

ADDITION:
...What I said about it not being too hard? I lied.

What's the name of the construct line in Iscript? I may be missing it cause it's that obvious or it's that hidden...I dunno.

I know that there are some serious iscripters out there; can any of you help me figure this thing out?

ADDITION:
....Okay, I'm still dumbfounded with the Terran iscript, but can anyone help me out with the Protoss Unknown21 animation, the warpflash stuff? I think that's what might be preventing me from making those special buildings like the Xel'Naga Temple and the Warp Gate....
Report, edit, etc...Posted by scwizard on 2005-06-17 at 12:19:08
Did you add the line to your images.dat file? like i asked you to?
Report, edit, etc...Posted by Darius.DeValle on 2005-06-17 at 12:23:32
QUOTE(m.r.bob(MM) @ Jun 17 2005, 11:19 AM)
Did you add the line to your images.dat file? like i asked you to?
[right][snapback]237290[/snapback][/right]


Yeah, and when I did, all it did was move the names down one bar. I think that the images file can only support just what it has....I think I would have to use another file...but then if I do that, it might cause more issues than it's worth...x_x
Report, edit, etc...Posted by scwizard on 2005-06-17 at 12:34:04
Move what names? What bar?
You can't create new entrys? (opens up arsenal III realizes it's true).
Use ice world doodads or something.
How did you move them down?

Did you add the "imgol08 numberofaddedentry 0 0" to the unknown 21 section?
Did you fill in all the other sections a building requires?
Report, edit, etc...Posted by Darius.DeValle on 2005-06-17 at 12:45:16
QUOTE(m.r.bob(MM) @ Jun 17 2005, 11:34 AM)
Move what names? What bar?
You can't create new entrys? (opens up arsenal III realizes it's true).
Use ice world doodads or something.
How did you move them down?

Did you add the "imgol08 numberofaddedentry 0 0" to the unknown 21 section?
Did you fill in all the other sections a building requires?
[right][snapback]237296[/snapback][/right]


One question at a time x_x

Okay, when I tried to add the entry, it wouldn't show up. So, I inserted one. It DID show up, but only as the the Xel'Naga temple shadow, caue I inserted it right above that. It oushed everything else down...

No, I hadn't gotten to the iscript stuff yet...

And what other building sections? You mean the unit.dat stuff? I did that already, but if you mean the iscript stuff, like I said, hadn't gotten that far yet.
Report, edit, etc...Posted by scwizard on 2005-06-17 at 12:54:08
No, i mean unknown19 and the other iscpirt sections building have to have.

The iscripting is the core of the problem.

BTW you don't need to do any image editing. So don't waste your time on that.
Report, edit, etc...Posted by Darius.DeValle on 2005-06-17 at 12:57:44
QUOTE(m.r.bob(MM) @ Jun 17 2005, 11:54 AM)
No, i mean unknown19 and the other iscpirt sections building have to have.

The iscripting is the core of the problem.

BTW you don't need to do any image editing. So don't waste your time on that.
[right][snapback]237304[/snapback][/right]


......................Wait. I don't need to mess with the images stuff all of a sudden? x_x *loud sigh*

Anyhow, like I said, I hadn't gotten to the whole iscript stuff yet. Mostly cause I don't know what to change...

Which brings me back to square one with not knowing how/what to change to make the buildings buildable in the first place.
Report, edit, etc...Posted by scwizard on 2005-06-17 at 13:18:44
No, not the images, just the images.dat

One you edit with arsenal III
The other you edit with retrogrp and photoshop.

I'm saying only need to use arsenal III, IceCC, stargraft and memgraft.
Report, edit, etc...Posted by Darius.DeValle on 2005-06-17 at 13:25:41
QUOTE(m.r.bob(MM) @ Jun 17 2005, 12:18 PM)
No, not the images, just the images.dat

One you edit with arsenal III
The other you edit with retrogrp and photoshop.

I'm saying only need to use arsenal III, IceCC, stargraft and memgraft.
[right][snapback]237322[/snapback][/right]


...*sigh* ......How excatly do I make the Xel'Naga Temple, the Protoss Temple, and the Warp Gate buildable. That's all I wish to know as far as the Protoss stuff goes. Then, I need to figure out how to make the Ion Cannon and Power Generator as well.

I simply wish to know what steps do I need to take. I'm not sure how many people have actually tried to add in these buildings, but surely it can't be this difficult! I'm not well versed in either ICE or IceCC, so I'm really at a loss as to what to do.

Which is why I made this topic in the first place; so that someone can teach me the iscript part. The Arsenal III and Memgraft stuff I can do, though that images.dat things wasn't something I messed with before, but I can figure it out.. I just wish to know how to do the Iscript stuff.

So, I'm asking as simply as I can that everyone please try to help me figure out how to do it, not what programs I require to do it.

Sorry for the rant, but it doesn't really look like I'd get anywhere without making what I need clear, which I should have done from the very beginning...
Report, edit, etc...Posted by scwizard on 2005-06-17 at 13:43:21
I'll try to get the tutorial done today. I just thought that if I nugged you in the right direction you could figure it out yourself becuase you seemed much less newbish then most modders.

Becuase you said unknown21 I thought that you had the right idea and you could get things finsihed with a few more nudges.

Don't stress yourself out. Just play a few UMS games on Bnet or whatever. And around 6:00 today I'll have a fully fleshed out tutorial (or maybe not depends).
Report, edit, etc...Posted by Darius.DeValle on 2005-06-17 at 13:46:14
QUOTE(m.r.bob(MM) @ Jun 17 2005, 12:43 PM)
I'll try to get the tutorial done today. I just thought that if I nugged you in the right direction you could figure it out yourself becuase you seemed much less newbish then most modders.

Becuase you said unknown21 I thought that you had the right idea and you could get things finsihed with a few more nudges.

Don't stress yourself out. Just play a few UMS games on Bnet or whatever. And around 6:00 today I'll have a fully fleshed out tutorial (or maybe not depends).
[right][snapback]237337[/snapback][/right]


Thank you...I had just been attempting to figure out the iscript stuff, that's all. I'me a keen observer, I guess.

I'm not a newbie when it comes to Arsenal III,Memgraft, WinMPQ and those programs, but after those two....I've no clue about the other stuff.

Anyhow, thank you.
Report, edit, etc...Posted by StealthyDeath on 2005-06-17 at 14:21:12
To make a protoss buildable the build button needs to use "CREATE BUILDING (PROTOSS)" for the Action Type in StarGraft. I don't believe you need to edit the iscript for the protoss buildings unless you want the finishing animation. That would require finding and editing an unused entry from the images.dat.

For the Ion Cannon and Power Generator give it a constructiion animation through the units.dat. Use one from the regular buildings like 325.
Report, edit, etc...Posted by Darius.DeValle on 2005-06-17 at 14:26:21
QUOTE(StealthyDeath @ Jun 17 2005, 01:21 PM)
To make a protoss buildable the build button needs to use "CREATE BUILDING (PROTOSS)" for the Action Type in StarGraft.  I don't believe you need to edit the iscript for the protoss buildings unless you want the finishing animation.  That would require finding and editing an unused entry from the images.dat.

For the Ion Cannon and Power Generator give it a constructiion animation through the units.dat.  Use one from the regular buildings like 325.
[right][snapback]237367[/snapback][/right]


...No offense, but you haven't been paying much attention, have you? I already tried the construct for Terran. It crashes mid-way.

For Protoss, it crashes when it can't locate the warp flash animation. Which is why I need iscript help because I've already tried the other seemingly more obvious options.
Report, edit, etc...Posted by Doodle77(MM) on 2005-06-17 at 19:44:44
m.r.bob: Collapses on bench...
Tutorial tommorow. Hard day. Home much later then planned.
Report, edit, etc...Posted by StealthyDeath on 2005-06-18 at 14:50:27
I didn't actually read through the whole thread for my first post since it didn't make any sense to me.

Here's the iscript for the Power Generator:
CODE
# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 949 PowerGenerater (neutral\Generate.grp)
.headerstart
IsId            436
Type            24
Init            PowerGeneraterInit
Death           PowerGeneraterDeath
GndAttkInit     [NONE]
AirAttkInit     [NONE]
SpAbility1      [NONE]
GndAttkRpt      [NONE]
AirAttkRpt      [NONE]
SpAbility2      [NONE]
GndAttkToIdle   [NONE]
AirAttkToIdle   [NONE]
SpAbility3      [NONE]
Walking         PowerGeneraterWalking
Other           PowerGeneraterWalking
BurrowInit      PowerGeneraterBurrowInit
ConstrctHarvst  [NONE]
IsWorking       PowerGeneraterIsWorking
Landing         PowerGeneraterLanding
LiftOff         [NONE]
Unknown18       [NONE]
Unknown19       PowerGeneraterUnknown19
Unknown20       PowerGeneraterLanding
Unknown21       [NONE]
Unknown22       [NONE]
Unknown23       [NONE]
Unknown24       [NONE]
Burrow          [NONE]
.headerend
# ----------------------------------------------------------------------------- #

PowerGeneraterInit:
playfram        0
imgul09         950 0 0 # PowerGeneraterShad (neutral\tgnShad.grp)
PowerGeneraterWalking:
playfram        0
wait            2
playfram        1
wait            2
playfram        2
wait            2
playfram        3
wait            2
playfram        4
wait            2
playfram        5
wait            2
playfram        6
wait            2
goto            PowerGeneraterWalking

PowerGeneraterDeath:
playsnd         7 # Misc\ExploLrg.wav
imgol08         334 0 0 # TerranBuildingExplosionlarge (thingy\tBangX.grp)
wait            3
__3f_condjmp    local00
sprul11         274 0 0 # TerranBuildingRubblelarge (thingy\RubbleL.grp)
wait            1
end            

local00:
wait            1
end            

PowerGeneraterBurrowInit:
playfram        4
goto            PowerGeneraterWalking

PowerGeneraterIsWorking:
playfram        1
goto            PowerGeneraterWalking

PowerGeneraterLanding:
playfram        0
goto            PowerGeneraterWalking

PowerGeneraterUnknown19:
wait 125
goto            PowerGeneraterUnknown19


You can compare it with the original iscript to see what I changed. The most important change is "PowerGeneraterIsWorking". This is construction animation that is required because this is where it shows the half built frame.

The protoss animation is the hardest because you'll need to find unused images.dat entries to use for the buildings you want. I'll try to describe this when I get the time unless someone else does first.
Report, edit, etc...Posted by scwizard on 2005-06-18 at 16:39:44
Becuase you don't know how to use IceCC, read this tutorial.

ADDITION:
I was saying that to revolver_devalle, not to StealthyDeath.
Next Page (1)