Need Help!

Started by [Elv]Woodland, Oct 30, 2015, 01:56 PM

Previous topic - Next topic

[Elv]Woodland

Hey Guys!
Iam new in map editing so therefore i need some help!

I am using Doom Killers mapeditor!
I got X Y Z Coords + Rot X Rot y Rot Z coords
i added them like this >>>>>>>>>>>>>>>>

Have a look above becz iam not sure that iam perfect or wrong!

<?xml version="1.0" encoding="ASCII" ?>
        <itemlist>
                <item model="310" name="phils_compnd_gate">
                        <position x="-1640.39" y="-211.929" z="13.7183" />
                        <rotation format="axisangle" x="3.09081" y="3.10826" z="-1.5412" angle="1" />
                </item>
      </itemlist>     


Now look at the pictures!

This pic , i got when i done editing! have a look at its position! ( in map editor )
http://i.imgur.com/LsbF0RL.jpg


And this result i got when i added this in Serv ( in server )

http://i.imgur.com/6z9Kpmd.jpg

Now look at these both pictures !plz tell me whats the mistake i did in making its XML file?

DizzasTeR

Seems like you missed the second custom object in the xml, if the black object { on the white roof } is another object you must specify that in xml as well. Seems like I must start working on XML outputs but the current INI plugin is really worse for such outputs.

[Elv]Woodland

@Doom_Killer I dint get you , what you mean to say , What i forgot and whats the solution?

What second object? i have created only one object using your editor but? :(

Xmair

@Doom_Killer , It can be his graphics problem.
@Woodland what do you mean that you want to cover the entrance with gates? If yes, Than create a new object there and keep this one too!

Credits to Boystang!

VU Full Member | VCDC 6 Coordinator & Scripter | EG A/D Contributor | Developer of VCCNR | Developer of KTB | Ex-Scripter of EAD

[Elv]Woodland

#4
<item model="310" name="phils_compnd_gate">
                        <position x="-1640.39" y="-211.929" z="13.7183" />
                        <rotation format="axisangle" x="3.09081" y="3.10826" z="-1.5412" angle="1" />
                </item>
            <item model="310" name="phils_compnd_gate">
                        <position x="257.726" y="-237.253" z="11.0713" />
                        <rotation format="axisangle" x="0" y="0" z="0" angle="1.15" />
                </item>

Still the same problem !
1st one object is not in ts exact position and the second is not even present in the map XD
:(

MacTavish

Why you want to create an .xml when you can create the thing you want by
CreateObject(....);

You'll worked hard to create something and succeed to create an .xml started server and an nab joined and downloaded your .xml
Profit to that nab because he got an readymade custom unique object

And please use [code-] your stuff [/code-] remove - to make it work

Grand Hunting Project
Join #SLC, #KAKAN, #Doom, #GHP @LUnet

Retired VC:MP Player/Scripter :P

[Elv]Woodland

Ohh Crap by the way thanks , leme try as you said
so you mean by using CreateObject , this prob will be fixed?!

KAKAN

No, I think, because the XML is same as the CreateObject.
Yet, I'm not sure, because I haven't tested it.
You should try it anyways.
oh no

DizzasTeR

XML's only advantage is to increase distance of object as far as I know. On the other hand CreateObject does the same job in creating objects as XML does only that CreateObject has draw distance of 100.

[Elv]Woodland

hmm Leme try Create Object , No worries if problem occurs again becz you guys will help na yaar :P

KAKAN

Before you made the XML file, the XYZ coords, give it to us, I think you did something wrong in that only.
oh no

[Elv]Woodland

ohh ohk then , there you go X < Y < Z
257.726 , -237.253 ,11.0713

Rotzz RotX < RotY < RotZ
0.0 , 0.0 , 1.15

KAKAN

That's the problem
Use this XML:-
<?xml version="1.0" encoding="ASCII" ?>
        <itemlist>
                <item model="310" name="phils_compnd_gate">
                        <position x="257.726" y="-237.253" z="11.0713" />
                        <rotation format="axisangle" x="0" y="0" z="1.15" angle="0" />
                </item>
      </itemlist>     
Just fix the angle
oh no

[Elv]Woodland

#13
What you mean "just fix the angle" i mean i dint get you! ?

well i tried yours !but the object is not even present in map !

KAKAN

Hmm. I can't fix it now
oh no