Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Falcon on October 18, 2003, 06:26:10 pm

Title: Ship flags.
Post by: Falcon on October 18, 2003, 06:26:10 pm
I'd like to see a flag that allows players to contol cruisers, destroyer, etc...

Sure you can put player deafult in their flags but when you use them their turrets are inactive, and when putting turret-free-all or beam-free-all on yourself it does not work. :(

No use placing player-allowed flags in wepons list for beams or flaks.

I guess it has something to do with the cruiser, destroyer flags that it is not configured for player usage.:confused:
Title: Ship flags.
Post by: Kazan on October 18, 2003, 06:36:10 pm
Code: [Select]

LOAD "Stick" Var1
LOAD "Dead Horse" Var2
FUNC Beat Var2 Var1
Title: Ship flags.
Post by: Sticks on October 18, 2003, 07:08:31 pm
lol

Code: [Select]

bool beatDeadHorse(stick stick, horse MrEd) {

     MrEd.Health = MrEd.Health - stick.damage;

     if(MrEd.Health <= 0)
          return true;

     if(MrEd.Health > 0)
          return false;
}


When ran:
 
Code: [Select]
beatDeadHorse returned true!

:lol:

Search is your friend.
Title: Ship flags.
Post by: diamondgeezer on October 18, 2003, 07:18:42 pm
Programmer humour rulez us code-illiterate lamerz :nod:
Title: Ship flags.
Post by: Sticks on October 18, 2003, 07:48:00 pm
th4t'5 b3c4u5e w3 ar3 l33t h4x0rz!!!!!!!

In all seriousness though, no offense intended. Please do search though before posting a feature request.
Title: Ship flags.
Post by: Goober5000 on October 18, 2003, 08:06:27 pm
Actually, it won't even compile, because the type name 'stick' is illegally used as a variable. :nod:

Falcon: People have been able to fly capships successfully before.  Search around, or peruse karajorma's FAQ.
Title: Ship flags.
Post by: phreak on October 18, 2003, 08:12:58 pm
Quote
Originally posted by Goober5000
Actually, it won't even compile, because the type name 'stick' is illegally used as a variable. :nod:


i wanted to say that, but im not that anal :D :p
Title: Ship flags.
Post by: Kazan on October 18, 2003, 09:45:56 pm
stick someStick
Title: Ship flags.
Post by: karajorma on October 19, 2003, 07:40:30 am
Quote
Originally posted by Goober5000
Falcon: People have been able to fly capships successfully before.  Search around, or peruse karajorma's FAQ.


Don't think that one is actually in there. If not I guess it should be added though :)
Title: Ship flags.
Post by: Falcon on October 19, 2003, 03:49:21 pm
Thanks.

[ Holds a funeral for Mr. Ed ] :(
*Now all we need is some funeral music :D*
Title: Ship flags.
Post by: Falcon on October 19, 2003, 04:01:28 pm
I having a hard time remembering to use the search engine.
Probably cause a can't see it.
[changes resolution]
much better:D
Title: Ship flags.
Post by: Falcon on October 25, 2003, 10:29:45 am
I can't find what I'm looking for. A little help?
Title: Ship flags.
Post by: WMCoolmon on October 25, 2003, 12:06:40 pm
Look in the Modding forum?