FAQ Log in
Search Profile
Memberlist Usergroups
Log in to check your private messages
Register
EH 0.5.13
Post new topic   Reply to topic
Event Horizon Forum Index » Event Horizon » EH 0.5.13
View previous topic :: View next topic  
Author Message
Paul



Joined: 17 Apr 2004
Posts: 447
Location: Chicago

 Post Posted: Sun Feb 27, 2005 2:00 am    Post subject: EH 0.5.13
Reply with quote

Well, I've added better-looking explosion graphic, dead ships are removed so they don't leave ghosts, and... A CONSOLE with full scriptability, courtesy of F-Script!

EH 0.5.13

F-Script basically makes Objective-C calls from its input, it just tends to leave out all the brackets Confused

So here are the functions I have made available currently:
Every SpaceObject (from which spacehips, including the player, and planets are derived) has these:
- (float) x;
- (void) setX:(float)x;
- (float) y;
- (void) setY:(float)y;
- (float) z;
- (void) setZ:(float)z;
- (float) angularAcceleration;
- (void) setAngularAcceleration:(float)a;
- (float) maxAngularVelocity;
- (void) setMaxAngularVelocity:(float)w;
- (float) maxVelocity;
- (void) setMaxVelocity:(float)v;
- (int) mass;
- (void) setMass:(int)mass;
- (NSString *) name;
- (void) setName:(NSString *)name;
- (NSMutableDictionary *) flags;

The player (variable name in console: "player" Smile ) has these:
- (NSMutableArray *) planets;
- (Solarsystem *) system;
- (void) newMessage:(NSString *)message;
- (NSMutableArray *) ships;
- (NSMutableArray *) weaps;
- (NSMutableArray *) missions;
- (NSMutableDictionary *) plugins;
- (float) time;
- (NSDate *) date;
- (void) setDate:(NSDate *)date;
- (NSMutableDictionary *) govRecord;
- (int) combatRating;
- (void) setCombatRating:(int)rating;
- (int) valForFlag:(NSString *)flag;

and planets have these:
- (NSMutableArray *) goods;
- (NSString *) shipFlags;
- (void) setShipFlags:(NSString *)flags;
- (NSString *) modFlags;
- (void) setModFlags:(NSString *)flags;
- (NSString *) missionFlags;
- (void) setMissionFlags:(NSString *)flags;
- (void) setTextureFile:(NSString *)file;
- (void) setModel:(Object3D *)model;
- (void) setInclination:(float)f;

You can also use any Cocoa/NS class and function calls that already exist, such as ones on NSMutableArray and NSMutableDictionary.

I'm leaving for spring break tomorrow morning, so I'll be back in a week. Have fun!
_________________
Differentiation is an integral part of calculus.
 Back to top »
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Paul



Joined: 17 Apr 2004
Posts: 447
Location: Chicago

 Post Posted: Sun Feb 27, 2005 2:01 am    Post subject:
Reply with quote

That's just to get you started playing around. I'll explain what the ones you don't know do later.
_________________
Differentiation is an integral part of calculus.
 Back to top »
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Game Mogul



Joined: 30 Jan 2005
Posts: 241
Location: Neenerneener Land

 Post Posted: Sun Feb 27, 2005 4:18 am    Post subject: Holy cow!
Reply with quote

Holy cow! Shocked

How did you... with the... and the.. <jaw drops>. I've mentioned this to others before, but it seems like you say something like this:
Paul wrote:
Hi guys, I'm going to add some super-cool, mind-bogglingly difficult thing like mouse control.
Two days later:
Paul wrote:
Okay, here it is.
Are you an alien? I mean, you found F-script online, implemented it, built functions, added a console, and fixed bugs IN ONE DAY... Shocked How do you do that and balance college? I'm VERY impressed. :thumbsup:

-Mogul
_________________
"Never sneak up on a turtle while he's welding"
 Back to top »
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Paul



Joined: 17 Apr 2004
Posts: 447
Location: Chicago

 Post Posted: Sun Feb 27, 2005 1:53 pm    Post subject:
Reply with quote

LOL Very Happy

No, not an alien... just a CODING FIEND!!!! BWAHAHAHA!

Of course, I also didn't get any homework done yesterday that I probably needed too Smile Oh, well...
_________________
Differentiation is an integral part of calculus.
 Back to top »
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Game Mogul



Joined: 30 Jan 2005
Posts: 241
Location: Neenerneener Land

 Post Posted: Mon Feb 28, 2005 4:54 am    Post subject:
Reply with quote

I don't know, I have it on authority from very reliable sources that say that they found you walking home:

And this is when you took a vacation to Florida and put on a visor:

This is your father:

This is your grandfather:

This one was taken when your father was a model:

This one too:

This is your future daughter:

This is your daughters first picture/light-bright of you:

okay, maybe I should stop now... Twisted Evil

-Mogul
_________________
"Never sneak up on a turtle while he's welding"
 Back to top »
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
aplasticspork



Joined: 18 Apr 2004
Posts: 136
Location: Seattle, Wa

 Post Posted: Mon Feb 28, 2005 11:59 pm    Post subject:
Reply with quote

someone has waaaaaaaay too much time on his hands... Shocked Laughing
--andrzej
_________________
This space left intentionally blank.
 Back to top »
View user's profile Send private message Send e-mail AIM Address
Game Mogul



Joined: 30 Jan 2005
Posts: 241
Location: Neenerneener Land

 Post Posted: Tue Mar 01, 2005 4:05 am    Post subject:
Reply with quote

Thank you, thank you very much. Good night Cleveland! :Elvis:

-Mogul
_________________
"Never sneak up on a turtle while he's welding"
 Back to top »
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Event Horizon Forum Index » Event Horizon » EH 0.5.13
Post new topic   Reply to topic All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Solaris phpBB theme/template by Jakob Persson
Copyright © Jakob Persson 2003



Powered by phpBB © 2001, 2002 phpBB Group