"ololoid" писал(а):
GTRP, look at dat theme
"GTRP" писал(а):
"ololoid" писал(а):
GTRP, look at dat theme
СПС!!!!
Добавлено:
PosX = "4"
PosY = "0"
Flags = "16"
??????
"GTRP" писал(а):
" uralC argo0 1_01"
"GTRP" писал(а):
не работает
Добавлено:
как поставить автомобили на рынке?
how to put a vehicle on sale in town?
<Item
PosX="4"
PosY="0"
Flags="16"
Prototype="Ural ForSale"
P os ="0.00 0 111.522 0.000">
<Parts>
<BASKET
present="1"
Flags="16"
Prototype=" uralC argo0 1_01" />
<CABIN
present="1"
Flags="16"
Prototype="uralCab01_01" />
<CHASSIS
present="1"
Flags="16"
Prototype="uralChassis" />
</Parts>
<Repository />
</Item>
"ExMachinaFan" писал(а):
"GTRP" писал(а):
не работает
Добавлено:
как поставить автомобили на рынке?
how to put a vehicle on sale in town?
kosty-x17 писал.
Вам нужен dynamicscene.xml Вот пример:
- Спойлер
- Код: Ctrl+A, Ctrl+C
<Item
PosX="4"
PosY="0"
Flags="16"
Prototype="Ural ForSale"
P os ="0.00 0 111.522 0.000">
<Parts>
<BASKET
present="1"
Flags="16"
Prototype=" uralC argo0 1_01" />
<CABIN
present="1"
Flags="16"
Prototype="uralCab01_01" />
<CHASSIS
present="1"
Flags="16"
Prototype="uralChassis" />
</Parts>
<Repository />
</Item>
"GTRP" писал(а):
не работает
Добавлено:
как поставить автомобили на рынке?
how to put a vehicle on sale in town?
<Object
Name="TheTown_Workshop"
Belong="1008"
Prototype="workshop">
<CabinsAndBaskets>
<Item
PosX="5"
PosY="0"
Flags="16"
Prototype="bugCargo02" />
<Item
PosX="0"
PosY="0"
Flags="16"
Prototype="bugCargo02" />
<Item
PosX="0"
PosY="5"
Flags="16"
Prototype="bugCargo02" />
<Item
PosX="5"
PosY="5"
Flags="16"
Prototype="bugCargo03" />
<Item
PosX="0"
PosY="10"
Flags="16"
Prototype="bugCargo03" />
<Item
PosX="5"
PosY="10"
Flags="16"
Prototype="molokovozCargo01" />
<Item
PosX="0"
PosY="15"
Flags="16"
Prototype="molokovozCargo01" />
<Item
PosX="5"
PosY="15"
Flags="16"
Prototype="molokovozCargo02" />
<Item
PosX="0"
PosY="20"
Flags="16"
Prototype="molokovozCargo02" />
<Item
PosX="5"
PosY="40"
Flags="16"
Prototype="bugCab02" />
<Item
PosX="5"
PosY="20"
Flags="16"
Prototype="bugCab02" />
<Item
PosX="0"
PosY="45"
Flags="16"
Prototype="bugCab03" />
<Item
PosX="0"
PosY="25"
Flags="16"
Prototype="bugCab03" />
<Item
PosX="5"
PosY="45"
Flags="16"
Prototype="molokovozCab01" />
<Item
PosX="0"
PosY="50"
Flags="16"
Prototype="molokovozCab02" />
<Item
PosX="5"
PosY="50"
Flags="16"
Prototype="molokovozCab03" />
<Item
PosX="0"
PosY="55"
Flags="16"
Prototype="belazCab01" />
<Item
PosX="5"
PosY="25"
Flags="16"
Prototype="belazCab01" />
<Item
PosX="5"
PosY="55"
Flags="16"
Prototype="belazCab02" />
<Item
PosX="0"
PosY="60"
Flags="16"
Prototype="belazCab03" />
<Item
PosX="0"
PosY="30"
Flags="16"
Prototype="belazCab03" />
<Item
PosX="5"
PosY="60"
Flags="16"
Prototype="belazCab04" />
<Item
PosX="5"
PosY="30"
Flags="16"
Prototype="belazCab04" />
<Item
PosX="0"
PosY="70"
Flags="16"
Prototype="mirotvorecCab03" />
<Item
PosX="5"
PosY="70"
Flags="16"
Prototype="mirotvorecCab04" />
<Item
PosX="0"
PosY="35"
Flags="16"
Prototype="mirotvorecCab04" />
<Item
PosX="0"
PosY="75"
Flags="16"
Prototype="mirotvorecCab05" />
<Item
PosX="5"
PosY="35"
Flags="16"
Prototype="mirotvorecCab05" />
<Item
PosX="5"
PosY="80"
Flags="16"
Prototype="mirotvorecCargo03" />
<Item
PosX="0"
PosY="85"
Flags="16"
Prototype="mirotvorecCargo04" />
<Item
PosX="0"
PosY="40"
Flags="16"
Prototype="mirotvorecCargo04" />
<Item
PosX="5"
PosY="85"
Flags="16"
Prototype="mirotvorecCargo05" />
<Item
PosX="0"
PosY="65"
Flags="16"
Prototype="mirotvorecCargo05" />
<Item
PosX="0"
PosY="90"
Flags="16"
Prototype="belazCab05" />
<Item
PosX="0"
PosY="100"
Flags="16"
Prototype="uralCab04" />
<Item
PosX="5"
PosY="65"
Flags="16"
Prototype="uralCab04" />
<Item
PosX="5"
PosY="100"
Flags="16"
Prototype="uralCab05" />
</CabinsAndBaskets>
<Vehicles>
<Item
PosX="0"
PosY="0"
Flags="16"
Prototype="BugForSale"
Pos="0.000 369.722 0.000">
<Parts>
<BASKET
present="1"
Flags="16"
Prototype="bugCargo01" />
<CABIN
present="1"
Flags="16"
Prototype="bugCab01" />
<CHASSIS
present="1"
Flags="16"
Prototype="bugChassis" />
</Parts>
<Repository />
</Item>
</Vehicles>
</Object>
<Vehicles>
<Item
PosX="0"
PosY="0"
Flags="16"
Prototype="BugForSale"
Pos="0.000 369.722 0.000">
<Parts>
<BASKET
present="1"
Flags="16"
Prototype="bugCargo01" />
<CABIN
present="1"
Flags="16"
Prototype="bugCab01" />
<CHASSIS
present="1"
Flags="16"
Prototype="bugChassis" />
</Parts>
<Repository />
</Item>
</Vehicles>
<Vehicles>
<Item
PosX="0"
PosY="0"
Flags="16"
Prototype="ExampleForSale" Here should be the name for your car (BugForSale, Ural for sale, etc.)
Pos="0.000 369.722 0.000">
<Parts>
<BASKET
present="1"
Flags="16"
Prototype="ExampleCargo01" /> This is the name of car's basket (bugCargo, etc.)
<CABIN
present="1"
Flags="16"
Prototype="ExampleCab01" /> This is the name of a cabin
<CHASSIS
present="1"
Flags="16"
Prototype="ExampleChassis" /> And this is the name of chassis
</Parts>
<Repository />
</Item>
</Vehicles>
</Object>
<Prototype
Class = "Vehicle"
Name = "ScoutForSale"
ParentPrototype = "Scout">
<Parts>
<Part id = "CABIN" Prototype = "scoutCab01" />
<Part id = "BASKET" Prototype = "fakeCargo" />
</Parts>
</Prototype>
"Ocelotik1" писал(а):
"GTRP" писал(а):
не работает
Добавлено:
как поставить автомобили на рынке?
how to put a vehicle on sale in town?
First, you should open dynamicscene.xml. This file is in the map folder(data/maps/r1m1) R1M1 is the first map. In dynamicscene.xml must be city prototype(TheTown). Then, you need to find the workshop of this city. Workshop solds cabins and baskets:
- Спойлер
- Код: Ctrl+A, Ctrl+C
<Object
Name="TheTown_Workshop"
Belong="1008"
Prototype="workshop">
<CabinsAndBaskets>
<Item
PosX="5"
PosY="0"
Flags="16"
Prototype="bugCargo02" />
<Item
PosX="0"
PosY="0"
Flags="16"
Prototype="bugCargo02" />
<Item
PosX="0"
PosY="5"
Flags="16"
Prototype="bugCargo02" />
<Item
PosX="5"
PosY="5"
Flags="16"
Prototype="bugCargo03" />
<Item
PosX="0"
PosY="10"
Flags="16"
Prototype="bugCargo03" />
<Item
PosX="5"
PosY="10"
Flags="16"
Prototype="molokovozCargo01" />
<Item
PosX="0"
PosY="15"
Flags="16"
Prototype="molokovozCargo01" />
<Item
PosX="5"
PosY="15"
Flags="16"
Prototype="molokovozCargo02" />
<Item
PosX="0"
PosY="20"
Flags="16"
Prototype="molokovozCargo02" />
<Item
PosX="5"
PosY="40"
Flags="16"
Prototype="bugCab02" />
<Item
PosX="5"
PosY="20"
Flags="16"
Prototype="bugCab02" />
<Item
PosX="0"
PosY="45"
Flags="16"
Prototype="bugCab03" />
<Item
PosX="0"
PosY="25"
Flags="16"
Prototype="bugCab03" />
<Item
PosX="5"
PosY="45"
Flags="16"
Prototype="molokovozCab01" />
<Item
PosX="0"
PosY="50"
Flags="16"
Prototype="molokovozCab02" />
<Item
PosX="5"
PosY="50"
Flags="16"
Prototype="molokovozCab03" />
<Item
PosX="0"
PosY="55"
Flags="16"
Prototype="belazCab01" />
<Item
PosX="5"
PosY="25"
Flags="16"
Prototype="belazCab01" />
<Item
PosX="5"
PosY="55"
Flags="16"
Prototype="belazCab02" />
<Item
PosX="0"
PosY="60"
Flags="16"
Prototype="belazCab03" />
<Item
PosX="0"
PosY="30"
Flags="16"
Prototype="belazCab03" />
<Item
PosX="5"
PosY="60"
Flags="16"
Prototype="belazCab04" />
<Item
PosX="5"
PosY="30"
Flags="16"
Prototype="belazCab04" />
<Item
PosX="0"
PosY="70"
Flags="16"
Prototype="mirotvorecCab03" />
<Item
PosX="5"
PosY="70"
Flags="16"
Prototype="mirotvorecCab04" />
<Item
PosX="0"
PosY="35"
Flags="16"
Prototype="mirotvorecCab04" />
<Item
PosX="0"
PosY="75"
Flags="16"
Prototype="mirotvorecCab05" />
<Item
PosX="5"
PosY="35"
Flags="16"
Prototype="mirotvorecCab05" />
<Item
PosX="5"
PosY="80"
Flags="16"
Prototype="mirotvorecCargo03" />
<Item
PosX="0"
PosY="85"
Flags="16"
Prototype="mirotvorecCargo04" />
<Item
PosX="0"
PosY="40"
Flags="16"
Prototype="mirotvorecCargo04" />
<Item
PosX="5"
PosY="85"
Flags="16"
Prototype="mirotvorecCargo05" />
<Item
PosX="0"
PosY="65"
Flags="16"
Prototype="mirotvorecCargo05" />
<Item
PosX="0"
PosY="90"
Flags="16"
Prototype="belazCab05" />
<Item
PosX="0"
PosY="100"
Flags="16"
Prototype="uralCab04" />
<Item
PosX="5"
PosY="65"
Flags="16"
Prototype="uralCab04" />
<Item
PosX="5"
PosY="100"
Flags="16"
Prototype="uralCab05" />
</CabinsAndBaskets>
And after these lines, there are vehicles for sale:
- Спойлер
- Код: Ctrl+A, Ctrl+C
<Vehicles>
<Item
PosX="0"
PosY="0"
Flags="16"
Prototype="BugForSale"
Pos="0.000 369.722 0.000">
<Parts>
<BASKET
present="1"
Flags="16"
Prototype="bugCargo01" />
<CABIN
present="1"
Flags="16"
Prototype="bugCab01" />
<CHASSIS
present="1"
Flags="16"
Prototype="bugChassis" />
</Parts>
<Repository />
</Item>
</Vehicles>
</Object>
You just need to copy the car lines, and edit it to your choice.
Workshop will look like this:
- Спойлер
- Код: Ctrl+A, Ctrl+C
<Vehicles>
<Item
PosX="0"
PosY="0"
Flags="16"
Prototype="BugForSale"
Pos="0.000 369.722 0.000">
<Parts>
<BASKET
present="1"
Flags="16"
Prototype="bugCargo01" />
<CABIN
present="1"
Flags="16"
Prototype="bugCab01" />
<CHASSIS
present="1"
Flags="16"
Prototype="bugChassis" />
</Parts>
<Repository />
</Item>
</Vehicles>
<Vehicles>
<Item
PosX="0"
PosY="0"
Flags="16"
Prototype="ExampleForSale" Here should be the name for your car (BugForSale, Ural for sale, etc.)
Pos="0.000 369.722 0.000">
<Parts>
<BASKET
present="1"
Flags="16"
Prototype="ExampleCargo01" /> This is the name of car's basket (bugCargo, etc.)
<CABIN
present="1"
Flags="16"
Prototype="ExampleCab01" /> This is the name of a cabin
<CHASSIS
present="1"
Flags="16"
Prototype="ExampleChassis" /> And this is the name of chassis
</Parts>
<Repository />
</Item>
</Vehicles>
</Object>
You may edit the code as you like. Also, if you want to sell Scout, you must edit the vehicles.xml file and add these lines of code:
- Спойлер
- Код: Ctrl+A, Ctrl+C
<Prototype
Class = "Vehicle"
Name = "ScoutForSale"
ParentPrototype = "Scout">
<Parts>
<Part id = "CABIN" Prototype = "scoutCab01" />
<Part id = "BASKET" Prototype = "fakeCargo" />
</Parts>
</Prototype>
[/spoiler][/quote]Цитата:
I tried what I can and I only see Bug for sale.. if i delete it still I see bug for sale.. if I add ScoutForSale (in vehicles.xml and dynamicscene.xml) it just won't show on the sale list.
Цитата:
This is the code. you may change it as you like.
- Код: Ctrl+A, Ctrl+C
<Vehicles>
<Item
PosX="0"
PosY="0"
Flags="16"
Prototype="BugForSale"
Pos="0.000 369.722 0.000">
<Parts>
<BASKET
present="1"
Flags="16"
Prototype="bugCargo01" />
<CABIN
present="1"
Flags="16"
Prototype="bugCab01" />
<CHASSIS
present="1"
Flags="16"
Prototype="bugChassis" />
</Parts>
<Repository />
</Item>
</Vehicles>
</Object>
<Vehicles>
<Item
PosX="0"
PosY="0"
Flags="16"
Prototype="BugForSale"
Pos="0.000 369.722 0.000">
<Parts>
<BASKET
present="1"
Flags="16"
Prototype="bugCargo01" />
<CABIN
present="1"
Flags="16"
Prototype="bugCab01" />
<CHASSIS
present="1"
Flags="16"
Prototype="bugChassis" />
</Parts>
<Repository />
</Item>
</Vehicles>
<Vehicles>
<Item
PosX="0"
PosY="0"
Flags="16"
Prototype="ScoutForSale"
Pos="0.000 369.722 0.000">
<Parts>
<BASKET
present="1"
Flags="16"
Prototype="fakeCargo" />
<CABIN
present="1"
Flags="16"
Prototype="scoutCab01" />
<CHASSIS
present="1"
Flags="16"
Prototype="scoutChassis" />
</Parts>
<Repository />
</Item>
</Vehicles>
</Object>
<Prototype
Class = "Vehicle" <--- This is the class. Keep it as it is.
Name = "ScoutForSale" <--- This is the the name of a car for sale.
ParentPrototype = "Scout"> <--- And this is a protoype of car
<Parts>
<Part id = "CABIN" Prototype = "raiderCab01" /> <---This is the cab that will appear on the car
<Part id = "BASKET" Prototype = "raiderCargo" /> <---This is the cargo that will appear on the car
</Parts>
</Prototype>
<Vehicles>
<Item
PosX="0"
PosY="0"
Flags="16"
Prototype="RaiderForSale"
Pos="0.000 369.722 0.000">
<Parts>
<BASKET
present="1"
Flags="16"
Prototype="raiderCargo" />
<CABIN
present="1"
Flags="16"
Prototype="raiderCab01" />
<CHASSIS
present="1"
Flags="16"
Prototype="raiderChassis" />
</Parts>
<Repository />
</Item>
</Vehicles>
</Object>
<Prototype
Class = "Vehicle"
Name = "RaiderForSale"
ParentPrototype = "Raider">
<Parts>
<Part id = "CABIN" Prototype = "raiderCab01" />
<Part id = "BASKET" Prototype = "raiderCargo" />
</Parts>
</Prototype>
"GTRP" писал(а):
Raider does not exist. It exists in Booster Mod. Which is for Windows XP. I dont know where is csotany..
Добавлено:
Here's it.. Scan it like however you wish..
http://speedy.sh/7qEQk/whatstheproblem.rar
"Ocelotik1" писал(а):
"GTRP" писал(а):
Raider does not exist. It exists in Booster Mod. Which is for Windows XP. I dont know where is csotany..
Добавлено:
Here's it.. Scan it like however you wish..
http://speedy.sh/7qEQk/whatstheproblem.rar
Hmmm. I found your problem. it was in the vehicles.xml. You wrote Scoutforsale, but in dynamicscene.xml you wrote ScoutForSale. The game is sensitive to letters. So, if you want to sell ScoutForSale, you must write the same names in dynamicscene and vehicles.xml files.
I hope this would finally help you.
Цитата:
Also - I'm running on Steam 1.03 version, does that make sense?
Цитата:
Now that we fixed the major problem, there's one minor problem. What is up with the ScoutForSale name? I'll try to change it as 'Scout', in case anything happens.
"GTRP" писал(а):
Ok, you should check The_Gloochoe
http://speedy.sh/JWz4S/help.rar
What's the problem?
"GTRP" писал(а):
Game is crashing.
E PrototypeManager.cpp[0268]13/07 20:05:12 Error: cannot parse data/gamedata/gameobjects/Vehicles.xml ( Error reading Element value. )
E PrototypeManager.cpp[0111]13/07 20:05:12 Error: No prototype 'Scout01' registered
E VehiclesGenerator.cpp[0288]13/07 20:05:12 Error: Unknown vehicle prototype name 'Scout01' for vehicle generator
I m3dapp.cpp[2236]13/07 20:05:12 Assertion failed at e:\Builders\ExMachina\tmpBuildDir5084\truxx\Server\Objects\VehiclesGenerator.cpp:289
expression !"Critical error, see log"
"GTRP" писал(а):
How may I fix that?