This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Messages - ruler501
Pages: 1 ... 60 61 [62] 63 64 ... 184
916
« on: July 11, 2011, 06:04:19 pm »
I can''t read it. How do I change the encoding?
917
« on: July 11, 2011, 02:48:08 pm »
DJ_O it is your choice, but I think it would actually be better for the calc community if you took a break but did not leave forever I will forever be waiting for you to come back. You and a few other people in this wonderful community we call omnimaga are the reasons I still program. I was close to giving it up, but you guys showed me that it could be useful and good. I and I'm sure everyone except the most horrible trolls will miss you terribly. I hope you come back soon
918
« on: July 11, 2011, 12:58:40 pm »
whats the framerate right now?
919
« on: July 11, 2011, 12:08:51 pm »
pianoman I believe that it is a program that lets you draw 3d things like walls, trees and basically anything else. It calculates where the lines should go to. This is just my guess
920
« on: July 11, 2011, 11:51:31 am »
Once we have ndless for the CX it will probably be started. I doubt its possible in lua at anything more than 10^-25 frames a second
921
« on: June 30, 2011, 10:35:39 am »
I leave in 10 min so my final goodbye for now. I will have a blast and be back in ~12 days
922
« on: June 30, 2011, 10:33:11 am »
UPDATE: I haven't done much with the engine yet, but I have a well working script for generating the objects like weapons/players/enemies/obstacles levels are almost done and must be postponed till I'm done 'deserting' you guys. I should be able to have a beta of this out a week after I get back from Northern Tier
My code for the utility
import os import random import datetime
name=raw_input("What is your name?") curdate=str(datetime.date.today())
def base10toN(num,n): """Change a to a base-n number. Up to base-36 is supported without special notation.""" num_rep={10:'A', 11:'B', 12:'C', 13:'D', 14:'E', 15:'F', 16:'G', 17:'h', 18:'i', 19:'j', 20:'k', 21:'l', 22:'m', 23:'n', 24:'o', 25:'p', 26:'q', 27:'r', 28:'s', 29:'t', 30:'u', 31:'v', 32:'w', 33:'x', 34:'y', 35:'z'} new_num_string='' current=num while current!=0: remainder=current%n if 36>remainder>9: remainder_string=num_rep[remainder] elif remainder>=36: remainder_string='('+str(remainder)+')' else: remainder_string=str(remainder) new_num_string=remainder_string+new_num_string current=current/n return new_num_string
type=int(raw_input("""what type of file are you making 1)weapon 2)obstacle 3)player 4)enemy 5)level 6)levelpack\n""")) if type==1: wname=raw_input("What is this weapons name? It is a max of 10 characters long\n") if len(name)>10: print "please try doing this again correctly" exit(1) ID=str(base10toN(random.randint(0,65535),16)) header='/str /'+wname+' /'+curdate+' /weapon /'+name+' /'+ID+' /end' wclass=raw_input("What is the class number for this weeapon?0-255\n") folder=raw_input("What is the image folder for this weapon?\n") strength=raw_input("How much damage does this weapon do?\n") type=raw_input("Is this a projectile or beem weapon?p or b\n") if type=='p': projectile=raw_input("What is the folder for the projectiles image?\n") speed=raw_input("how fast does this projectile move?\n") transparency=raw_input("How transparent is the projectile? 0-255\n") ammo='p '+projectile+' '+speed+' '+transparency elif type=="b": width=raw_input("How wide is this beam?\n") speed=raw_input("How fast does the beam move? put 0 for instantaneous movement\n") color=raw_input("What is the hex value of the color of this beam?\n") transparency=raw_input("How transparent is the beam? 0-255\n") ammo='b '+color+' '+width+' '+speed+' '+transparency else: print "Please do this correctly next time" exit(1) aimab=raw_input("How amaible is this weapon? 1-360\n") transparency=raw_input("How transparent is the weapon? 0-255\n") clip=raw_input("How many shots do you have between reloads?\n") time=raw_input("how many frames are there between shots?\n") reload=raw_input("How long does it take to reload(in frames)?\n") usablen=int(raw_input("How many classes is this usable by?\n")) usable='' for i in xrange(0,usablen): usable=usable+' '+raw_input("What is a class this weapon is usable by?\n") file=open('w'+wname, 'w') file.write(header) file.write('\n') file.write(wclass) file.write('\n') file.write(folder) file.write('\n') file.write(strength) file.write('\n') file.write(ammo) file.write('\n') file.write(aimab) file.write('\n') file.write(transparency) file.write('\n') file.write(clip) file.write('\n') file.write(time) file.write('\n') file.write(reload) file.write('\n') file.write(usable) file.close() elif type==2: oname=raw_input("What is this obstacles name? It is a max of 10 characters long\n") if len(name)>10: print "please try doing this again correctly" exit(1) ID=str(base10toN(random.randint(0,65535),16)) header='/str /'+oname+' /'+curdate+' /enemy /'+name+' /'+ID+' /end' imgType=int(raw_input("""Is this obstacle a solid fill or a img file: 1)solid fill 2)img file\n""")) if imgType==1: hex=raw_input("what is the hex value of the fill color?\n") img="hex "+hex elif imgType==2: folder=raw_input("What is the name of the folder with the image(s)?\n") img="img "+folder else: print "Try putting in a valid number 1 or 2 next time" exit(1) transparency=raw_input("How transparent is this obstacle? 0-255\n") damage=raw_input("How much damage does this obstacle do? 0 if it doesn't do damage\n") slow=raw_input("By what percentage does this slow a player/enemy? 100 if you can't pass through it\n") destroyable=int(raw_input("Can this obstacle be destroyed? 0 or 1\n")) if destroyable==1: health=raw_input("Out of 100% how much damgae can this obstacle take?\n") destruction="1 "+health elif destroyable==0: destruction="0" else: print "Please try to put in a value number 1 or 0 next time" exit(1) gravity=raw_input("Is this obstacle affected by gravity?0 or 1\n") file=open('o'+oname, 'w') file.write(header) file.write('\n') file.write(img) file.write('\n') file.write(transparency) file.write('\n') file.write(damage) file.write('\n') file.write(slow) file.write('\n') file.write(destruction) file.write('\n') file.write(gravity) file.close() elif type==3: pname=raw_input("What is the name for this player? It is a max of 10 characters long\n") if len(pname)>10: print "please try doing this again correctly" exit(1) ID=str(base10toN(random.randint(0,65535),16)) while len(ID)<4: hold='0'+ID ID=hold header='/str /'+pname+' /'+curdate+' /player /'+name+' /'+ID+' /end' pclass=raw_input("What is the class number of this player? from 0-255\n") folder=raw_input("What folder has the images for this player?\n") health=raw_input("How much health does this player have? Out of 100\n") jump=raw_input("How quickly does this player jump?\n") transparency=raw_input("How transparent is this player? 0-255\n") speed=raw_input("How fast is this player?\n") walljump=raw_input("HCan this player walljump? 0 or 1\n") crouch=raw_input("Can this player crouch? 0 or 1\n") file=open('p'+pname, 'w') file.write(header) file.write('\n') file.write(pclass) file.write('\n') file.write(folder) file.write('\n') file.write(health) file.write('\n') file.write(jump) file.write('\n') file.write(transparency) file.write('\n') file.write(speed) file.write('\n') file.write(walljump) file.write('\n') file.write(crouch) file.close() elif type==4: ename=raw_input("What is the name for this enemy? It is a max of 10 characters long\n") if len(ename)>10: print "please try doing this again correctly" exit(1) ID=str(base10toN(random.randint(0,65535),16)) while len(ID)<4: hold='0'+ID ID=hold header='/str /'+ename+' /'+curdate+' /enemy /'+name+' /'+ID+' /end' eclass=raw_input("What is the class number of this enemy? from 0-255\n") folder=raw_input("What is the name of the folder with the images?\n") health=raw_input("How much health does this enemy have out of 100?\n") jump=raw_input("How fast does this enemy jump(px/s) put zero if he can't jump?\n") transparency=raw_input("How transparent is this enemy? 0-255\n") speed=raw_input("How fast does this enemy move(px/f)?\n") crouch=raw_input("Can this unit crouch? 0/1\n") AIlvl=raw_input("how good is this enemies AI? 1=perfect\n") file=open('e'+ename, 'w') file.write(header) file.write('\n') file.write(eclass) file.write('\n') file.write(folder) file.write('\n') file.write(health) file.write('\n') file.write(jump) file.write('\n') file.write(transparency) file.write('\n') file.write(speed) file.write('\n') file.write(crouch) file.write('\n') file.write(AIlvl) file.close() elif type==5: lname=raw_input("What is the name for this enemy? It is a max of 10 characters long\n") if len(lname)>10: print "please try doing this again correctly" exit(1) ID=str(base10toN(random.randint(0,65535),16)) while len(ID)<4: hold='0'+ID ID=hold header='/str /'+lname+' /'+curdate+' /level /'+name+' /'+ID+' /end' startx=raw_input("What is the x value of the starting positions top left?\n") starty=raw_input("What is the y value for the starting positions(higher=lower) top left?\n") start=x+','+y endx=raw_input("What is the x value of the ending positions top left?\n") endy=raw_input("What is the y value of the ending positions(higher=lower) top left?\n") endimage=raw_input("what is the name of the image for the ending position?\n") endtransparency=raw_input("What is the transparency for the ending? 0-255\n") endtime=raw_input("How long do you have to stay on the ending position to win?\n") end= endx+','+endy+' '+endimage+' '+endtransparency+' '+endtime enemyamount=int(raw_input("How many enemies will you need to make?\n")) enemies='' for i in xrange(0,enemyamount): ename=raw_input('What is this enemies name?\n') ex=raw_input("What is the x value of the top left of where this enemy appears?\n") ey=raw_input("What is the y value(higher=lower) of the top left of where this enemy appears?\n") eweapon=raw_input("What is the name of its default weapon?\n") ewclips=raw_input("How many clips does it start with?\n") entrance=int(raw_input("""Does this enemy come in 1)on time 2)randomly 3)by player position\n""")) if entrance==1: etiming=raw_input("HOw many frames into the game should this enemy appear?\n") entry='t '+etiming elif entrance==2: repeat=raw_input("Does this unit appear more than once? 1 or 0\n") entry='r '+repeat elif entrance==3: px=raw_input("When the player gets to what x value does this enemy appear?\n") py=raw_input("When the player gets to what y value does this enemy appear?\n") entry='p '+px+','+py else: print "Please do this correctly next time" exit(1) enemies+=ename+' '+ex+','+ey+' '+eweapon+' '+ewclips+' '+entry+' /' obstacleamount=int(raw_input("How many enemies will you need to make?\n")) obstacle='' for i in xrange(0,obstacleamount): oname=raw_input('What is this obstacles name?\n') ox=raw_input("What is the x value of the top left of where this obstacle appears?\n") oy=raw_input("What is the y value(higher=lower) of the top left of where this obstacle appears?\n") ogravity=raw_input("Is this obstacle affected by gravity?0 or 1\n") randomness=raw_input("Does this obstacle randomly appear throughout the level?\n") obstacle+=oname+' '+ox+','oy+' '+gravity+' '+randomness gravity=raw_input("What is the force of gravity in px's(lower=higher force)?\n") pweapon=raw_input("What is the default weapons name?\n") pwclips=raw_input("How many clips does the default weapon come with?\n") weapon=pweapon+' '+pwclips elif type==6: pass else: print "Try again with a valid number 1-6" exit(1) The level part of it doesn't work yet. Once I've released this I will make it into a graphical editor, but until then I'll leave it as purely text
923
« on: June 30, 2011, 10:20:48 am »
He'll probably never be able to have kids... I wonder how long he was in the hospital?
924
« on: June 30, 2011, 10:19:44 am »
wow! don't get lost
We'll have a guide with us who knows the area and a satellite phone just in case. I'll be sure to get back I have to finish my project
925
« on: June 30, 2011, 10:03:17 am »
Wow, you're going to be away for a while huh? I hope you have a blast! Watch out for poison ivy, and unfriendly wildlife... you know, like LOBSTERS.
I'll watch out for teh pink lobsters. The blue lobsters are my friends(as long as I don't break omnom). I'm almost completely immune to poison ivy thank goodness I have a pocket knife and the ability to run for my life to deal with wildlife I'll be gone for nearly 2 weeks(12 days)
926
« on: June 30, 2011, 09:51:34 am »
1735: You wish there could be invisible smilies.
1754: You wish there was invisible alt text.
1755;you fear where this might go to
927
« on: June 30, 2011, 09:43:30 am »
171B: You haven't even noticed that i started counting in HEX
Wow... I really didn't notice it until you mentioned it. 1752:THE GAME
1753: YOu are cursing art of camelot for his post
928
« on: June 30, 2011, 09:40:09 am »
Omnimaga has reached a new milestone Tuesday: For an entire year, the Omnimaga forums had no day under 100 posts! The last time we had under 100 was on June 28th 2010.
Here are the lowest and highest daily post counts for each month since June 2010, along with the entire month's daily average:
Month Low High Avg/Day Jun 10 89 446 242 Jul 10 124 462 211 Aug 10 134 410 240 Sep 10 124 553 310 Oct 10 263 522 388 Nov 10 213 739 421 Dec 10 206 595 377 Jan 11 248 452 334 Feb 11 188* 553 363 Mar 11 226 558 409 Apr 11 221 676 376 May 11 217 606 360 Jun 11 180 442 298 *Site went down during 8 hours Below are some older statistics: We would like to thank all our contributors for having helped to keep the site lively and the forum activity consistent, helping each others and contributing their releases for others.
I would also like to say that I am happy to see the site remaining as active regardless of my own activity level, which makes me confident the site will continue to thrive in long terms, no matter how much I contribute, if at all. Remember, however, that if you're participating to the Axe Parser contest, you only have 2 weeks left to work on your entry, so make sure to focus on this too (and don't forget about backups)!
I've had nearly 100 post days just a month or so ago
929
« on: June 30, 2011, 09:38:51 am »
It will be a lot of fun. I'm sure I'll miss being able to talk to the omni community though(well that and all things electronic)
930
« on: June 30, 2011, 09:11:59 am »
I'm leaving for Northern Tier today. I'll get back on July 11th. I'll probably be in sever withdrawal since there will be no electronics or internet or calculators . Northern Tier is a Boy Scout High Adventure Trip. A 50 to 130 mile canoing trip depending on the weather. It will be through the Minnesotan/Canadian Boundary waters where we have to carry the canoes and 60+ lb. supply bags from each lake to another. It'll hopefully be a lot of fun. When I get back my projects will be kicked into high gear(I already almost have all the editors set up for my one project)
Pages: 1 ... 60 61 [62] 63 64 ... 184
|