Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DLL Talk / help with sparky

Author
Message
spider
19
Years of Service
User Offline
Joined: 20th May 2005
Location:
Posted: 3rd Aug 2006 16:52 Edited at: 3rd Aug 2006 19:24
to sparky or anybody who can answer my question


i made a simple fps movement thng with a cylinder and i make levels in
chop and export them as .x files.i am absolutely new with collisons and recently downladed sparkys dll ver 2 the new one .i read through the manual provided but didnt get much..

so can anybody give me a basic program of sliding collision with sparkys??

www.castle.9k.com
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 3rd Aug 2006 19:25 Edited at: 3rd Aug 2006 19:26
sorry, I thought you meant help with a dog that has no back legs, and steel testicles...

nvm

Science, Mathematics, and Physics do not lie - only people do.
spider
19
Years of Service
User Offline
Joined: 20th May 2005
Location:
Posted: 4th Aug 2006 06:48 Edited at: 4th Aug 2006 13:39
i am just a [mod edit] please help me

www.castle.9k.com
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 4th Aug 2006 13:41 Edited at: 4th Aug 2006 13:42
first of all, stop posting your age
second of all, age is not an excuse. there are people here younger than you that could code circles around a lot of people here, regardless of age.
third, I dont use that dll so I cant help you. give the thread some time and I am sure someone will help. just be patient.

Science, Mathematics, and Physics do not lie - only people do.
spider
19
Years of Service
User Offline
Joined: 20th May 2005
Location:
Posted: 5th Aug 2006 18:27
if i had to be patient then why did u have to pass the irrelevent comment to my question

just because u know db language ??just because ur a mod and just because u have authority ?or something??

www.castle.9k.com
thebulk71
19
Years of Service
User Offline
Joined: 2nd Jan 2006
Location: takin a poop
Posted: 14th Aug 2006 05:57 Edited at: 14th Aug 2006 06:00
this is the basic and easiest way...Before anything you must setup your "*.x" level by making a vacant memblock and adding the " setupComplexObject <objNum>,0,2", now your level is in memory as a sort of collision object. Then, setup your player object in a similar way, choose between the multiple collision types (test to get best fps, all up to you actually), done with this command "setupObject <objNum>,<GroupNum>,<Collision Type>"

Then during the main loop, however you want, displace your object. then call the "getObjectHit()" (ex: hit=getObjectHit()), then if hit is greater than 0 then (add the following lines):



then finally call the " updateObject <objNum>" command... this should work...
CattleRustler
Retired Moderator
21
Years of Service
User Offline
Joined: 8th Aug 2003
Location: case modding at overclock.net
Posted: 14th Aug 2006 18:14
spider, my post was a joke. sorry you didnt find it funny.

Science, Mathematics, and Physics do not lie - only people do.
thebulk71
19
Years of Service
User Offline
Joined: 2nd Jan 2006
Location: takin a poop
Posted: 17th Aug 2006 03:05
that's a rusty sense of humour, I'd have stomped on 2000 cats already! anyway, checkout this link, those in search of collision

http://thebulk.free.fr/ogre.zip
spider
19
Years of Service
User Offline
Joined: 20th May 2005
Location:
Posted: 28th Aug 2006 19:17
thanks a lot and to u too rustler

http://s6.invisionfree.com/gamedev
PLEASE JOIN MY FORUM
spider
19
Years of Service
User Offline
Joined: 20th May 2005
Location:
Posted: 1st Sep 2006 19:30
hi i typed this into my proram but the collision dosent seem to work




Hey guys New Game development forum!!request any forum u want and be its mod

www.gamedev.co.nr
thebulk71
19
Years of Service
User Offline
Joined: 2nd Jan 2006
Location: takin a poop
Posted: 22nd Sep 2006 23:51
put the code in a different order...




I haven't had time to test your code but as far as I can see ther might be a few little syntax faults... just presuming... as a hint I use the free V2.02 collision dll... not the very latest cos it has less possibility
thebulk71
19
Years of Service
User Offline
Joined: 2nd Jan 2006
Location: takin a poop
Posted: 23rd Sep 2006 00:00
sorry I didn't see that you have a major piece of code missing dude!!!

You must move (in the case of your program) the object 1... and at the end of the loop apply that collision code... and the camera position should be linked with the object...

cos as far as I can see you have loaded a cylinder and a level and are just moving the camera about... there doesn't seem to be any object displacement code
spider
19
Years of Service
User Offline
Joined: 20th May 2005
Location:
Posted: 3rd Oct 2006 15:56
thanks

Hey guys New Game development forum!!request any forum u want and be its mod

www.gamedev.co.nr

Login to post a reply

Server time is: 2025-05-17 13:28:02
Your offset time is: 2025-05-17 13:28:02