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 / NGC Help

Author
Message
x1b
19
Years of Service
User Offline
Joined: 19th Sep 2004
Location:
Posted: 6th Oct 2005 03:25 Edited at: 6th Oct 2005 03:30
Anyone have NGC 3.01 working for them? I've been fighting with this since last night and have read the online manual 3 times and the source examples, all to no avail.

trying to get collision between player



and a construct



I have this at the very top of my project



then just below that




And




in my main loop, just above Sync.

- This message is made of 100% recycled bits and bytes
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 6th Oct 2005 03:34 Edited at: 6th Oct 2005 03:36
Never use scale object on an object entered into NGC. Use the replacement command (I forget the name). setobjscalepro(), scaleobjectpro() or similar.

Also you will have to use setobjradiuspro() for your players ellip or it will use 2,2,2 (I think this is the default).

x1b
19
Years of Service
User Offline
Joined: 19th Sep 2004
Location:
Posted: 6th Oct 2005 03:48 Edited at: 6th Oct 2005 03:50
Now saying "Unknown Parameter SetCollisionsPRO( ARMY_MEN, WORLD_MESHES, ELLIP_2_POLY, RESP_SLIDE, DYN_NO_RESP )"




- This message is made of 100% recycled bits and bytes
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 6th Oct 2005 05:47
If using v3 it should be

SetCollisionsPRO( ARMY_MEN, WORLD_MESHES, ELLIP_2_POLY, RESP_SLIDE, DYN_NO_RESP, 0 )

Add the auto flag (,0) at the end.

x1b
19
Years of Service
User Offline
Joined: 19th Sep 2004
Location:
Posted: 6th Oct 2005 08:38 Edited at: 6th Oct 2005 12:11
Well, game loads now. Had to place SetCollisionsPRO( ARMY_MEN, WORLD_MESHES, ELLIP_2_POLY, RESP_STICK, DYN_NO_RESP,0) at the very bottom of my code. But, still not working.







this is in my main loop



this is final line of code



sent msn invite,L.I.T. promise not to hound you too much.


[MOD Edited - JessTicular]

- This message is made of 100% recycled bits and bytes
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 6th Oct 2005 09:53 Edited at: 6th Oct 2005 12:05
I'll add you when I get home.

[edit] And I forgot ... in NGCv3 all collision modes are bugged. The only one half way decent is RESP_SLIDE.

[edit] The part of your code before the main loop should look something like this.



The call RunCollisionPRO() in your main loop, before the sync command and after your object movement code.

x1b
19
Years of Service
User Offline
Joined: 19th Sep 2004
Location:
Posted: 7th Oct 2005 09:55
Anyone have a copy of NGC2.03?

emailed and posted on http://www.nuclearglory.com/php-bin/t2/manage/page.php?id=37& but no reply.

- This message is made of 100% recycled bits and bytes
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 7th Oct 2005 11:13
How long ago did you send/post? You can get the demo here until he replys then all you will have to do is enter the access keys:

http://www.nuclearglory.com/developer/NGColl/v203/dbp_demo_pack.zip

NGC v2.03 page is here.
http://www.nuclearglory.com/php-bin/t2/manage/prod_ngc_old.php

That demo is fully functional. It just has a loop number limit that makes everything freeze after so long. Keep your fps capped at 30 or so and it will run long enough for testing. If I see Matthew before then I'll make sure he got the email.

Also they have their own forum as well

http://www.nuclearglory.com/php-bin/t2/forum/

x1b
19
Years of Service
User Offline
Joined: 19th Sep 2004
Location:
Posted: 7th Oct 2005 14:55 Edited at: 7th Oct 2005 15:22
Ok,got the 2.03. Should I use the same code you provided,LIT ?


[edit]
tried 2.03 with all previous instructions. I got errors for each command including a few right from ngcollision.dba. It must be something im doing. I'll send you the full source whenever you're home. If you dont mind.
[/edit]

- This message is made of 100% recycled bits and bytes
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 7th Oct 2005 23:44
Sure thing. I won't be home for another 11 hours or so though. But I'll have a look.

x1b
19
Years of Service
User Offline
Joined: 19th Sep 2004
Location:
Posted: 8th Oct 2005 01:39
sent to your email. let me know if you need the media too. thanks again L.I.T

Hey? Why arent you a Mod ?

- This message is made of 100% recycled bits and bytes
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 8th Oct 2005 04:28
I am a MOD on NGC forums not here I will try with my media. I'll make it work and we'll see how it works with yours. If we need to adjust it we will.

Login to post a reply

Server time is: 2024-05-06 21:35:53
Your offset time is: 2024-05-06 21:35:53