Development > Newbie Coding
Help needed with ufo scripts...
MCR:
Sorry again for turning your head :-[, but I am learning fast & what I understood once I will know in the future...
The problem was that...
1.) The naming scheme for heads & bodies is a little confusing...
2.) I thought the references were pointing to the textures, not to the md2 files, my fault, my error, sorry 'bout that again... :-[
3.) It was very confusing to read only the reference to the taman armor.jpg in the reference for alien armor, so I initially automatically thought that the whole definition is for Tamans only & not valid for all of the aliens, so in my opinion this should not be this way & there should be special armor definitions for the other races also...
4.) There is still a problem in team_aliens.ufo, I am sure about that, but I have to find out what it is exactly & will then prepare a patch to correct it...
Thanx for putting the 'new' phalanx-soldiers in, I like the black beauty most ;)
I wonder how they 'fell out' of the game...
MCR:
Now that I understand this stuff here (lamp!), I will prepare a patch to enhance readability in team_aliens.ufo...
Here what I found out:
--- Code: --- aliens/ortnok body01 head03 2 // Body:Scared Legs Head:One-eyed Ortnok
--- End code ---
The '2' means that body01.md2 should take the skin number 2 (body01c.jpg), which is the Ortnok body with scared legs & use head03.jpg (one-eyed) for the head... (doublelamp!)
...
I would suggest this version for the Ortnok for example:
--- Code: --- models {
neutral {
aliens/ortnok body01 head01 0 // No Armor, Body: Big open wound, Head: 2 small scars over the left eye
aliens/ortnok body01 head02 1 // No Armor, Body: Big scar, Head: Big scar over the right eye
aliens/ortnok body01 head03 2 // No Armor, Body: Scared legs, Head: One-eyed Ortnok
aliens/ortnok body01 head01 1 // No Armor, Body: Big scar, Head: 2 small scars over the left eye
aliens/ortnok body01 head02 2 // No Armor, Body: Scared legs, Head: Big scar over the right eye
aliens/ortnok body01 head03 0 // No Armor, Body: Big open wound, Head: One-eyed Ortnok
aliens/ortnok body01 head01 2 // No Armor, Body: Scared legs, Head: 2 small scars over the left eye
aliens/ortnok body01 head02 0 // No Armor, Body: Big open wound, Head: One-eyed Ortnok
aliens/ortnok body01 head03 1 // No Armor, Body: Big scar, Head: Big scar over the right eye
//==========================
// These 2 following line are not really necessary as they are the same as line 1 of the Ortnok definition, we keep them for better readability
//==========================
aliens/ortnok body01 head01 0 // Light Armor, Body: Just one version available, Head: Just one version available (others gfx are the same)
aliens/ortnok body01 head01 0 // Medium Armor, Body: Just one version available, Head: Just one version available (others gfx are the same)
}
--- End code ---
I do not give up on this, but have to admit that everything in team_aliens.ufo is correct... ;)
Nevertheless I will prepare a patch to enhance readability there...
MCR:
I really hope my assumptions are correct & I am not dreaming this ?! ::)
MCR:
I will not use the same command twice, but rather adjust the comments ;)
MCR:
Extended the wiki a little bit.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version