Jump to content


Photo

Terrain car sample


  • This topic is locked This topic is locked
29 replies to this topic

#21 -DarkAceZ-

-DarkAceZ-

    GMC Member

  • GMC Member
  • 95 posts
  • Version:GM8

Posted 15 December 2011 - 06:03 PM

O.o Woah, calm down...

Anyway, I'm going to try this game in LateralGm, and see how it runs, but I'm thinking it won't...
  • 1

#22 MasterOfKings

MasterOfKings

    The True Master

  • GMC Member
  • 4888 posts
  • Version:GM8

Posted 17 December 2011 - 04:59 AM


Just saying, ean, why didn't you just say what you're system specifications are instead of saving it uses a lot of resources and crashes?

Plus, it was a stupid idea to tell the mods to close the topic just because you suffered.


My hardware isn't that bad, I have a dual core processor just like the OP and 6000 series GeForce video processor. I've never encountered a GM file that took over a minute to load, so naturally I thought it crashed, which it actually did when I tried to close the window. My entire computer froze permanently, I don't know how more specific that could be. Also, I posted in another of his topics which did the same thing and he didn't reply to my post at all, so I figured it was best to warn the mods about it. As a fail safe, I asked the mods to make sure it crashed their computers before they closed the topic. It's up to the OP to make sure his files work, and I'm sure there are computers much worse than mine. I could care less if a GM game crashes but when it affects my computer that's a different story. Now can you quit b*tching about me taking the only sensible course of action?

If you have hardly any RAM, how good your CPU and GPU is neither here nor there.

What you did wasn't the only sensible option. System-specific issues are common. Someone can have the same specs as you and the game would run fine. You should have told the mods to check the file first.

In case you argue about that, your post stated...

I really wanted to try this but it crashed my PC again. I'm not trying to be competitive but
we really can't have something like this available to users.
I have asked the mods to close this one and I don't know if they will or not but
I have saved a copy of your post in case they do. If you are able to make this less hazardous
I will send you it in a timely fashion.

Effectively, you've said "it didn't work for me, so it can't possibly work for anyone else, so the mods should close it". It wasn't until later that you told them to check it first.

Quit acting like your opinion is worth more than anyone else's. Yes, the file is heavy on resources, but that is not to say it's "useless". Look inside the file for possible reasons to the problem and help solve it, as opposed to be a competitive cry baby.
  • 1

#23 Gamer3D

Gamer3D

    Human* me = this;

  • GMC Member
  • 1618 posts
  • Version:GM:Studio

Posted 20 December 2011 - 08:31 PM

If you have hardly any RAM, how good your CPU and GPU is neither here nor there.

The game takes about 2 gigabytes of memory. That's more than Windows uses, and brings total memory usage to about 2.5 gigabytes, just to run a small example. It's nowhere near a reasonable amount.

Quit acting like your opinion is worth more than anyone else's. Yes, the file is heavy on resources, but that is not to say it's "useless". Look inside the file for possible reasons to the problem and help solve it, as opposed to be a competitive cry baby.

I agree with this point though.


EDIT: Despite the memory usage, still one of the better GM car examples.
EDIT 2: Nevermind. Too many objects to be useful. I don't even know where to start looking for the startup code.
EDIT 3: My suggestions for fixing this abomination:
  • Group your objects. You may not be sufficiently skilled to do this without a ton of objects. Creating intelligent subgroups for your objects will make it much easier to find the ones desired. Of course, if you can do this with just a couple objects and generalized code, that would be better.
  • Indent your code. It is really annoying to try to read unindented code.
  • Comment your code blocks. A single line at the top of the code, starting with ///, will allow you to set the text displayed by the drag-and-drop editor.
  • Combine objects. You shouldn't have separate objects for obj_karr, draw_car, and mod_car. There are separated events for a reason.
  • Clean up memory you're done using. If you don't free the memory, you get memory leaks, which eventually lead to crashes no matter how much memory you have.
  • If you use a semicolon ';', it's time to start a new line.
  • Don't load both terrains at startup. I know you want to say that you moved the terrain in realtime, but you only swap between terrains, which is trivial (Moving terrain implies a smooth movement, which requires either drawing dynamically or re-building the model dynamically, which is slow. That is why people told you it can't be done). It also increases the time to start the game.
  • return isn't a function, so "return(a);" is the same as "return a;". This is more of an annoyance though.
  • PUT YOUR CODE WHERE IT MAKES SENSE. The orthographic projection object has a "global.carcolor = c_white" line. That is nowhere near where it should be.

Edited by Gamer3D, 20 December 2011 - 09:13 PM.

  • 0

#24 ShubhamBansod

ShubhamBansod

    Pokemon Master

  • GMC Member
  • 269 posts
  • Version:GM8

Posted 26 December 2011 - 04:29 AM

NICE EXAMPLE........CAN YOU ALSO DO THAT WITH A BIKE AND MAKE A PLAYER WHICH WILL SWITCH TO DIFFRENT CARS AND BIKE WHEN PRESSING 'F' KEY......LIKE GTA..... :sweat:
  • 1

#25 japjap

japjap

    GM-LINUX GM-PS4 user

  • New Member
  • 124 posts
  • Version:GM8

Posted 27 December 2011 - 12:38 PM

O.o Woah, calm down...

Yes guys calm down. You don’t have to shout. We are all near by.

Just saying, ean, why didn't you just say what you're system specifications are instead of saving it uses a lot of resources and crashes?

Plus, it was a stupid idea to tell the mods to close the topic just because you suffered.

ean@ I agree with this because of you I almost got banned. But thanks to XOT who cleared out all unevenness I am still here.


NICE EXAMPLE........CAN YOU ALSO DO THAT WITH A BIKE AND MAKE A PLAYER WHICH WILL SWITCH TO DIFFRENT CARS AND BIKE WHEN PRESSING 'F' KEY......LIKE GTA..... :sweat:

GTA V style is very simple make the windows of the car transparent. Add seats in the body. + You need 9 seperate model parts of the car. Windscreen, Leftdoor window, rightdoor window, Left door, Rightdoor, Boot and Bonet, front and rear bumber. Then the guy model in 7 different movements.

Yes I can do that. But not in a short time. Espeshialy when some guys are trying to run this sample on ultra slow computers press the Report button. More trouble with YOYO staff for me?

However I will make the terrain smaller and not use MP3 files in the upcomming update. Hopefully also a better version of GM8 is out. Which will speed up things. Dont expect that to be done before the and of february. For now I am really busy experimenting with realistic human models.


Gamer3D@ thanks for the sugesstions and complains.

This project is in beta stage and is open to suggestion and complains.
  • 0

#26 ean

ean

    GMC Member

  • New Member
  • 190 posts
  • Version:GM8

Posted 27 December 2011 - 04:07 PM

I did not ask the mods to ban you so I don't know what that's all about.
  • 0

#27 Zesterer

Zesterer

    Professor of Articul

  • GMC Member
  • 1022 posts
  • Version:GM8

Posted 06 February 2012 - 08:19 PM

Is there a .gmk version?

Thanks,

Zesterer
  • 0

#28 Himanshu

Himanshu

    GMC Member

  • GMC Member
  • 37 posts
  • Version:GM8.1

Posted 22 July 2012 - 08:54 AM

invalid or deleted file :mad:
  • 0

#29 nmmn

nmmn

    GMC Member

  • GMC Member
  • 13 posts
  • Version:Unknown

Posted 03 February 2013 - 09:37 PM

invalid or deleted file :mad:/>/>

<removed>
It says version3. Looks the same as screenshot

Does anyone have other versions?

Edited by Desert Dog, 04 February 2013 - 02:16 AM.
link removed

  • 0

#30 Desert Dog

Desert Dog

    GMC Member

  • Global Moderators
  • 6409 posts
  • Version:Unknown

Posted 04 February 2013 - 02:19 AM


invalid or deleted file :mad:

<removed>
It says version3. Looks the same as screenshot

Does anyone have other versions?


Sorry, I know you have good intentions, but it's up to the OT to share&host the file.

And as it's dead, I'm going to close this.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users