Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (7th_zorro, degenerate_762, AndrewAMD, ozgur), 774 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rating: 5
Page 1 of 6 1 2 3 4 5 6
Nighthawk RPG template for lite-C #220067
08/05/08 23:19
08/05/08 23:19
Joined: Oct 2006
Posts: 106
i_program_games Offline OP
Member
i_program_games  Offline OP
Member

Joined: Oct 2006
Posts: 106
I have converted the Nighthawk Arts RPG templates to lite-C.

Enjoy:

http://74.220.207.173/~gametown/NHA_RPG_Template_lite-C.zip


Chaos is a paradox consistently inconsistent.
Re: Nighthawk RPG template for lite-C [Re: i_program_games] #220068
08/05/08 23:21
08/05/08 23:21
Joined: Jan 2008
Posts: 1,580
Blade280891 Offline
Serious User
Blade280891  Offline
Serious User

Joined: Jan 2008
Posts: 1,580
Nice contribution wink


My Avatar Randomness V2

"Someone get me to the doctor, and someone call the nurse
And someone buy me roses, and someone burned the church"
Re: Nighthawk RPG template for lite-C [Re: Blade280891] #220211
08/06/08 12:13
08/06/08 12:13
Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
Nowherebrain Offline
Serious User
Nowherebrain  Offline
Serious User

Joined: Jul 2005
Posts: 1,002
Trier, Deutschland
I will check this out for certain!


Everybody Poops.
here are some tutorials I made.
http://www.acknexturk.com/blender/
Re: Nighthawk RPG template for lite-C [Re: Nowherebrain] #220253
08/06/08 16:53
08/06/08 16:53
Joined: Oct 2006
Posts: 106
i_program_games Offline OP
Member
i_program_games  Offline OP
Member

Joined: Oct 2006
Posts: 106
Thanks, do note that this is a straight conversion for the most part which means there is room for improvement. Of course this is the entire point of a template though smile


Chaos is a paradox consistently inconsistent.
Re: Nighthawk RPG template for lite-C [Re: i_program_games] #275164
06/30/09 11:57
06/30/09 11:57
Joined: May 2004
Posts: 1,510
Denmark
Claus_N Offline
Serious User
Claus_N  Offline
Serious User

Joined: May 2004
Posts: 1,510
Denmark
Nice work smile

It would no doubt be easier to write RPG games in Lite-C than in C-script (especially due to things such as being able to use structs), however it's nice to see that my work haven't been in vain due to people start using Lite-C instead of the good ol' C-script wink

Gonna buy A7 and try out Lite-C myself sometime soon, I just have to finish an old A6 project first off smile (have been away from 3DGS for 2 years now)

Re: Nighthawk RPG template for lite-C [Re: Claus_N] #275179
06/30/09 13:48
06/30/09 13:48
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
I have this error =(
"error in 'nhasc_animation.c' line 21: machine code generator: can not translate P_ANDAND:POINTER:LONG:LONG.
while(my && (my.anim_state != anim_stop))"
HELP ME!!!!


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Nighthawk RPG template for lite-C [Re: 3run] #275180
06/30/09 13:49
06/30/09 13:49
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
what version are you using? as far as i know this doesn't happen anymore since a while but you can fix it like that:

while((my != NULL) && (my.anim_state != anim_stop))

or

while((long)my && (my.anim_state != anim_stop))


Re: Nighthawk RPG template for lite-C [Re: ventilator] #275202
06/30/09 14:58
06/30/09 14:58
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline
Senior Expert
3run  Offline
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
I'm using ver. 7.77 I'd changed all like that in code. Now works fine))) Thanks


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: Nighthawk RPG template for lite-C [Re: 3run] #278821
07/15/09 18:13
07/15/09 18:13
Joined: Mar 2009
Posts: 146
USA
P
paracharlie Offline
Member
paracharlie  Offline
Member
P

Joined: Mar 2009
Posts: 146
USA
I was testing this and found that none of the items bmaps show up in the inventory anymore. I was thinking maybe there was a set(show) missing somewhere. I looked at the wdl's and compared them to the .C's and I dont know. Anyone else?


A8 Commercial
Re: Nighthawk RPG template for lite-C [Re: paracharlie] #278887
07/15/09 23:16
07/15/09 23:16
Joined: May 2004
Posts: 1,510
Denmark
Claus_N Offline
Serious User
Claus_N  Offline
Serious User

Joined: May 2004
Posts: 1,510
Denmark
The item system is great for C-script (in my opinion at least :p), but it could be done a thousand times better in Lite-C, especially due to the use of structs smile

I had a quick look at the Lite-C version of the code, but I'm afraid that I didn't figure out what's wrong (it's been a few years since I wrote the C-script version, so I don't recall exactly how the code works anyway).

I'd like to know whether the rest of the code works though? smile
I got quite a few projects running at the moment, so I won't be the one to write a new inventory system right now however, it shouldn't be that hard to do in Lite-C, compared to C-Script.

Page 1 of 6 1 2 3 4 5 6

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1