data making.....

This is a discussion on data making..... within the Game Programming forums, part of the General Programming Boards category; Hi I want to know how I could make a data system for a game. For Example.... let's say I ...

  1. #1
    Registered User
    Join Date
    Jul 2005
    Posts
    32

    data making.....

    Hi I want to know how I could make a data system for a game.

    For Example....

    let's say I made a 3d house , I want to make an ID number for that house so my script could tell what 3d model or what kind of house it is.

    and I want to randomly generate of how many people lives in that house, once the script generated that number it then picks depending on that amount it generated for it it randomly said 5 people that number would be stored in memory, and then next step is to generate a ramdom 3d human model once seleted then save those in memory and then select 2 cars or so and generate an reasonable income...

    How would I start making such a structure....???

    and how can I create my own animation and script it and play the animation at certian times or conditions?

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    Are you planning on using C or C++? Do you actually have any experience with programming in those languages? Even if you do, 3D graphics is not simple.

    Or do you just want to take an existing game engine and use some sort of scripting language to create the house etc?
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #3
    Registered User
    Join Date
    Jul 2005
    Posts
    32
    well I know c++ and c-script, I never made a program, I plan on using a 3d engine, just for 3d graphics. I want to learn on in games how to make a logic system and data structure, that uses 3d models and it's animation in a controled way.

    and how to make or generate a randome number.

    I have just made calculators that's really it, I do have a book on making a 3d game engine.

    and books on computer hardware and software at the basic low level, the insides.

    like logic gates ect.

    for me it sound's hard to just start I mean if I can look at some code or someone give me an example or explainantion on what I would need to know to make an overall data system that I can use for the whole game.

  4. #4
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,586
    Well considering your post just covered about 20,000 lines of code it's really not all that simple.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Errors
    By Rhidian in forum C Programming
    Replies: 10
    Last Post: 04-04-2005, 12:22 PM
  2. Binary Tree, couple questions
    By scoobasean in forum C Programming
    Replies: 3
    Last Post: 03-12-2005, 08:09 PM
  3. All u wanted to know about data types&more
    By SAMSAM in forum Windows Programming
    Replies: 6
    Last Post: 03-11-2003, 02:22 PM
  4. Replies: 1
    Last Post: 07-31-2002, 11:35 AM
  5. C Programming Question
    By TK in forum A Brief History of Cprogramming.com
    Replies: 13
    Last Post: 07-04-2002, 07:11 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21