how would i go about this?

i would like to make an editor to ONLY display an entity's health,shields,cost,supply,time built,weapon damage and cool down times,and other important number-related valuesso that they can be edited.

the part i have trouble with is the coding,i am only beginning to understand the C language and right now i simply have no clue how to code something like this. any help?

7,947 views 5 replies
Reply #1 Top

So an entity file editor? Well I haven't used C in a while, but find a tutorial on how to read a file line by line, check the first word of the line for a desired value label (MaxShieldPoints for example), and if it finds one jump a space and save the number following it. Weapons damage will be harder than the rest though because a lot of numbers effect the DPS the game shows you (different damages in each direction, firing time, up to 3 different weapons), so you'll need to save a lot of numbers.

Reply #2 Top

yea,tats what i thought,but the damn problem is that i have no clue how to do that.

Reply #3 Top

 for the record,i am extremely pissed off by this crap.

Reply #4 Top

suggestions for storage of numbers in a program are variables and arrays, and for larger collections of information then I would suggest arrays.

harpo

 

+1 Loading…
Reply #5 Top

oh ok! i hadn't thought about them,thanks.