Jump to content

f13rce

Members
  • Posts

    510
  • Joined

  • Last visited

Everything posted by f13rce

  1. f13rce

    Low FPS

    Hey guys, I've been with this problem for a pretty long time, thought it was time to show what I had after a testing round. The problem is that I have a low FPS, while the map (Mall) is only 14k tris. My graphics card is an NVidia GeForce 9800GTX with 512mb. My processor is an AMD Phenom II X4 965, so even quad core. Got a few screenshots here: As you can see here, the triangle count is only 14k. The average FPS in 3DS Max is about 33. After I exported it to .gmf with the 3DS Max tool, the triangle count is slightly different, saving about 50 tris: So I went to test the FPS in the Editor, with the lowest settings except for the texture quality, which has been set to 'Very High'. So I tried to collapse all the models, which was a possible solution after seeing this topic. Even after trying that, the geometry only got worse, materials got erased but the FPS raised with about 250%. You can see the FPS bottom-left of the window. Normal: Collapsed: If you have any idea what it could be, then please, make a post. I'm really curious to know what this could be. Thanks for reading and helping me, Ivar / Evayr
  2. Wired tree: 275 KB/s InMotion: 1.2 MB/s Limetric: 1.3 MB/s Downloading from: The Netherlands
  3. f13rce

    Publishing my game

    Looks nice RVL, I hope for you people will love it. I do already because of the graphics ^^
  4. Wow, that's epic to hear.... Good luck and have fun man
  5. f13rce

    Texturing

    One word... THANKS!!!! I could use this SO BAD! Exactly where I was looking for Thanks again! - Ivar / Evayr
  6. f13rce

    Texturing

    Thanks for the reply DaDonik I've downloaded 3DCoat and I'm experimenting now... Looks like a fun program to work with. I'll post some result after playing around with it I wish.. it's 4.5k though. But for a viewmodel it isn't that bad - Ivar / Evayr
  7. f13rce

    Texturing

    Hey guys I'm working on this weapon since a few days ago, and it's ready now for texturing. -- I'm currently working in 3DS Max and could UVW Unwrap it, and only found box mapping a bit useful. But I don't have much skill in drawing etc, so I wonder how you guys make some (nice) textures for your models. I do know CGTextures.com, but it didn't really help me out. If you know an other program just to texture it, please tell. I'll look into it. -- So here's my viewmodel of the AK47 (arms are from an other model, which was already textured): And here's the UV which came out of 3DS Max: So the question: How do you texture your model? -- Thanks Ivar / Evayr PS: Feedback about the model is also welcome
  8. Thanks, that worked @Pixel: We've troubled it out.
  9. Hey there LE community , Yeah I'm enjoying my time in France. Now that I'm trying to finish the networking here using 39dll I got stuck with a problem. I'm trying to make a player object when someone joins. I have made a struct for the Players (named players) and if someone joins we get his playerid. piece of code: players[playerid] = readbyte(0); This all goes well untill I want him to assign an X, Y or Z coordinate: players[playerid].X = 1000; The compiler claims I haven't initialized the X of players yet while players.X=<number>; works. I've checked the C2228 page a LOT and I wasn't able to fix this, hereby this thread. Does anybody have experience with this or does know what could be the problem? A small tutorial how to initialize a struct with []'s would also work Thanks and greetings from France, Ivar / Evayr
  10. Nicely done man Good luck with the project!
  11. f13rce

    Maximum FPS

    Hey lads, I'm making an online shooter, and I've noticed that my game is running about 140-200 FPS. When the FPS is dropped to 60 because several lightnings and stuff, the game is calculating variables way slower (logical). In an online game (especially a shooter) that might be annoying for people who have a not-so-good PC there. So I'd like to set the maximum FPS to 60. So my question is; Is there any function in C or on Leadwerks to set the maximum FPS? Thanks, Ivar
  12. Save as .mat material with notepad like this: Make sure you choose "All files" instead of the "Text Documents", so it won't save as "name.mat.txt"
  13. Thanks for the quick reply After looking I saw the "TEvent *cevent", as here below. inline int WaitNetEvent(THost host, TEvent *cevent , int timeout) { return leWaitNetEvent(host, cevent, timeout); } What does cevent do? At last, I've heard of RakNet before, is there a diffrence in speed between RakNet and the Leadwerks functions? Thanks for answering
  14. Hey all, I've been trying to make a simpel client and server to put it later in my game, but I've encountered some problems: After checking the Wiki how and what, it said I had to use WaitNetwork, which isn't (according to MVS) an identifier. So what should be correct identifier for WaitNetwork in C? Also I've been looking at CreateHost, which unfortunately is in Lua. Is it possible to get this in C? Thanks for helping - Evayr
  15. I'm using C for programming because it looks most like Game Maker Launguage which I was using for like 4 years from now.
  16. Problem has been solved. For some reason the .DDS files was making the program crash, even though I used the MakeDDS.exe tool. Now I'll have to do everything by hand instead of the tool. Problem has been solved though. Source will be removed.
  17. Thanks for the comments I tried the whole debugging, but I think I made my code too messy, could use some tips. Since it's the first time using an other program to program with, I write all the code in one CPP. But after looking in other people their sources I see you use plenty of includes. I've tried your tops Lumooja, even though I has to comment all the things away. Again, I've made my code too messy I think. The source is in the spoiler below: <source removed> If someone can save this, thanks! Else I'll be starting over I guess with other methods. =| - Ivar / Evayr
  18. *Bump* Changing software for programming (MVS2008 --> Code::Blocks) didn't work. I also tried changing from console to window application, which neither worked. After that I tried running a backup from a few months ago; no luck.. I don't like to start my project from 0 again.. Anyone an idea how to fix this?
  19. While programming my game I encountered a weird error which causes trouble when starting up (see attachment). nvoglv32.dll probably something has to do with nVidia and Open GL, so I tried reinstalling the drivers, but it doesn't work. Then of course I tried using Google, which didn't work (not good results). I also moved from Vista 32 bit to W7 64 bit (which was about time), which neither seems to matter. The Editor, Modelviewer and Sandbox all work fine and smooth, so it must be my project. Any ideas what causes this? Thanks for the help, Ivar / Evayr
  20. In this code PointEntity(BotBasic,cam,botrotation.X,botrotation.Y,botrotation.Z); I noticed you only have to say "botrotation.Y=0" and it won't turn up
  21. *Sigh* I feel so silly.. lol. It worked, thanks.
  22. Ok, I'm trying to make an enemy looking at the player. I made a Vec3 named 'botrotation' and made them standard 0. In the while function I assigned this piece of code: botrotation.Y=asin((camerapos.Y)/(EntityDistance(BasicBot,player)))); //Looking up and down botrotation.Z=acos((playerpos.Z-botpos.Z)/(EntityDistance(BasicBot,player))); //Looking left and right PositionEntity(BotModel,Vec3(botpos.X,botpos.Y,botpos.Z)); //Making sure the model is at its position botpos=EntityPosition(BasicBot); RotateEntity(BotModel,botrotation); RotateEntity(BasicBot,botrotation); The BotModel is the character model of the bot. BasicBot is the bot itself. When I mess around with this code then either the model is just completely gone (not even under the ground or so), or it is just steady and doesn't move at all. So here is my question: How do I make the enemy look at me? Cheers, Ivar/Evayr
  23. f13rce

    Next up...

    Sweet... By the way, how did you move the upper body with the cam rotation while the legs keep standing up?
×
×
  • Create New...