"subject_to_" commands doesn't works?

Pierwolf

Active member
hi everybody,
i don't know if it's my wrong use of the commands or maybe some engine bug or else, but the various "subject_to_" commands (subject_to_wall, subject_to_platform etc...) doesn't seems to work.

i have to put them in the entity's header, am i right?

By the way, i'm using Build 4153.

thanks everybody for the support.

 
Unless I am mistaken, those are script only switches. I'm not aware of any text commands that can do that.

Example:
Code:
changeentityproperty({ent}, "subject_to_wall", {0/1});
 
ok, but in the manual they are indicate as header commands:

Entity Files - Header Data

This text is for setting characters or entity's stats and animation. Obviously it's mandatory. Due to complexity and lots of features, this part is divided into 3 parts. This part is for entity's stats, 2nd part for animation types and 3rd one for animation settings. 2nd part describes what animations entity must have or could have.
By the way, Damon V. Caskey made a very complete Character Template
Character Template listing about any available data. This should help you to get started with your characters.

I've been using this template since starting work on mods, and have updated it gradually as new features came online./
It saves me a lot of time and hassle keeping my character animations organized, and I figured it might help someone else./

Basic Stats

name {name}


..........
..........
..........


subject_to_wall {bi}

~This command determines how walls effect entity.
0 = Walls don't have any effect. Default for projectiles.
1 = Walls have effects. Default for most entities.
~This should be used by AI controlled entities.


..........
..........
..........

is possible that i've a very old version of the manual or they've been removed and made script only?
 
Pierwolf, at what entity you're setting those commands? Entities with type player, enemy and NPC can use those commands fine but ones with type none usually need extra setting to make them work
The extra setting is this:

no_adjust_base 0
 
Bloodbane, my "projectile" entities are NPC, anyway i've made the fixes you suggested, but still no effect.

maybe i've made some error in setting the walls, i'm trying to do a platform type of mod, something like castlevania or your contra mod (obviously not that complexed, you are a king with scripts  ;D ) with capcom "magic sword" chars, but the strange thing is that this happens even in my Super Final Fight mod.

anyway, thanks for the help, i will try to look in the code again to see what i've done wrong.

 
Ah I see, so you're using these commands on projectiles. I just recalled that knives also can't use these commands (don't ask me why)

If you want knives or projectiles not to pass through walls, obstacles and platforms, you can use indestructible obstacles to 'solidify' those walls and platforms. Then set those projectiles to damage obstacles
 
Back
Top Bottom