View Full Version : Modding Help!!
SuiCidAl-KiSmEt
04-09-2005, 7:50 PM
Modding is in somewhat of a decline, it seems nobodies interested in doing it anymore.
IM INTRESTED IN MODDING. Ya, I do need a new hobby. Anyway, I’ve been using that "scaiedit31" (the one that makes your own AI script for computer players). I made a test Ai for the terran computer, but I’ve been having some trouble for the last 3 hours. During the game it creates a Refinery when I didn’t ask it to, and it never makes SCVs not even 1. It just doesn’t do anything after it builds an Engineering Bay. Here’s the code:
;ASC3 File Template
; Made by Toonami_
; Modify it as you want
script_name SCR Terran test
script_id UNTL
start_town
; Write your script code here
wait 100
build 1 scv 90
build 1 supply_depot 80
build 1 scv 80
build 1 engineering_bay 80
build 4 missile_turret 80
:loop
build 1 supply_depot 80
build 2 scv 80
build 1 barracks 80
;Add more defeanse***
build 1 missile_turret 80
;Build more units***
Train 8 marine
;Attack with Marines***
Attack_add 8 marine
attack_prepare
goto loop
Also, why it builds turrets so soon, its becouse in my mod, I made the turret able to attack ground to, so its like a defence. Can anyone here help me on this?
StealthyDeath
04-09-2005, 9:22 PM
You should consider using priority 80 instead of 90. With the release of 1.11, some of the AI commands do not work correctly. You can consider using the macro that comes with the program, !build.
You must have a space in between blocks. Whenever you use :Whatever it is consider a block.
You also need some wait build commands. E.G. 'wait_build 1 engineering_bay'. It will require the engineering bay to be finished before it builds the turrets.
You build commands are also incorrect. Once you have one 'build 1 scv' then you command one scv. Then you must use 'build 2 scv' then you will have TWO scvs, not THREE. The number determines how many scvs that computer will have. It also applies to any other unit.
It is completely different from triggers, where as you can have multiple create 1 scv.
Below I have corrected your AI. You should compare it to your original one and learn from what was changed.
;ASC3 File Template
; Made by Toonami_
; Modify it as you want
script_name SCR Terran test
script_id UNTL
start_town
; Write your script code here
build 1 scv 80
build 1 supply_depot 80
build 2 scv 80
build 1 engineering_bay 80
wait_build 1 engineering_bay
build 4 missile_turret 80
goto loop
:loop
build 2 supply_depot 80
build 4 scv 80
build 1 barracks 80
;Add more defenses***
build 5 missile_turret 80
;Build more units***
wait_build 1 barracks
Train 8 marine
wait_train 8 marine
;Attack with Marines***
Attack_add 8 marine
attack_prepare
goto loop
Yoshi_da_Sniper
04-10-2005, 1:19 AM
IM INTRESTED IN MODDING.I exaggerated the "nobody" part, however I recall modding used to be a lot more popular. My favourite TC's never got finished :(
Dezzick
04-10-2005, 5:07 AM
I used to like modding, but when sc started to run something like, 0.5 Fps, I quit. I still have a back up of my main mods though. I'll start once I can find a way to get teh web working on my new comp.
Yoshi_da_Sniper
04-10-2005, 10:31 AM
Say, how much space is each of your mods on average?
I give a little hosting until some of the modding sites come back up.
Say, how much space is each of your mods on average?
I give a little hosting until some of the modding sites come back up.
It depends of if the mod has sound and graphic changes or not.
Without graphic they never pass 500 kilobyte, and mostly are just 100k.
But with graphic they can reach over 2 megs.
SuiCidAl-KiSmEt
04-10-2005, 11:33 AM
Thanks StealthyDeath, honestly I thought no one would answer it, I just had a feeling that no one knows about Ai editing these days.
Yoshi_da_Sniper
04-11-2005, 7:37 AM
It depends of if the mod has sound and graphic changes or not.
Without graphic they never pass 500 kilobyte, and mostly are just 100k.
But with graphic they can reach over 2 megs.What if I provided up to 5 mb hosting until SC.org got their mod uploader back running?
What if I provided up to 5 mb hosting until SC.org got their mod uploader back running?
Than you'll have to name v5 stareditarsenalIIIiceccandretrogrp.net
Yoshi_da_Sniper
04-12-2005, 12:32 AM
Ah, but theres one program that links all these programs together: staredit :)
Ah, but theres one program that links all these programs together: staredit :)
Actually the one that links them all together is "Starcraft.exe" -.-
Yoshi_da_Sniper
04-12-2005, 6:48 PM
Yeah, but starcraft .com .net. .org are already taken ^^
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.