Staredit Network > Forums > Modding Discussion > Topic: STF Plugin Source
STF Plugin Source
Sep 11 2011, 10:22 pm
By: poiuy_qwert  

Sep 11 2011, 10:22 pm poiuy_qwert Post #1

PyMS and ProTRG developer

Hercanic (creator of STF) has given me permission to release the source of the STF Plugin. He originally asked me to document how to print text to screen, but has graciously let me release the full source. I hope to augment the code with some actual "tutorial" bits and maybe more in-depth descriptions of parts, but don't hold your breath.

Also note, this is old code so its not the best, and im not saying any part of it is the best way to do things, but it gets the job done and I hope it can help others. I've gone over it and heavily commented it, but If you have any questions, ask away (oh, and while i was commenting i fixed up some code to be better/easier to understand, but don't have any way to check I didn't break anything).

Attachments:
STFPlugin.zip
Hits: 20 Size: 26.16kb




Sep 13 2011, 12:58 pm Taeradun Post #2



Cool, I've had a look through it and it's very complex but have already found some parts that might be useful for what I'm working on. Thanks poiuy_qwert and Hercanic! :D

I had already been planning on releasing the source for my own plugin once it's done :)



None.

Sep 13 2011, 1:07 pm Voyager7456 Post #3

Responsible for my own happiness? I can't even be responsible for my own breakfast

Awesome, I'll have to take a look at it later!



all i am is a contrary canary
but i'm crazy for you
i watched you cradling a tissue box
sneezing and sniffling, you were still a fox


Modding Resources: The Necromodicon [WIP] | Mod Night
My Projects: SCFC | ARAI | Excision [WIP] | SCFC2 [BETA] | Robots vs. Humans | Leviathan Wakes [BETA]


Sep 14 2011, 3:29 am A_of-s_t Post #4

aka idmontie

I'll have to look at it in my spare time.



Personal GitHub
Starcraft GitHub Organization - Feel free to request member status!
TwitchTV

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[05:27 pm]
martosss -- If you can give me a solution that would fill P1 I'd appreciate it :)
[05:26 pm]
martosss -- So the game fills first the force with most open slots, then alternates ... I saw it in melee maps too - there all players are in the same force and even though the mode is top vs bottom, those 2 new forces are generic and joining players are filling the lobby from top to bottom because it's the same force. I've seen other maps where they Alternate and I assume that's because there the map had 2 forces
[05:25 pm]
martosss -- oops, can't write new lines .. oh well ... force1 : P1, force 2: P2, P3, P4, P5, P6, P7 ... force 3: CPU P8 and P2-6 gets filled first
[05:24 pm]
martosss -- no, jjf, my current setup is force1
[04:00 pm]
jjf28 -- I believe slots fill according to ascending player number, so if the observer is player 1, they'll land in that slot first, if the observer was player 8, they'll land in that slot last
[02:57 pm]
martosss -- Hey folks, a quick question ... when people enter a map lobby, can you force them to go in a particular force first? I have a map where there is 1 player, 6 spectators and 1 computer. The players always enter and go to the observer section first. I want them to first go to the player slot if it's free. Is that possible?
[07:35 am]
MasterJohnny -- stole*
[07:35 am]
MasterJohnny -- some russian asshole my battle.net account
[2020-8-13. : 3:41 pm]
Ultraviolet -- :wob:
[2020-8-12. : 1:16 pm]
Zycorax -- :wob:
Please log in to shout.


Members Online: Roy