I use vi.
Some use Eclipse as an IDE. Whatever you're using for Python may have a PHP variant.
I remember vi. I used it a lot in the '80s. Haven't had a chance to use UNIX much since then.
I use vi.
Some use Eclipse as an IDE. Whatever you're using for Python may have a PHP variant.
Just for the heck of it, I went on YouTube and learned PHP just now. That was fast.
I'm joking. But I did write some quick code to test. So linking to a PHP file only results in receiving the output from it. Linking triggers its execution. Nice. So source code cannot be had, I'm guessing? I like that.
Just need a good PHP editor now.
So far just the basics; rank, last name, and UPP. Suggestions?
http://beta.reuel.net/game/create_mercenary_unit.php
It uses weighted stats as I assume an active mercenary unit would weed out the physically challenged or mentally unreliable. Names include the most common 2300 or so terran names.
If you need more than a company just hit the link again.
I was having trouble running PHP locally. Just ran across a YouTube video that mentioned Wampserver 2.2. So now my localhost works. Picked up Notepad++ also. Been using regular notepad or wordpad for everything.
At first, I downloaded/installed from php.net. It asked which server I wanted to install. I didn't want to turn my computer into a web server with services running and all. Plus, I didn't know which server to install/use (or all of them). But Wampserver only runs when I double-click it.
Two things: Skills and Quality!
I generally allow the recruits to keep their ranks, if only as a honorary thing; that means there are a lot of 1LT and even CPT squad leaders in a quality unit, even with a some raw recruits.
To gold-plate this thing, having the ability to specify the number in a squad (NCO's and and Enlisted), the number of squads in a platoons, and platoons in a company. Also, how many in company headquarters. That's a lot! A Cr.05 solution is to make 4 platoons of 4 squads of 11, with 1 SSG and 2 SGT's; then I can take the output, and just lop off what I don't need.
Okay, give it another shot.
I've added skills, don't have the old Striker stuff for Quality, and have not done much for prior service ranks and such. One thing I was thinking about was being able to generate an actual military unit per TOE. That would allow for medals, etc.
I've also thought about allowing modifications for size of units, etc. One request was to add first names, to which I jokingly replied that PVT *is* a first name. However, what do you all think? First names yay or nay?