You would create for every critter, trigger and item a variable using this waychocolatepie33 wrote: could killing be covered by variables.cfg? As for summoning - if the critter were to run around and such realistically, then you would need waypoints virtually anywhere and everywhere on the map that you can access and use the spell. maybe there's also some kind of "spawn_critter" action that can be used in spells/items?
Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.
In the meantime please join the new Discord Server!
If you have any questions please e-mail me through the Platinum Arts website.
In the meantime please join the new Discord Server!
If you have any questions please e-mail me through the Platinum Arts website.
[RPG] Kelgar [with download]
- kddekadenz
- Member
- Posts: 423
- Joined: July 17th, 2011, 11:02 am
- Name: kdd
- Contact:
Re: [RPG] Kelgar [with download]
Kelgar is an advanced RPG beeing developed in Sandbox
-
- Support Team
- Posts: 2458
- Joined: April 27th, 2010, 5:31 pm
- IRC Username: CP
Re: [RPG] Kelgar [with download]
Cool.Hirato wrote:also about Tesseract, If we integrate that for 2.9.0, We will leave 2.8.0 easily accessible on the main site for people with old systems
Yeah, that would suck.kddekadenz wrote:You would create for every critter, trigger and item a variable using this way
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
Re: [RPG] Kelgar [with download]
((((
After adding a playermodel I had the problem that the eye-level was too high. Is there any way to set this? EDIT: This is setted by the bounding box
))))
you know, i actually know the answer to this (even though you've already found one)... in the model folder config, down near the bottom, is mdlbb... it is set at 4 (w) 12.5 (h) .9 (eyesight height) for the rc model... to get it to fit through a 3 grid, 1wide and two high, i set it at 3 12 .8 so it could see through the windows and get through the doors... but be careful, you may have to change the height of steps too...
After adding a playermodel I had the problem that the eye-level was too high. Is there any way to set this? EDIT: This is setted by the bounding box
))))
you know, i actually know the answer to this (even though you've already found one)... in the model folder config, down near the bottom, is mdlbb... it is set at 4 (w) 12.5 (h) .9 (eyesight height) for the rc model... to get it to fit through a 3 grid, 1wide and two high, i set it at 3 12 .8 so it could see through the windows and get through the doors... but be careful, you may have to change the height of steps too...
- kddekadenz
- Member
- Posts: 423
- Joined: July 17th, 2011, 11:02 am
- Name: kdd
- Contact:
Re: [RPG] Kelgar [with download]
mdlbb = model bounding boxnorthstar wrote:((((
After adding a playermodel I had the problem that the eye-level was too high. Is there any way to set this? EDIT: This is setted by the bounding box
))))
you know, i actually know the answer to this (even though you've already found one)... in the model folder config, down near the bottom, is mdlbb... it is set at 4 (w) 12.5 (h) .9 (eyesight height) for the rc model... to get it to fit through a 3 grid, 1wide and two high, i set it at 3 12 .8 so it could see through the windows and get through the doors... but be careful, you may have to change the height of steps too...
Kelgar is an advanced RPG beeing developed in Sandbox
Re: [RPG] Kelgar [with download]
ah ha, of course... i mean... i knew that (cough cough ahem) (smile)...
Re: [RPG] Kelgar [with download]
I see you've done the transition already with your "august" release.
I just did a diff against the previous release and something leapt out at me
scripts/1.cfg
others
You're not really specialising their behaviour, so why would you do that?
This will cause the NPCs to trade and otherwise communicate with the player whilst trying to snuff him - could be funny.
...But I see you did comment out the default call to the "talk" signal which should be defined for opening dialogue.
some other wtfs...
20.cfg
It's great that you've removed the old loot script, but you cannot loot this guy.
I'd suggest using r_script_signalappend to add the global variable change to this
24.cfg
another case of the first issue.
You could've used the default script with
As for launch errors...
I'm glad you at least got it down to 1 line instead of the 30 odd lines+ which the previous versions had.
I'll have a quick run through and share some more impressions in a bit.
EDIT
Had a quick play around and my framerate is terrible
Here's a fun exercise, run kelgar with -kpath/to/sandbox/packages assuming kelgar doesn't share any content paths, if you see robochimp anywhere (or other glitches), you've got stuff to do/fix!
I also managed to get critters to print "no such dialogue node 0" a few times.
I upset the villagers too and they tried to come after me and I could talk to them still (predictably)
anyways, for things like triggers 0, 36 and 39...
0.cfg
What I want you to do here is give it a model and then give it the invisible flag - this prevents it from rendering and the model will give it a proper bounding area. Keep in mind that without specifying a proper working model it will try to load that invalid model every frame
And the renderer will in fact try to do so multiple times!
This absolutely kills framerate
The "after" should look like so
0.cfg
Also, you can remove all those excess triggers for "items" you used to workaround some physics issues.
I've added some stuff into the code that should alleviate most of the past issues, like merging identical items on the same spot as well as throttling updates (so you might occasionally see items hover in midair for a few seconds).
It must be a pain to maintain all those scripts and triggers in addition to the items...
Also, I think you should consolidate scripts 0-7 to match the order of sandbox's default game - they're like that for a reason you know
And lastly, AI.
Remove your "update" signals if they just make the NPC attack the player, this is handle in the "ai update" signal which is also throttled to prevent it bring too expensive. Doing it in the "update" signal is ill advised and can be pretty costly.
Also actions are merged now if the AI has a duplicate variant already, so clearing is no longer required.
Also, some other signals, like "hit," use r_script_signalappend here to play the sounds - as the other logic is handled already inside 1.cfg - the same goes for "collide"
And get rid of those interact blocks too while you're at it, they don't do anything special the default one doesn't handle or you can easily define when it calls "talk"... that includes snowflake's "grr" sound.
Also script 63 will never be triggered - since triggering the trigger disables collision with it entirely
script 30 still uses the old loot system.
I just did a diff against the previous release and something leapt out at me
scripts/1.cfg
Code: Select all
// if (&& sneaking undetected) [
// pickpocket
// ] [
+ if (r_hostile self actor) [
+ r_signal "ai threat" actor self 0
+ ] [
+ //r_signal "talk" actor self 0
+ ]
// ]
]
]
]
Code: Select all
+include scripts/1
+
r_script_signal interact [
if (r_matchref player actor) [
if (= (r_get_state self) $CS_DEAD) [
r_signal "loot" actor self 0
] [
+ r_chat self "main"
]
]
]
This will cause the NPCs to trade and otherwise communicate with the player whilst trying to snuff him - could be funny.
...But I see you did comment out the default call to the "talk" signal which should be defined for opening dialogue.
some other wtfs...
20.cfg
Code: Select all
r_script_signal loot [
r_global_set $ridaztravel_quest 2
-include "includes/loot_old"
]
I'd suggest using r_script_signalappend to add the global variable change to this
24.cfg
Code: Select all
r_script_signal interact [
if (r_matchref player actor) [
if (= (r_get_state self) $CS_DEAD) [
r_signal "loot" actor self 0
] [
- r_chat self 0
+ if ( = (r_global_get $ancestor_search) 4) [
+ ][
+ r_chat self "main"
+ ]
]
]
]
You could've used the default script with
Code: Select all
r_script_signal "talk" [
if (= (r_global_get $ancestor_search) 4) [] [
r_chat self "main"
]
]
As for launch errors...
Code: Select all
unknown command: kdd/fireball_explode
I'll have a quick run through and share some more impressions in a bit.
EDIT
Had a quick play around and my framerate is terrible
Here's a fun exercise, run kelgar with -kpath/to/sandbox/packages assuming kelgar doesn't share any content paths, if you see robochimp anywhere (or other glitches), you've got stuff to do/fix!
I also managed to get critters to print "no such dialogue node 0" a few times.
I upset the villagers too and they tried to come after me and I could talk to them still (predictably)
anyways, for things like triggers 0, 36 and 39...
0.cfg
Code: Select all
// digging trigger
r_trigger_name "Mud"
//r_trigger_mdl "kdd/mudpile01"
r_trigger_script 21
And the renderer will in fact try to do so multiple times!
This absolutely kills framerate
The "after" should look like so
0.cfg
Code: Select all
// digging trigger
r_trigger_name "Mud"
r_trigger_mdl "kdd/mudpile01"
r_trigger_flags $TRIG_INVIS
r_trigger_script 21
I've added some stuff into the code that should alleviate most of the past issues, like merging identical items on the same spot as well as throttling updates (so you might occasionally see items hover in midair for a few seconds).
It must be a pain to maintain all those scripts and triggers in addition to the items...
Also, I think you should consolidate scripts 0-7 to match the order of sandbox's default game - they're like that for a reason you know
And lastly, AI.
Remove your "update" signals if they just make the NPC attack the player, this is handle in the "ai update" signal which is also throttled to prevent it bring too expensive. Doing it in the "update" signal is ill advised and can be pretty costly.
Also actions are merged now if the AI has a duplicate variant already, so clearing is no longer required.
Also, some other signals, like "hit," use r_script_signalappend here to play the sounds - as the other logic is handled already inside 1.cfg - the same goes for "collide"
And get rid of those interact blocks too while you're at it, they don't do anything special the default one doesn't handle or you can easily define when it calls "talk"... that includes snowflake's "grr" sound.
Also script 63 will never be triggered - since triggering the trigger disables collision with it entirely
script 30 still uses the old loot system.
This is not a url, clicking it is pointless
Re: [RPG] Kelgar [with download]
I've got a present for you.
I've modified the model loading code to print an error whenever it fails to load a model.
This should, *encourage,* you to fix those performance killing oversights.
Seriously, just taking care of triggers 0, 36 and 39 tripple my framerate, this is likely quadruple or more in a Windows context!
Speaking of which, I also noticed some containers use this "empty/invalid" model thing...
I've modified the model loading code to print an error whenever it fails to load a model.
This should, *encourage,* you to fix those performance killing oversights.
Seriously, just taking care of triggers 0, 36 and 39 tripple my framerate, this is likely quadruple or more in a Windows context!
Speaking of which, I also noticed some containers use this "empty/invalid" model thing...
This is not a url, clicking it is pointless
- kddekadenz
- Member
- Posts: 423
- Joined: July 17th, 2011, 11:02 am
- Name: kdd
- Contact:
Re: [RPG] Kelgar [with download]
Thank you! It really helped a lot
I uploaded a performance patch to IndieDB.
EDIT: I just gonna fix the other issues you mentioned.
I uploaded a performance patch to IndieDB.
EDIT: I just gonna fix the other issues you mentioned.
Kelgar is an advanced RPG beeing developed in Sandbox
Re: [RPG] Kelgar [with download]
What's up with KELGAR ?
'Team kelgar' is looking for people who like coding in CubeScript.
At the moment we are planning a next official release of Kelgar.
It is a RPG game, that was created by http://www.tinyworlds.org/ about two years ago.
Since the first release, a bunch of artists are following this idea.
The info-site http://www.indiedb.com/games/kelgar does not show the current
state and so there will be a video with all the things we have done until now.
(new main map, new buildings, new structure of the village,
exclusive animated models and lots of drawing concepts).
So, if you are bored and wants to spread out your coding talent, let us know.
Send me a message in here or via mail to info@cocma.de ...
If you can't await the next video have a look on
http://vimeo.com and search for artenario.
Otherwise just have fun !
_________________________________
Here I want to give you the direct links
to the outdated Kelgar buildings:
Store: (title in the video is wrong)
https://vimeo.com/62989284
Bakery:
https://vimeo.com/68901849
StoreAndFarmhouse:
https://vimeo.com/60332484
Store: "texture test"
https://vimeo.com/60639889
TavernOfRidaz:
https://vimeo.com/55006153
bR Torben
'Team kelgar' is looking for people who like coding in CubeScript.
At the moment we are planning a next official release of Kelgar.
It is a RPG game, that was created by http://www.tinyworlds.org/ about two years ago.
Since the first release, a bunch of artists are following this idea.
The info-site http://www.indiedb.com/games/kelgar does not show the current
state and so there will be a video with all the things we have done until now.
(new main map, new buildings, new structure of the village,
exclusive animated models and lots of drawing concepts).
So, if you are bored and wants to spread out your coding talent, let us know.
Send me a message in here or via mail to info@cocma.de ...
If you can't await the next video have a look on
http://vimeo.com and search for artenario.
Otherwise just have fun !
_________________________________
Here I want to give you the direct links
to the outdated Kelgar buildings:
Store: (title in the video is wrong)
https://vimeo.com/62989284
Bakery:
https://vimeo.com/68901849
StoreAndFarmhouse:
https://vimeo.com/60332484
Store: "texture test"
https://vimeo.com/60639889
TavernOfRidaz:
https://vimeo.com/55006153
bR Torben
[RPG] Kelgar [latest screenshots]
Questions are welcome as usual (minimalism inside):
Some older videos:
animated characters:
https://vimeo.com/92278286
animated sunlight - different length of periods in game
https://vimeo.com/103644951
storyboard in 2013:
https://vimeo.com/79556935
Have fun !
bR Torben
Some older videos:
animated characters:
https://vimeo.com/92278286
animated sunlight - different length of periods in game
https://vimeo.com/103644951
storyboard in 2013:
https://vimeo.com/79556935
Have fun !
bR Torben