Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Einheiten erstellen [plugin code]
#90
(12.07.2010, 16:33)xFlashx Wrote: ähm villt ist es eine blöde idee aber könnte man nicht einfach unter... {DsLan}/htdocs/include/configs/units
eine neue einheit erstellen zb....
den speerträger^^ könnte mann nicht einfach das was unter Speerträger ist nochmal rein kopieren und den namen bzw att def ändern?

so wie hier...

$cl_units->add_unit("Speerträger(statt Speerträger zb. Bogenschütze)","unit_spear");

$cl_units->set_woodprice("1");

$cl_units->set_stoneprice("1");

$cl_units->set_ironprice("1");

$cl_units->set_bhprice("1");

$cl_units->set_time("1");

$cl_units->set_att("10000","100.045");

$cl_units->set_def("15","1.045");

$cl_units->set_defcav("45","1.045");

$cl_units->set_defarcher("20","1.045");

$cl_units->set_speed("720");

$cl_units->set_booty("25");

$cl_units->set_needed(array());

$cl_units->set_recruit_in("barracks");

$cl_units->set_specials(array());

$cl_units->set_group("foot");

$cl_units->set_col("A");

$cl_units->set_attType("def");

$cl_units->set_description("hello");
nein, du musst das noch in der datenbank hinzufügen Wink

Reply


Messages In This Thread
RE: Einheiten erstellen [plugin code] - by Black Arrow - 12.07.2010, 16:50



Users browsing this thread: 3 Guest(s)