Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help [Collision shift] My problem with collmap and xmodel
#1
Hi all
I have a problem, collmap is shift to xmodel.

Look this screen if you don't understand me:
[Image: crapn.png]

----- = Collmap
----- = xmodel

I have this problem for all models. Fuu
Reply

#2
col has wrong position? Not as model?
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#3
I like the image. Very nicely done.
[Image: MaEIQ.png]
Reply

#4
(10-22-2011, 17:16)Se7en Wrote: col has wrong position? Not as model?

Exactly

(10-22-2011, 17:26)Pozzuh Wrote: I like th image. Very nicely done.

I know, I hope to become a graphic designer Troll
Reply

#5
Create a joint on necc-ry position, and bind it, and do collision - could help
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

#6
Make sure the origins of the collmap and the model are in the same positions?
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#7
I like the pic, still it is missing OMA
[Image: lQDUjba.jpg]
Reply

#8
(10-22-2011, 21:58)iAegle Wrote: Make sure the origins of the collmap and the model are in the same positions?

You can change the origin of collmap?
I just use master131's code:
Quote:createJumpArea(pos, rotation)
{
jumpArea = spawn("script_model", pos);
jumpArea setModel("test");
jumpArea.angles = rotation;
}

spawnCP()
{
self.letGo = true;

self endon("death");
self endon("disconnect");
while(1) {
if(self adsButtonPressed() && self.letGo && self.maxblock > 0)
{
self doNotPressed();
self.maxblock--;
angle = self.angles;
origin = self.origin + (0, 0, 10);
size = level.bunkerList.size;
self.createdBlocks[self.createdBlocks.size] = size;
level.bunkerList[size] = createBlock(origin, angle);
self thread createJumpArea(level.bunkerList[size].location, level.bunkerList[size].angle);
}
else if(self adsbuttonPressed() && self.letGo && self.maxblock <= 0)
{
self iprintln("^1Vous n'avez plus de ^2" + self.block);
}
wait 0.1;
}
}


doNotPressed()
{
if(self adsButtonPressed())
{
self.letGo = false;
while(1)
{
if(!self adsButtonPressed())
{
self.letGo = true;
break;
}
wait 0.05;
}
}
}

createBlock(origin, angle)
{
block = spawnstruct();
block.location = origin;
block.angle = angle;
return block;
}
Reply

#9
(10-22-2011, 22:34)Romuald27 Wrote:
(10-22-2011, 21:58)iAegle Wrote: Make sure the origins of the collmap and the model are in the same positions?

You can change the origin of collmap?
I just use master131's code:
Quote:createJumpArea(pos, rotation)
{
jumpArea = spawn("script_model", pos);
jumpArea setModel("test");
jumpArea.angles = rotation;
}

spawnCP()
{
self.letGo = true;

self endon("death");
self endon("disconnect");
while(1) {
if(self adsButtonPressed() && self.letGo && self.maxblock > 0)
{
self doNotPressed();
self.maxblock--;
angle = self.angles;
origin = self.origin + (0, 0, 10);
size = level.bunkerList.size;
self.createdBlocks[self.createdBlocks.size] = size;
level.bunkerList[size] = createBlock(origin, angle);
self thread createJumpArea(level.bunkerList[size].location, level.bunkerList[size].angle);
}
else if(self adsbuttonPressed() && self.letGo && self.maxblock <= 0)
{
self iprintln("^1Vous n'avez plus de ^2" + self.block);
}
wait 0.1;
}
}


doNotPressed()
{
if(self adsButtonPressed())
{
self.letGo = false;
while(1)
{
if(!self adsButtonPressed())
{
self.letGo = true;
break;
}
wait 0.05;
}
}
}

createBlock(origin, angle)
{
block = spawnstruct();
block.location = origin;
block.angle = angle;
return block;
}

I mean the origins in Maya
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#10
What i did:
1) Make model
2) Save
3) Edit ---> Select all
4) Cod Tools --> Xmodel Exporter
5) Collision Map Exporter
6) Add Node (pCube1 for me)
7) Export Selected

It is good or i fail ?
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  Help Android problem Yamato 12 8,169 04-25-2014, 04:49
Last Post: ScHmIdTy56789
  Preview Tom Xmodel Utils TwoPumpChump 80 51,401 10-25-2013, 01:39
Last Post: Darth234
  Problem with Rain Effects on Maps mitchhacker 5 4,854 10-22-2013, 00:46
Last Post: mitchhacker
  [Release] xmodel, xmodelparts, xmodelsurfs converter DidUknowiPwn 4 6,987 09-12-2013, 09:56
Last Post: d0h!
  Help Liberation Problem Yamato 27 24,933 07-17-2013, 19:54
Last Post: feature
  [xna 4]Rendering problem narkos 9 5,933 07-03-2013, 19:00
Last Post: Nekochan
  Help Problem God plugin v4.0 4nonymous 1 2,724 06-22-2013, 23:25
Last Post: 8q4s8
  Help Infected Shop Plugin Problem Hallla 2 3,152 05-06-2013, 18:29
Last Post: Hallla
Video Preview Lime - Pre Alpha ( Bo2 xModel Exporter ) JariZ 9 7,970 04-24-2013, 15:31
Last Post: Erik The Born
  problem with gsc code CheGuevara 5 5,604 04-20-2013, 15:06
Last Post: Nekochan

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.