Code center > Darwinbots Program Source Code

Questions on Sysvars File

(1/3) > >>

Endy:
I was goofing around with the sysvars file and found that I could add my own sysvar to the file and could latter reference it. Like def but no extra code required ;)

Example:

myvar
50

I was wondering what were the rules exactly for editing the file further.

Endy B)

Numsgil:
Yep, you can do that.  Of course that makes sharing your bot difficult.

The sysvars file currently can only hold 200 sysvars.  Other than that, play around to your heart's content.

PurpleYouko:
Like Num said, the problem is that your bot would be uncompatible with anyone else's sims unless you also share the sysvars file.

Just imagine how messy that would get  :blink:

Endy:
Cool. :) I was planning on just changing some of the main memvals I use. They're easy enough to change back with notepad's "replace" ability.

Endy B)

Old Henk:
? It's possible to define specific memlocs in the DNA right? So if I want a dutch version of main sysvars I could do:

def voor 1
def achter 2
def schiet 7

Because these are translations...

Is that possible or can one only define undefined memlocs?

Henk  :help:

Navigation

[0] Message Index

[#] Next page

Go to full version