Oni Central Forum

A forum for the Oni community

You are not logged in.

#26 05/29/09 09:05

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: programming BSL

Adding objects requires more than BSL modding. smile


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#27 05/29/09 11:05

Dr.Karluzz
Member
From: Milan, Italy
Registered: 05/22/09

Re: programming BSL

Yes, I know. I wanted to say that if the object is not present, the computer creates it. more precisely, I thought teleportation some hypos in the field, if the player collects and therefore are no longer in the field at the end of the round, the computer creates another hypo


Press here >>http://www.myPlugoo.com/5PFFKSWC00BKE0D<< for chat with me

Offline

#28 05/29/09 11:05

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: programming BSL

Using obj_create?


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#29 05/29/09 12:05

Dr.Karluzz
Member
From: Milan, Italy
Registered: 05/22/09

Re: programming BSL

no,i don't search a command,but a "supposition":

if "the hypo doesn't exist in field"
{
powerup_spawn hypo
}

Press here >>http://www.myPlugoo.com/5PFFKSWC00BKE0D<< for chat with me

Offline

#30 05/29/09 12:05

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: programming BSL

That needs a flag for where to spawn it, for one. Flags are annoying. If you take a screenshot of the area I can find you the proper flag.


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#31 05/29/09 12:05

Dr.Karluzz
Member
From: Milan, Italy
Registered: 05/22/09

Re: programming BSL

yes,i know. i know my flag : are the 0055 and 0056, but the problem is this:

if "the hypo doesn't exist in field"

what is the command for that?

Last edited by Dr.Karluzz (05/29/09 13:05)


Press here >>http://www.myPlugoo.com/5PFFKSWC00BKE0D<< for chat with me

Offline

#32 05/29/09 14:05

paradox-01
Member
From: Germany
Registered: 01/14/07

Re: programming BSL

Nothing cares about whether a powerup exist or not. You just spawn (powerup_spawn) or reset (powerup_reset) them.
It's possible to create a more or less good workaround but (in my opinion) it's too much work for resetting only one.
You would need to establish a "trigger volume". It's linked to an BSL function which contains chr_wait_animtype 0 Pickup_Object. But powerups can also picked up with rolls, slides, and from crouch position...

Last edited by paradox-01 (05/29/09 15:05)

Offline

#33 05/29/09 16:05

Dr.Karluzz
Member
From: Milan, Italy
Registered: 05/22/09

Re: programming BSL

ok,can you create an example please?


Press here >>http://www.myPlugoo.com/5PFFKSWC00BKE0D<< for chat with me

Offline

#34 05/29/09 17:05

Gumby
Member
From: Seattle, WA, USA
Registered: 08/30/07

Re: programming BSL

powerup_spawn
powerup_spawn hypo 55
powerup_spawn hypo 56

is all you need.

Indeed, paradox, there isn't a good way to detect picked up stuff. smile The original training level has a bug where the last room will completely screw up if you do a slide pickup on the rifle.


Iritscen: roll
Iritscen: it's amazing this program even works
Gumby: i know
Iritscen: and that statement applies to my code, not just yours

Offline

#35 05/30/09 01:05

paradox-01
Member
From: Germany
Registered: 01/14/07

Re: programming BSL

Training mission cannot be completed. >_< Shinatama forgets to give me ammo!

Offline

Board footer

Powered by FluxBB