what spots do we have filled and what spots need to be filles :)
so i can let my programing friend :)
Printable View
what spots do we have filled and what spots need to be filles :)
so i can let my programing friend :)
Sastraxi,
I've mailed you for the account details so's I can have a look.
If you wish I can pass them on to Behemoth so he can offer comments as well.
If you're actually putting a website together then it might be worth listening to his comments on that as he's a website developer (though you wouldn't think it by looking at ours ;) )
Behemoth,
I know you'll come snooping around in here. Get yo ass in gear with our website - we can't have these peasants making a nicer one than ours!!! :D
Sorry guys...
I have some bad news... I've enrolled myself into a new university course, so I am going to be busy for some time.. So I can't be in the team anymore :(.. I wanted to be there.. but this thing came in between and so I am quitting.. Best of Luck for the entire project team..!
The default web site i set up for our little source vault is pretty lame, but its not there to be pretty =). Ive done quite a few pages before, and I like to think that ive got pretty good design tastes.
Z.
Hey guys I know how to draw and want to help you, anyway I can, expect only the best quality from me!:p
With my experience of reading the Lord of the Rings collection, and playng an exstensive amount of str games, I hope to be of help
Good. Do you want to take Anoop007's place?
Well what did anoop used to do
guys weres that url and password i looking for
my email is : [email protected]
asap plz
Ok I'll take his place I'll work with wazupguys, to make the drawings. You all sound very well inspired, especially Arbiter:p about barrack and units... In Lord Of The Realms you could use your peasantsand make them fighting units, a realistic edge that warcraft never had. maybe you can combine both type of RTS's.
Sas,
You've still not mailed me the details of your website yet. How am I supposed to pilfer your code if you're not a little more co-operative! ;)
I note you've also decided what the end credits are going to look like. Very ambitious, but maybe just a teensy bit premature?
Just a comment from what I've been reading. Most game designers go with the peasants do the work, warriors do the fighting. Peasants that can do more than a feeble amount of damage make the game unbalanced as you can just swamp the enemy with bogloads of peasants.
Perhaps if one of your unit classes have the ability to disguise themselves as peasants (or other unit types) to confuse the hell out of the enemy. They revert to their normal graphic when they're attacked maybe?
Anyway, enough rambling.
i dont know what u all want to do for credits or any of the ideas floting around
but i got the info on the yahoo account if inyone wants it let me know
not to say that the email account is bad but i dont see a web sight that we can custamize with the info we upload so others can dl it :mad:
Directory Struct, should be structured into like system dll code folder, graphics folder, then into versions so each new bit of code we do like, each bit we add to the game gets a new version. Then so if it ****s at version .14 then u can just download .13 and start again, if someone else wants to do some work they can then find the latest version and the early ones.
Hey plz mail me the details @
[email protected]
NEWS:
The System.dll is having problems, im trying to fix them up today though its not so easy. Secondly using:
IDirectDraw7 *pDD;
pDD->CreateSurface(.....);
Causes an illgeal operation and i havent a clue why so its not going at the best atm.
Ive never used DD7, but what kind of error are you getting? If its an access violation, you may not be initializing DD7, or the intialization may have failed.
Z.
Yep... That's what I said from the start, the only way to get fighters and the like is to train them from peasants (but it isnt instantaneous and there is no special movie :D)
I havent had much time to work and just got on right now (6:30 EST, Apr.20) and schoolwork is getting the better of me.
I'll do some GFX this weekend and mebbe the menu (cuz that's what Anoop007 was going to do). Meanwhile I'll give you your job:
But basically we can't do anything until PsyVision's done his DLL! (good work Psyvision, keep at it :))
To ARBITER:
That's how it would be in real life!!
If you are a veteran swordsman and 100 peasants come knocking on your door and try to kill you, IT IS A FACT OF LIFE that they will win!!!
You can only attack one person at a time, so with 8 peasants attacking 1 swordsman it would take them about 3 seconds. Realistic.
But, if there were about 10 swordsmen, they could probably take them on.
Realism, people, realism!
To all:
I've got some music done and am starting on the Title Screen. Won't be doing much until May 1st, where I plan to spend a good 3-4 hrs a day on the game.
Sorry, but IT'S SCHOOLS FAULT :D
And also to Arbiter, I know it's a bit premature. We'll probably just have some kind of cheap fighting while the credits roll... :D
Well that's it for now!
I havent had much time to much programming, Due to school, and my own problems (all my questions on the maths forum), so I havent gotten around to the damage module. My question is, do you just want me to write a simple DoDamage(ByRef Target as Unit, ByRef Attacker as Unit), using the damage values, or do you want me to extract them from the database (option 2 being the one i hope its not =)? Anyway, get back to me, and Ill get it done.
Z.
The 1st one. Then we can implement a module to find out what are the stats of a unit after upgrades and damage taken and new armour worn, etc.
EG:
That is an actual function ( :eek: ), you may want to write it down. The HP is the actual Health of the unit (not the templates in the DB), the armour is the armour coverage (%) of the armour the defender is wearing, and the armourrating is the amount of damage it blocks (%).Code:Function Attack(Index as Long, Index2 as Long)
A = DoDamage(CalcDamage(Index), Index2)
If Units(Index2).Armour > (Int(Rnd * 100)) Then
Units(Index2).HP = Units(Index2).HP - ((-Units(Index2).ArmourRating + 100) / 100 * A)
End If
End Function
Ok, ill post some nice code later. Ive got some stuff to do, right now.
Z.
:) norman_nomain may be able to come up with the finest ive seen the pics for the peasent and the knight of the dragon may i say it looks 50 X better than starcraft and for fantisy if what ive seen is good i cant imagine what he can come up with :)
Okay... can you upload the GFX to the website?
And also Zaei could you email every1 with the account stats, I don't really have the time right now.
Zaei, the welcome page is AWESOME!
Just the kind of subliminal message we need to send.
Okay - Norman_Normein and WazupGuys:
I need to make sure the GFX are the right size. If you want you can make 'em proportionate to the tile sizes (no res. has more view so it is fair to all resolutions):
1024x768 - 64x48
800x600 - 50x37
640x480 - 40x30
So make sure there are 3 gfx resolutions for the graphics and it will be set.
since we go to the same school i can see what he has on paper over the weekend and hes going to convert them to bitmaps so i we can use them :)
cant we use the same size file just when it comes into ddraw that it gets chaged to the screen resolution type we could build a function to do that
If We Do Make A Second Version What Would We Change Or Add (Would We Add A Race , etc.) :)
I shall try and push out a DLL that does the job for now asap, it will probably be a longer way than in vb due to there being no CreateSurfaceFromFile function in C++ Direct X. I know why one part of it isnt working and im busy sorting it now. The other part is a bummer.
Whats the url for this site as i have the user/pass but dont now the url.
The DLL Is almost fixed for one part, i have almost done the loading of an image to a surface where u can specify a X and Y to load from along with Width and Height, the Blitting shall come soon too (hopes).
we should use some code im getting from the internet in api so that we dont have to chage screen resolution we can check the resolution then use a case or if then statment so its not like sentience (im not trying to dis them im just saying i dont like that it changes the resolution on my screen) :)
I've already got code that checks and changes the resolution accordingly. If you are already in that resolution (640x480x16) the resolution will not change.
Then at the end of the program it changes it back.
System.dll - Release Version 0.1
======================
Yuppers, it's that time, the first build of the System.dll is available. At the moment you are required in vb to do something like this:
Dim DDraw As DirectDraw7
Dim DDSurface As DirectDrawSurface
Set DDSurface = DDraw.CreateSurface(params);
Then :) the fun part, you can then use the function in the System.dll to load a bitmap file, you can pass the x and y of where to load along with the height and width.
The zip shall appear on the ftp soon with a quick vb demo :D
The Blitting part is almost done.
Good work, Psyvision!!
Bummers, can any of you fix this:
Here is the VB and C++ Prototypes for the function:
Please can you check that these are ok, then the main error here is that the following function:Code:int SystemLoadBitmap(IDirectDraw7 * dd, char *szFilename, IDirectDrawSurface7 * ddsSurface, int x, int y, int width, int height)
Private Declare Function SystemLoadBitmap Lib "System.dll" (ByRef dd As DirectDraw7, ByRef Filename As String, ByRef ddsSurface As DirectDrawSurface7, ByVal X As Long, ByVal Y As Long, ByVal width As Long, ByVal height As Long) As Long
Is returning -2 thus the error is that it is failing to load the image. Once this is fixes the DLL is usable. I think that the error is coming across from VB because linking to the dll and using it in C++ works fine. I can mail anyone who needs it code for the C++ and VB demos of using the function along with the DLL source as long as they can fix the error :DCode:int SystemLoadBitmap(IDirectDraw7 * dd, char *szFilename, IDirectDrawSurface7 * ddsSurface, int x, int y, int width, int height)
{
HDC hdcImage;
HDC hdc;
BITMAP bm;
DDSURFACEDESC2 ddsd;
HRESULT hr;
HBITMAP hbm;
hbm = (HBITMAP) LoadImage( NULL, szFilename, IMAGE_BITMAP, 0, 0, LR_CREATEDIBSECTION);
if (hbm)
{
ddsSurface->Restore();
hdcImage = CreateCompatibleDC(NULL);
if (!hdcImage)
return -1;
SelectObject(hdcImage, hbm);
GetObject(hbm, sizeof(bm), &bm);
width = width == 0 ? bm.bmWidth : width;
height = height == 0 ? bm.bmHeight : height;
ddsd.dwSize = sizeof(ddsd);
ddsd.dwFlags = DDSD_HEIGHT | DDSD_WIDTH;
ddsSurface->GetSurfaceDesc(&ddsd);
if ((hr = ddsSurface->GetDC(&hdc)) == DD_OK)
{
StretchBlt( hdc, 0, 0, ddsd.dwWidth, ddsd.dwHeight, hdcImage, x, y, width, height, SRCCOPY);
ddsSurface->ReleaseDC(hdc);
}
DeleteDC(hdcImage);
DeleteObject(hbm);
return 1;
}
else
{
return -2;
}
}
[email protected]
Maybe in your LoadImage call, one of the flags should be LR_LOADFROMFILE. MSDN says that if that flag isnt set, it will think it should be loading from a resource, and szFilename is the resource name.
Z.
That will be why, ok, um well in vb its loading not from a resource and i can change the last flag to what is required (said by Zaei)
And Psyvision, because of the ongoing problem with Vuen and his colour-changing (realtime) RTS thing, it would be nice if there was a function that took all colours in a surface and changed them to another colour, eg:
Code:rc = sChgCol(RGB(255,0,255), RGB(255,255,255))
Gotta get the basics going first, i think basically i can use Get and SetPixel, not sure, i fixed one error and another appears OUCH
Hey guys.
Sorry, I wasnt here yesterday I dropped dean on my bed when I got home and didnt get up until today at eight. But as soon as I ate a couple pieces of brad I got to work and finished.
So far I've done 3 characters so far out of the 5 I plan to do today, they are scanned and soon to be mailed to wasupguys they are the peasant, the knight of the blade, and the monk. If Ill email it to you if you want. wasupguys has seen my work and he says its good. I dont what you could do with my drawings except movie parts.
I truly dont konw what your limits are so I just give my oppinion on what would look good in an RTS that I would enjoy playing:)
I would love to see the GFX that you have made. Please send them to me ([email protected]) or have wazupguys send them to the same address.
Sas, thats what the web site thing is for. Post EVERYTHING there, so everyone can look at it.
Z.
i got two today i sent sastrex one i think and then i cleaned it up :)
what happend to me uploading how do i were do i
Sorry I havent replied, I just got my internet connection back :rolleyes:
Anyways I'm going to look at the pictures wazupguy's sent me. See ya all tomorrow!
Sas,
Have you just blatantly ignored the eMail I sent you?
Big Problems - Because of the way that direct x workd in visual basic compared to C++ i cant get the dll to work, this is a big bummer :D i think its to do with some COM and the way that there are these in C++:
IDirecDrawSurface
LPDIRECTDRAWSURFACE
And:
DirectDrawSurface
In vb which is annoying.
Hmmm....
You emailed me?
I'll go take a look, my ESP (email service provider) may have deleted it on me though :rolleyes:
A couple of questions. Are we going to be able to select a group of units? How will this be stored? Will there be a group leader? Do we know how food and gold and such are going to work? Also, What style of gameplay do we want? Should it be "Player is completely controlling the units", or "Player is the general, but units have some thought"? Hopefully number 2, because ive got some fun ideas wandering through my skull =).
Z.
We'll have multiple units (select units & Ctrl+0-9 to group units) then press 0-9 to get them back. The mounts will be absent minded as will the "critters". Units will be (for now) #1, but hopefully it will change. Also the group leader will be the unit with the highest stuff (eg. damage-wise, health-wise, etc.)
Its my job to make it change, so, Ill go ahead and do that.
Z.
Do u think we should use just pure vb direct x for the loading as it is definately capable of doing it quickly ? As the dll i have doubts about it working.
Yeah, we could do just plain VB DX.
I think with C we could get about .2 more FPS though :D
'Sides, DirectX is a DLL, so it wouldnt matter THAT much, would it?
So Psyvision... Whaddaya think 'bout doing the same DLL in VB?
(would kind of be an engine, like your system.dll idea)
But I would need specific components:
- Change all colours in a surface to a different colour
- Basic DX functions
- Alpha-Blending (can also do it with an API if u cant do it w/DX)
And more specifically, I would like certain functions:
And any others you can think of.Code:BlitAll() (would flip the backbuffer and draw the scene)
Blit(DxSurf as _SURFACE_, Space as POINTAPI, Space2 as RECT, Optional ALPHA as Integer)
(would draw a surface onto the Backbuffer at Space, and would take the image from the surface at Space2, optionally at translucent opacity ALPHA (0 - 100), 0 being no blit is done)
I would really appreciate it!
I also know that you have already done a ton of work, so it is okay if there is no DLL.
Ok, I shall start work tomorrow but i can do those functions and a few more for you that shall come into use.
It shall be done in VB for u.
Not too sure about alpha blending, if anyone has some docs on them ?
I have a module that uses Microsoft's Alpha-Blend function that I wrote about 2 months ago. (MS Alphablend is actually quite fast)
I'll post it here for you, Psyvision (uses hDCs, you can import it by create surface from DC)
yes it has been a while since ive been on ive been working on vb ddraw and the drawings/graphics the first came out *****y cause what i saw was a black and white inked virtion but that dont matter. im working with some friends on selecting the units and were now working were u can select more that one.
i got a function done that gets the screen sesolution and its workes even if u change it will its running.
Psy: LPDIRECTDRAWSURFACE just means that it is a pointer to a Surface. Its is the same thing as in VB, only in VB you "Set DDSurface = FICreateSurface(...)".
Now, are units going to be UDTs, or classes? Either will work. Wazup, How are multiple units stored (so you know they are together)? An Array, right? The way I have the units stored in my tests, I have an array of units, and a matching array of integers. The second array tells you what unit is attacking whom. I have attached a few new attributes to each unit, Size, and Moral. Size is the general power of the unit, and tells you, when unit x with size 4 is fighting unit y with size 3, unit x will usually win. On the other hand, 4 size 2 units fighting a size 6 unit, the 6 will probably lose. Make sense? Moral tells a unit when to run for his/her/its life. the moral goes up by some for every unit its killed, the number of units in his or her or its group, etc. it goes down for every unit in its group that is killed, etc. This will allow for units that are real veterens, and have killed 100 guys, but is fighing alone against 50, will still think he can win(ie insanity/stupidity/confidence). Feedback please. What does everyone think? Any ideas?
Z.
Units are going to be UDTs, because I would rather have
Attack(Unit(1), Unit(2))
than
Unit(1).Attack Unit(2)
For some reason I like the code first, and classes always screw up when I do them :D
And thank you wazupguys but sadly (:() I've already compiled a function that changes the screen resolution, but I'd be glad to see your code.
Have you heard anything from Norman Nomein lately?
Also Zaei I think those are great ideas!
GOOD NEWS
Ok, i have coded a dll:
Direct X, Direct Sound, Direct Music, Direct Draw.
Its working good so far, in 5 lines of actual code u can create a direct x, direct draw, direct sound, direct music and create and init a coop level, along with setting the display to height, width and reqired bits :D
I shall push a demo out soon, features front and back buffers, its a kinda wrapper at the mo, but allows direct access to the main direct x, draw sound etc objects used in the dll, which is good :D
Once this is done and we can use it i shall work on a C++ dll, though it will take longer thus i have done this for u lot :D
Wow... Psyvision, Norman Nomein, Wazup Guys, Zaei, (anyone I missed?) you're all doing a great job! Expect promotions soon :D
I'm still working on the menu because of school (I dont want to hear the word 'Shakespeare' for another Aeon or so....!) but I've gotten farther! I've also found a freeware 3D modelling program that isn't lacking in features. It's called "OpenFX" and it's pretty cool, so we can make our objects in that if we want...
I'm still making MIDI files (cranking them out!) and so far I have 2 complete and 1 in the making. I used to have like 10 but a disk crash took all of them away....
But I'm working on this very hard!
Wow... Psyvision, Norman Nomein, Wazup Guys, Zaei, (anyone I missed?) you're all doing a great job! Expect promotions soon :D
I'm still working on the menu because of school (I dont want to hear the word 'Shakespeare' for another Aeon or so....!) but I've gotten farther! I've also found a freeware 3D modelling program that isn't lacking in features. It's called "OpenFX" and it's pretty cool, so we can make our objects in that if we want...
I'm still making MIDI files (cranking them out!) and so far I have 2 complete and 1 in the making. I used to have like 10 but a disk crash took all of them away....
But I'm working on this very hard!
Keep up the good work guys!