7 Replies - 556 Views - Last Post: 24 May 2012 - 08:44 AM

#1 Gijsdemik  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 22-May 12

Is this possible in XNA user conent and wizzcode language

Posted 24 May 2012 - 05:47 AM

Hi all
I wonder a few things about XNA

I just spend 26mins writing a long post explaining all
but i think it comes down to this (ive acadently presd back before posting it lolol)
1 Can i make my own custom code that modfies XNA script or Add dynamic content
2 Is it possible to make XNA add game content on to go(as the game runs)
3 are there any limits in XNA i should keep in mind?

bascily the thing what i will be programming in xna is
1 Basic 2d turn based game eninge
2 Wizz code reader/XNA converter
3 define all wizz code funtions and stuff
4 game rules and conditions

Or should i not use XNA for this and do you people recommend me a difreant programing language?
i have been workin on the concept for quite a while now and ive made a game plan/desinge and spirtes
do note that i dont know a lot about programming yet but i learn verry fast

greetings Gijs de mik

Is This A Good Question/Topic? 0
  • +

Replies To: Is this possible in XNA user conent and wizzcode language

#2 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 6472
  • View blog
  • Posts: 23,540
  • Joined: 12-June 08

Re: Is this possible in XNA user conent and wizzcode language

Posted 24 May 2012 - 07:52 AM

What are "Wizzcodes"?
Was This Post Helpful? 0
  • +
  • -

#3 Gijsdemik  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 22-May 12

Re: Is this possible in XNA user conent and wizzcode language

Posted 24 May 2012 - 08:22 AM

Hi wizz code will be a code writen bye me for "easy coding" my wizard game
it the user may select from an editor objects and routinese predcoded bye my in XNA
the editor wil generate a WizzMod file ie MyMod.WCS
this wil be a packed file whit wizzcodes like Creatures.WCF
whit in XNA i will make routines and loops n such like that

and the WizzCode loader

sorry for not explaining it before

i tought of making a "wizzcode" by letting XNA runn a counter that will start at line 000
And when the command #EXIT=[Next] is given the XNA object creator maker thing is reset to 001 and finilzed ie new content is added also it wil go on to creat a new object or skip the "creature file"(if defined)
and load next file ie "world"

for instance A #EXIT=[SKILLS] wil load the skills file



i want to create something like this

wizzcode What it does
!!! Comment
000 #FILE="Creature list" Creatures List
001 #HEALTH="25" creatures healt
002 #EXIT=[Next] lets xna counter reset and go to 001
001 #ectra.....
002 #EXIT=[World] lets xna counter reset to 0 and go to the mods next file "world"

all i want is to add dynamic user content and small code routines that they can select from a objectlist n stuff
using my own code and editor
i want my wizzcode to trigger certain precoded XNA routines and codes
creat a "global game eninge"


hope this clears things up
this is a screen of the editor i am building now (doest do anything yet )

Attached File(s)


Was This Post Helpful? 0
  • +
  • -

#4 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 6472
  • View blog
  • Posts: 23,540
  • Joined: 12-June 08

Re: Is this possible in XNA user conent and wizzcode language

Posted 24 May 2012 - 08:26 AM

Okay... so what I am getting is you want to use XNA in-conjunction with a custom scripting language/system you are creating?
Was This Post Helpful? 0
  • +
  • -

#5 Gijsdemik  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 22-May 12

Re: Is this possible in XNA user conent and wizzcode language

Posted 24 May 2012 - 08:29 AM

Yes thats what i hope to make :)
the wizzscript should be a easy codeing for modding the game
and for me to add content and objects to the game
modifie game rules and such just to make it easy for all to mod the game
Was This Post Helpful? 0
  • +
  • -

#6 Kilorn  Icon User is offline

  • XNArchitect
  • member icon




Reputation: 1325
  • View blog
  • Posts: 3,504
  • Joined: 03-May 10

Re: Is this possible in XNA user conent and wizzcode language

Posted 24 May 2012 - 08:34 AM

Should work. You will need to have your script editor create a script file with whatever extension you want it to have, then you will need to place the script file in the proper directory for XNA to grab it and process it. To process this file, you're going to have to write a custom reader to go through each of the lines in the script file and tell the compiler how to handle lines that begin with or contain certain keywords. This is very doable, but from the way you've already mentioned your lack of programming experience and knowledge, I'd say it's not going to be an easy task for you. I think I'd avoid this project for the time being and focus on learning the C# language. Once you have a firm grasp on the C# language, you can move on to learning the XNA Framework and by then you'll have enough knowledge to understand how to go about accomplishing this task.
Was This Post Helpful? 1
  • +
  • -

#7 modi123_1  Icon User is online

  • Suitor #2
  • member icon



Reputation: 6472
  • View blog
  • Posts: 23,540
  • Joined: 12-June 08

Re: Is this possible in XNA user conent and wizzcode language

Posted 24 May 2012 - 08:34 AM

Okay.. then you might want to skim over this guy's blog.

http://www.gamedev.n...a-40-scripting/
Was This Post Helpful? 2
  • +
  • -

#8 Gijsdemik  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 22-May 12

Re: Is this possible in XNA user conent and wizzcode language

Posted 24 May 2012 - 08:44 AM

View PostKilorn, on 24 May 2012 - 08:34 AM, said:

Should work. You will need to have your script editor create a script file with whatever extension you want it to have, then you will need to place the script file in the proper directory for XNA to grab it and process it. To process this file, you're going to have to write a custom reader to go through each of the lines in the script file and tell the compiler how to handle lines that begin with or contain certain keywords. This is very doable, but from the way you've already mentioned your lack of programming experience and knowledge, I'd say it's not going to be an easy task for you. I think I'd avoid this project for the time being and focus on learning the C# language. Once you have a firm grasp on the C# language, you can move on to learning the XNA Framework and by then you'll have enough knowledge to understand how to go about accomplishing this task.


Thank you so that is my learning path C# then the Xna frame work and then boom make magic happen :)
I know i lack a lot of skills but i am eager to learn a lot and i think this game will be awesome
i am glad that it is possible i reckon makin the "editor" creat a wizzscipt/mod file isint that hard
but the XNA is and C# is the harderst thing

i also writen a lot down on paper about the main game eninge and creatures and such
i have the "master plan" ready only the programmig will push me to the edge :)

View Postmodi123_1, on 24 May 2012 - 08:34 AM, said:

Okay.. then you might want to skim over this guy's blog.

http://www.gamedev.n...a-40-scripting/


awesome il chek it out ! thank you :D
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1