okay, the entity system will work whereby each entity has a name. then it has the data, the data has a tag as in Name, health, then there is a value for it, such as Richard, 100. then there is a flag which sets whether its protected or not.
Printable View
okay, the entity system will work whereby each entity has a name. then it has the data, the data has a tag as in Name, health, then there is a value for it, such as Richard, 100. then there is a flag which sets whether its protected or not.
Hmm? Protected?
yea, like so they cant be edited when theyre inherited, as in whether a archer can mount an animal (such as a horse) it cud be set so this attribute can be changed yet can for a different type of unit.
Ok...I've come up with something
Psy has heard some of it
I imagine the theme more militaristic and....war-like...
not too calm.. and this is how I've made it...
Have a hear...(try it out)
http://www26.brinkster.com/larse/timesintro.mid
Bravo! I loved it! Might want to make it a bit more "clear" if you know what I mean (bring the trumpets louder, etc).
Ive got a long night of coding ahead of me, so we shall see what I get done =).
Z.
Alright, mouse actions now respond to binding... =)
Z.
And I moved the camera controls over to consle functions as well... having a slight problem with the down arrow... for some reason it wont exectute it's bound function, but ill get it tracked down eventually =)
Z.
Been working on the entities :)
Zaei, :D
And then I want your response
It is to be found at:
http://www26.brinkster.com/larse/cmps.html
The one you're looking for is the 1. Movement - Introduction
Igor, will listen in a sec =).
Got the down arrow working... forgot the newline at the end of the config script =)
Z.
Sounding good Igor! =)
Z.
Sounds great as usual.
All: Server is back up tonight. It was a P2-233 with 384MB of RAM, and with the necessary upgrades, it is a Duron XP 1200 + with 1GB of RAM ;)
Mouse selection works now =). When an object is selected, it gets its indicator =).
Next is getting the selected things to move =).
Z.
Mouse dragging and mouse clicking both work now... moving right along =).
Z.
Sas - Excellent :D
Zaei - Sweet :D
OK, thanks for the status reports. I haven't been feeling the best these last couple of days so sorry for the lack of posts.
Doing a bit of rewriting... organization and stuff =). Should allow for some fun effects =).
Z.
At school e have to do a talk for this thing called Key Skills. For my talk im doing a presentation to my Computing class to show them how VB and programming can build up to create massive layers within a program.
Times of War the game and times of war editor shall be used in the talk :D
I have to video it so i may stick it on the web once my broadband is installed (today) :D
Thats cool, Psy =). If this thing was a tad more polished, id offer to send you a build, and you could let your class do a bit of playing around =).
I need a new object manager, something nice and central, so I need to write that up. Fell asleep thinking about it earlier this afternoon, but ill get cracking =).
Z.
Ok, Object manager in place... and it works a treat. Objects can be deleted over time, now... so the unit selectors now fade out (it looks sooooo good).
Z.
Yuh huh, we cant play with it too much as its running off a laptop that has no Direct X Possibilities and the school ones only have Direct X 8 :s
Broadband is so blooody good i tells ya!
Yeah :sighs:. I'm just lucky that everywhere I go has the same cable internet (but that means if it's down, I have no internet anywhere).
Igor... I absolutely love the TimesIntro song. Gimme more =)
Z.
I said it before, but bravo.
Hi,
It's been 6 weeks since I checked out the forums. Been busy. Thought I would peek to see how the TOW development is going. As always you guys are busy about details. I am still impressed that you can stick to such a project for so long. Keep it up!
Any release dates? Still interested in test driving. Any new screenshots?
Igor, the music is beautiful. My 19 year-old was a classical pianist and did a lot of neat stuff with computers, MIDI, etc. He's in Air Force now and not able to devote much time to this. Your music reminded me of him being at home and playing the piano in the living room...cool! Keep it up.
Regards,
ChuckB
Hey, all... its been a while sicne the last update =).
I was working on the selection box, however, it turned out to be way too slow to be workable (my frame rate went from 40-55 normal, to 4-16 when selecting... unacceptable). Ill be reworking that at some point. I took the rest of the weekend to do a bit of playing myself, and designed a function to solve an inverse kinematics problem. Here is the function, if you want to play...
Essentially, given the points a and b, and link lengths l1 and l2, it will solve for point s, a point that is length l1 from point a and length l2 from point b. Enjoy =).Code:Private Function SolveIK(a As POINTAPI, b As POINTAPI, s As POINTAPI, l1 As Long, l2 As Long) As Boolean
Dim cpl As Long
Dim at As Single
Dim t As Single
Dim tl As Long
cpl = Sqr(((b.x - a.x) ^ 2 + (b.y - a.y) ^ 2))
If (cpl = 0) Then
SolveIK = False
Exit Function
End If
t = (l2 ^ 2 - l1 ^ 2 - cpl ^ 2) / (-(2 * l1 * cpl))
If (t <= -1) Then t = Abs(t) - 1
If t < 1 Then
at = Arccos(t)
t = (l1 ^ 2 - l2 ^ 2 - cpl ^ 2) / (-(2 * l2 * cpl))
tl = b.x - a.x
If (tl <> 0) Then
rt = Atn(Abs(b.y - a.y) / tl)
End If
If (b.x < a.x) Then
rt = rt + 3.14159
End If
If (b.y - a.y < 0) Then
rt = 3.14159 * 2 - rt
End If
s.x = (a.x + l1 * Cos(at + rt))
s.y = (a.y + l1 * Sin(at + rt))
SolveIK = True
Else
SolveIK = False
End If
End Function
Z.
Hey there, Chuck. We are shooting for a Christmas mini release, so be on the lookout =). I dont know If I will be posting any screen shots until then, but if you scan the last few pages, there should be some scattered around =).
Z.
Yeah, its going to be a dealie with a few bells and whisles (namely, attacking :rolleyes: ). Be on the lookout.
Argh. I hate this time right now. This time is when I'm bogged down with so much work, I don't have time for all of it, let alone for free time. Sorry guys :(
I know how it is... ill have a lot more time starting friday, though =).Quote:
Originally posted by Sastraxi
Yeah, its going to be a dealie with a few bells and whisles (namely, attacking :rolleyes: ). Be on the lookout.
Argh. I hate this time right now. This time is when I'm bogged down with so much work, I don't have time for all of it, let alone for free time. Sorry guys :(
Z.
Figured out the problem with the selector slowdown thing... it was actually my terrain ray casting code... as a temporary solution till I get a chance to go and optimize that, im just intersecting the mouse ray with a flat plane. Im working on getting the texture coordinates working correctly, and then (contrary to an earlier post) ill get you all a screen shot =).
Z.
And here you are =).
Please note that all of the textures are interchangable. These are just test textures =).
http://www.vbforums.com/attachment.p...postid=1295130
Z.
Sweet nuts!!
Tho, the square selection round the tree is way too huge for the tree.
Looking excellent though!
The square is what you drag around to show what you want to select =).Quote:
Originally posted by PsyVision
Sweet nuts!!
Tho, the square selection round the tree is way too huge for the tree.
Looking excellent though!
Z.
Just modified the selection box (the square thing) so that it fades out after you release the mouse button =). Looks very nice =).
Z.
Zaei - make it a solid selection frame, and I'll buy you dinner..
well... maybe not... but you get my point.. :D
Later =).
Z.
Working on implementing path finding today =).
Z.
hmmm, all this progress from Zaei and i feel a right bum for not doing much work recently.
work, school, girlfriend taking all my time :s hehe, i will do some soon :D
No problem... Ive been feeling quite lazy recently :D
I believe I have the algorithm implemented, now just making it all work together =).
Z.