Iggyhopper
12-24-2009, 1:16 PM  #1
Iggyhopper's Avatar
Legendary Member
Battle.net 2.0 ID Iggyhopper
Favorite StarCraft Race Protoss Player
I just thought of something. Let me beat around the bush.

"Convert Line/Action To Custom Code"
Action - Code Block
Built-In Unit-Item Restrictions (RPG)

1. I've always wanted to combine GUI triggers with custom code. Although the GUI triggers would sometimes leak, they were really easy to build up and make a fully functioning map with just a few clicks. I've always wanted to do my own custom codes, but found it was hard to either learn all the JASS syntax and functions for what I wanted (for ex: unit and location functions for a simple periodic trigger) or create a new trigger, add the action, convert to custom text, copy and paste what I need, and revert back.

So I have found a solution, make it possible to only convert single action(s) to a "Custom Script" action. This way, if I want to add locals and then use them, I simply make the action, then convert it to custom code and replace the normal variables with my local.

2. Adding a single line of code is very unintuitive. So I suggest a "Custom Code Block" action so that you add more then just one line at a time.

3. RPG's are somewhat harder to make then other types of maps (close to TD's, and AoS's with custom spells and heroes). Half of effort is going through and making sure that an item can only be picked up by a certain class of unit via triggers (correct me if I'm wrong as I've never tried to make and RPG, but know how it would work).

A simple solution would to have IDs for units that could be connected/compared to item IDs to dictate if it can be picked up. This allows for multiple types and it is simple to check in-game or internally.

Since I think units can already have custom attributes, I think what I'm asking for is that items be able to have custom attributes too. If they aren't in the game, well then add them! If they are already there, well then we need to hear it from blizzard.

One last thing I just thought of in this short edit is that I've always wanted local variables, but I could never do a custom script code plus a GUI-helped value. I guess I'm just lazy and don't want to write all stuff, but it would help. A combination of custom script code and GUI lines would be awesome.

Last edited by Iggyhopper; 12-24-2009 at 10:41 PM.
 

Avatar courtesy of Darkslayer633.

Iggyhopper is offline pm.gif Reply With Quote
Megamax
01-24-2010, 5:16 PM  #2
Megamax's Avatar
Unholy Decimator
Favorite StarCraft Race Zerg Player
Im not sure what a GUI trigger is.... could you tell me?
 

I make Mods now: http://starcraft.org/mods/sc1/heavy/779

Face it, I hate you before I know you. Get used to it.

Megamax is offline pm.gif Reply With Quote
Iggyhopper
02-03-2010, 4:39 PM  #3
Iggyhopper's Avatar
Legendary Member
Battle.net 2.0 ID Iggyhopper
Favorite StarCraft Race Protoss Player
You know, like GUI triggering.

The built-in trigger editor from the GUI, rather then hand-coding.
 

Avatar courtesy of Darkslayer633.

Iggyhopper is offline pm.gif Reply With Quote
Salokyn
02-07-2010, 12:23 AM  #4
SC.org Member
Just do it manually like a man
 

Salokyn is offline pm.gif Reply With Quote
Iggyhopper
02-08-2010, 12:18 AM  #5
Iggyhopper's Avatar
Legendary Member
Battle.net 2.0 ID Iggyhopper
Favorite StarCraft Race Protoss Player
Quote
Originally Posted by Salokyn View Post
Just do it manually like a man
Only if it had intellisense, or at least syntax highlighting. For some reason I can type in every other language just fine. I also want an in-house grade-a editor.

You speak some truth, if you want it done right, you've got to do it yourself. Maybe it's just because I like OOP and I also because I have many other languages to keep track of.
 

Avatar courtesy of Darkslayer633.

Iggyhopper is offline pm.gif Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

vBulletin® Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright © 1998 - 2010, Starcraft.org / ORG Network. All Rights Reserved.
Starcraft.org is hosted by DarkStar Communications, home to high quality Ventrilo Servers.