I want to keep horses in outside areas.
I was reading and it says there is a module switch but I dont think Im doing it right.
Here is what I put in my onmoduleload but come up with an error.
#include "x3_inc_horse"
SetModuleSwitch(X3_MOUNTS_EXTERNAL_ONLY,TRUE);
I get this ERROR:VARIABLE DEFINED WITHOUT TYPE
I dont want horeses inside.
Débuté par
Knight_Shield
, juil. 21 2012 10:32
#1
Posté 21 juillet 2012 - 10:32
#2
Posté 21 juillet 2012 - 10:44
Ok after I read a little I found this and it works.
I set a variable on module X3_MOUNTS_EXTERNAL_ONLY integer 1
I set a variable on module X3_MOUNTS_EXTERNAL_ONLY integer 1
#3
Posté 24 juillet 2012 - 10:16
Hey Knightshield, I am just curious what do you mean "set a variable on module"?
And how are underground areas handled using this switch?
And how are underground areas handled using this switch?
#4
Posté 24 juillet 2012 - 10:24
Hey there.When your in toolset go to edit then module properties.Somewhere in there is a variables tab.Click variables and you will see where to enter it.
X3_MOUNTS_EXTERNAL_ONLY choose (intgr) then put a 1 .
I tested with a humand on a horse and it worked but I had a dwarf on a pony and it crash me.It didnt crash server just me.Then when I came back I was stuck on the horse ,so then I read go to boutique and set your pheno type to normal.It worked.Think only dwarf has issue so far.I am testing.There are module switches but I couldnt make them work so trying the variables.I read all this in the x3_inc_horse script.I am using cep 2.3 btw.
X3_MOUNTS_EXTERNAL_ONLY choose (intgr) then put a 1 .
I tested with a humand on a horse and it worked but I had a dwarf on a pony and it crash me.It didnt crash server just me.Then when I came back I was stuck on the horse ,so then I read go to boutique and set your pheno type to normal.It worked.Think only dwarf has issue so far.I am testing.There are module switches but I couldnt make them work so trying the variables.I read all this in the x3_inc_horse script.I am using cep 2.3 btw.
Modifié par Knight_Shield, 24 juillet 2012 - 10:25 .
#5
Posté 25 juillet 2012 - 03:31
Knight_Shield wrote...
I want to keep horses in outside areas.
I was reading and it says there is a module switch but I dont think Im doing it right.
Here is what I put in my onmoduleload but come up with an error.
#include "x3_inc_horse"
SetModuleSwitch(X3_MOUNTS_EXTERNAL_ONLY,TRUE);
I get this ERROR:VARIABLE DEFINED WITHOUT TYPE
First SetModuleSwitch is in x2_inc_switches not x3_inc_horses.
Second X3_MOUNTS_EXTERNAL_ONLY Is not a Constant. So you will need to place quotes around it.
#include "x3_inc_horse"
#include "x3_inc_switches"
SetModuleSwitch("X3_MOUNTS_EXTERNAL_ONLY",TRUE);
#6
Posté 25 juillet 2012 - 09:16
Thanks fellas.
#7
Posté 25 juillet 2012 - 01:27
x3_mod_def_load already has this switch in it. You just need to uncomment it.





Retour en haut






