My appologies for the triple post, but this is neccesary. You may only attack units from team 15. My map never had any problems, I was simply trying to attack units from team 2 (even when setting their status to hostile).
Ah, I think this might be my problem. I will have to check. I think I have the enemy units set as Team 14.
when adding units, do the script work just like ground units or i need to put different number like i tried 7 first number and 8.5 sec number for a mutalisk but it dont work...
howdy, new here... anyways I'm close to getting automatic fire for the marine but I'm running into a snag with regards to damage... I update a boolean variable to true when the mouse is clicked down, and false when the mouse is clicked up, then running your Shoot trigger - altering the event to a periodic timer, and adding the condition (the boolean variable) Shooting == true (I also of course altered the actions for a marine). The result is when I hold the mouse, the marine does his attack animation and attack sound continuously, and on releasing the mouse he stopped... However, no damage is done ( not due to wrong custom values - was working on semi auto) and red text pops up saying:
"Trigger Error in 'lib1_gt_Shoot_Func':
Parameter out of bounds in
'CameraGetPitch' (value: -1 , min: 0,
max: 15)
I thought there might be a problem with where I was aiming but it doesn't matter where I aim.
on a less important side note, on a map I made to test, the victory script pops up even though there are hostiles (player 15) on the map
Hmm, I have no idea why this happens. Might be something very specific in your case, since you've altered the triggers.
On the side note: Well, you'll have to customize it to the map you're making. It's an engine, not a complete map :P
(I don't know why this happens though. It's really hard for me to help with specific issues since I haven't seen the whole structure of people's triggering.)
there is a way to make the camera lag free lol ive done it for my map works very good. it only runs the triggers 10 times per 1 second compared to most map who use 0.001 game time.
but how did u make the FPS perfect with 20 degree pitch?
also all the triggers are bugged in this map, there all blank and missing chunks of data.
After failing at completing any maps in WC3, I've decided to get one going for SC2. When I click the link to dl the library it just opens up a new page showing the script itself. Should it be re-uploaded, or am I at fault?
20 degree pitch?
Also if you had read the whole original post (or the other posts) you'd see that there seems to be a problem with the localization when opening the map/library.
@UsedWell:
Change the default program of which you open the extension ".sc2lib". I can open it with the editor without problems.
You probably have your browser set-up to open .sc2lib files by default. If you want to download instead of watching, right-click on the download link and select "Save link As.." The download window should then pop up.
Would be nice if someone would help me about my flying unit problem... And i'm making a campaign with your engine and I might add a multiplayer version when blizzad fix the battle net lag I'm going to show you people a picture when the triggers will be near completion
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
@M1n1sh4: Go
Agreed. I found the Set Custom Value Trigger you put into the TPS folder, and that's all there-but when I fire at a zergling, it doesn't register.
@HierarchArtanis:
I'm sure it will work if you set the custom value 0 to a value. Try it first with a specific unit that you place on your map.
Will this lag for a multi-player map?
Ah, I think this might be my problem. I will have to check. I think I have the enemy units set as Team 14.
I tried, but i can't damage it. I set the custom value (0) to 2, then i put a Player 2 zergling into the map, but, i repeat, i can't damage it.
????? player 2???? i thought the units were on hostile???????
I'm trying to do a 1v1 multiplayer map :)
you cant
@M1n1sh4:
Change the Traceline function to check for player 2 instead of player 15 then :)
Should work.
when adding units, do the script work just like ground units or i need to put different number like i tried 7 first number and 8.5 sec number for a mutalisk but it dont work...
howdy, new here... anyways I'm close to getting automatic fire for the marine but I'm running into a snag with regards to damage... I update a boolean variable to true when the mouse is clicked down, and false when the mouse is clicked up, then running your Shoot trigger - altering the event to a periodic timer, and adding the condition (the boolean variable) Shooting == true (I also of course altered the actions for a marine). The result is when I hold the mouse, the marine does his attack animation and attack sound continuously, and on releasing the mouse he stopped... However, no damage is done ( not due to wrong custom values - was working on semi auto) and red text pops up saying:
"Trigger Error in 'lib1_gt_Shoot_Func': Parameter out of bounds in 'CameraGetPitch' (value: -1 , min: 0, max: 15)
I thought there might be a problem with where I was aiming but it doesn't matter where I aim.
on a less important side note, on a map I made to test, the victory script pops up even though there are hostiles (player 15) on the map
@Neophyte1267:
Hmm, I have no idea why this happens. Might be something very specific in your case, since you've altered the triggers.
On the side note: Well, you'll have to customize it to the map you're making. It's an engine, not a complete map :P
(I don't know why this happens though. It's really hard for me to help with specific issues since I haven't seen the whole structure of people's triggering.)
there is a way to make the camera lag free lol ive done it for my map works very good. it only runs the triggers 10 times per 1 second compared to most map who use 0.001 game time.
but how did u make the FPS perfect with 20 degree pitch?
also all the triggers are bugged in this map, there all blank and missing chunks of data.
After failing at completing any maps in WC3, I've decided to get one going for SC2. When I click the link to dl the library it just opens up a new page showing the script itself. Should it be re-uploaded, or am I at fault?
@evil0z:
20 degree pitch?
Also if you had read the whole original post (or the other posts) you'd see that there seems to be a problem with the localization when opening the map/library.
@UsedWell:
Change the default program of which you open the extension ".sc2lib". I can open it with the editor without problems.
Thats not the issue, its that I cannot even dl the lib itself.
@UsedWell: Go
You probably have your browser set-up to open .sc2lib files by default. If you want to download instead of watching, right-click on the download link and select "Save link As.." The download window should then pop up.
@s3rius: Go
That worked thanks, just had to rename the end to .sc2lib other then w/e it was.
@martinolsson: Go
Also just implemented your engine and it works amazingly. No bugs. Now is there an easy way to have this set for several players in the map?
@UsedWell:
You should be able to customize it for several players, or just check the attached multiplayer map.
Would be nice if someone would help me about my flying unit problem... And i'm making a campaign with your engine and I might add a multiplayer version when blizzad fix the battle net lag I'm going to show you people a picture when the triggers will be near completion