Sorry mate, been working away from home over the last few days.
I'll try and have a look this evening. :)
Printable View
Sorry mate, been working away from home over the last few days.
I'll try and have a look this evening. :)
Gaming,
I've had a look at the editor - it's coming along nicely. Good stuff. :)
Do you still need some code from me, and if so, what are you after?
The save/load code and something else which I don't rember. I will check when I get home.
Ok, post up here with what you need and I'll make sure you have it as soon as I can.
We might need to amend the load / save code as more bits get added to the game.
Would it be possible to obtain a copy of your code for the map generator for my own records? Copyright would, of course, remain yours.
The other things which would be useful would be the unit/building types. Explations of the members of the types would be useful as well.
I shall send you the code as soon as a few more features are implemented (just some options for the interface).
Also, the strings which can be placed in game, how do you store that information?
Yikes! You want the unit/building types and explanations? Christ, they're huge. You'll need all the component types as well for every component (which the mechs are built from).Quote:
Originally posted by Gaming_World
The other things which would be useful would be the unit/building types. Explations of the members of the types would be useful as well.
I shall send you the code as soon as a few more features are implemented (just some options for the interface).
Also, the strings which can be placed in game, how do you store that information?
I think it's best not to include units for the time being... ;)
The building types I can do soon enough for you. :)
Which strings that are placed in-game? Do you mean the map notes? I'm not sure - I'll have to have a look.
right. I'm here.
Infiltration...
**** this.
It's just taken me 15 mins to get to this page 'cos these stupid ****ing adverts shag up the connection.
I can't work like this.
I've created a thread in Chat on galah.net. See you in there.
Gaming,
I think it would be best if you wrote your own map save and load routines and simply let me know what you've done. The save game files hold an awful lot more than the map and it would be wasted on just a map file. :)
Also, I still don't know what you mean by 'strings that may be placed in the game'...
I mean the map notes, and I know that I have said that before (the forums must have eaten my post).
Map notes - ok.
Well, the type is this:
and there are x number per playerCode:Type notestemp
X As Integer
Y As Integer
xoff As Byte
yoff As Byte
col As Single
text As String
bold As Boolean
italic As Boolean
underline As Boolean
size As Byte
End Type
such as
player(currplayer).notes(currnote)
You may save them how you like in the save game, as long as I get to know the file format - I'll sort the rest.
FYI, Sentience automatically adds the note for the landing site (such as 'Gaming's Landing' above your admin centre.).
PS - Was doing some testing on your map editor (I haven't forgotten about it) and I found that if you hold the mouse button down after placing a tile and move either above or to the left of the window (anything where x or y <0) you get a SOOR. Might want to trap that in the next release. :)
Oops, I didn't think to try that (it is prevented for the editor box).
What are the x- and y-off used for (aside from offseting on the x and y axises) ? The rest of them are fairly self-explanitory. I presume that you just store the long color value in the single named col (I'm not going to ask why you used a single).Quote:
VB Code:
Type notestemp X As Integer Y As Integer xoff As Byte yoff As Byte col As Single text As String bold As Boolean italic As Boolean underline As Boolean size As Byte End Type
Now that I think about it, why not just quickly explain all the values...
I also need the sentince Icon.
XOff and YOff are offsets along the x and y axis. ;)
X and Y are the square co-ordinates - XOFF and YOFF are the pixels in from the top left of that square.
Ergo xoff=20, yoff=20 would be the middle of a map square.
Yep the colour value is stored in that single. No idea why it's a single - must have been some reason or other. I'll have check.
PS - Unfortunately I don't have the icon, I'll see if I can get it off Behemoth.
PPS - It's SentIence. You keep missing the i... ;)
Forget the i. It isn't needed.
E!
What am I talking about?
It's the 'e' that keeps going astray!
You might want to correct it on the splash and title bar of the map creater... :)
Whichever letter it is I don't think that it is needed. But I will fix it to stop your pestoring...
Just so you know, progress on the editor will slow a little as I have not been in much of a programming mode recently (I will still contiune to work on it).
What do you use for the x- and y-offsets? Do you calculate the location they clicked ons offset?
Also, pressing the cancel note button on the create map note window gives an error (don't rember which).
For the notes, the xoff and yoff are where the note is placed when they clicked on the map.Quote:
Originally posted by Gaming_World
What do you use for the x- and y-offsets? Do you calculate the location they clicked ons offset?
Also, pressing the cancel note button on the create map note window gives an error (don't rember which).
If you right click in the middle of a square, the note will be placed in the middle.
I'll check out that error you mentioned, thanks. :)
Arby, can I get a copy of this game thing you guys have done?
Cheers
See that broken image in Arbiter's signature? Click on it. GameDev.zip is the game.
Blast from the past here guys....
Nearly two years after this project was shelved, I've dug out the code again and remembered just what a monster it was!
Unfortunately, although I have the code, I no longer have the associated graphics and scripts and the places they used to be hosted are now offline.
If anyone remembers this project and happens to have one of the old beta version lurking around on their hard drive I would love them forever if they could forward the core files over.
Thanks,
Ben
I was surpriced to see the e-mail to say that this thread had activity. I still have the files, send be an e-mail at [email protected] and I shall reply with them. I have also [attempted] attached them to the post.
What plans do you currently have with the code?
Hey there Gaming!
I send you a mail a few days ago - are you still alive? :eek:
I haven't recieved your e-mail yet. It may, however, have been blocked by my anti-spam filter. If you post the domain your sending it from, I can temporary whitelist the e-mail address. I just unblocked vbforums, incase you are sending via their form.
I've sent you a PM with my eMail address - just to be on the safe side. :)
Gaming, me old mucker!
I'm sorry to have to ask, but could you fire it over again? After two years of solid, crash free running my machine exploded last weekend and I lost all my eMails (not to mention my porn!).
Cheers dude!
I just sent it again.